Trading Networks 10.7 | Administering and Monitoring B2B Transactions | webMethods Module for EDI | Creating Clients that Send EDI Documents to Integration Server | Sending EDI Documents to Integration Server via HTTP | Logic to Include in the HTTP Client
 
Logic to Include in the HTTP Client
 
Example of Input Parameters for the pub.client:http Service
When using HTTP, the client must include logic to:
*Submit a POST request to Integration Server.
*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).
*Set the content type to application/EDIstream in the HTTP request header.
*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.