Logic to Include in the HTTP Client
When using HTTP, the client must include logic to:
![*](chapterTOC_bullet.png)
Submit a POST request to
Integration Server.
![*](chapterTOC_bullet.png)
Address the request to the URL of the service that is to process the EDI document, for example,
http://rubicon:5555/invoke/myEDIServices.v1/processEDIDoc).
![*](chapterTOC_bullet.png)
Set the content type to
application/EDIstream in the HTTP request header.
![*](chapterTOC_bullet.png)
Put the EDI document to be processed in the body of the message. The document must be the only text that appears in the body of the request.
Important:
Do not include manual line breaks at the end of the EDI document like you might do with an XML document.