Trading Networks 10.3 | 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 | Example of Input Parameters for the pub.client:http Service
 
Example of Input Parameters for the pub.client:http Service
The following example describes the values that you would set when using the webMethods pub.client:http service to POST an EDI document to a service with the fully-qualified name myEDIServices.v1:processEDIDoc. For a complete description of this service, see the webMethods Integration Server Built-In Services Reference for your release.
Set this parameter...
Of data type...
To...
url
String
The URL of the service that you want to invoke to process the EDI document.
Example: http://rubicon:5555/invoke/myEDIServices.v1/processEDIDoc
In this example, the processEDIDoc service located in the myEDIServices.v1 folder on the "rubicon" server with port number "5555" would be invoked.
method
String
post
loadAs
String
The data type of the input data source. Specify one of the following:
*bytes. The document data source is a byte[].
*stream. The document data source is an InputStream.
data/string
String
The EDI document that you want to post.
headers
Document
An IData object that contains the following:
Parameter
Value
Name
Content-type
Value
The content type for the document, for example, application/EDIstream
Also, the client can set any optional HTTP variables, such as authorization information, that are required by your application.