Service Development Help : Submitting and Receiving XML Documents : Submitting and Receiving XML via HTTP : Creating a Client that Submits an XML Document via HTTP
Creating a Client that Submits an XML Document via HTTP
To submit an XML document to Integration Server via HTTP, create a client that sends the XML document as a byte array to Integration Server using the HTTP POST or HTTP PUT methods. When constructing the HTTP request, the client needs to:
*Address the request to the URL of the target service. For example, if the purch:postOrder service is to receive the XML document, the client might use the following URL:
http://rubicon:5555/invoke/purch/postOrder
*Set the Content-Type header field in the HTTP request header to text/xml.
Because most browsers do not allow you to modify the Content-Type header field, they are not suitable clients for this type of submission. Clients that you might use to submit an XML document in this manner are PERL scripts, which allow you to build and issue HTTP requests, or the Integration Server pub.client:http service.
*Place the XML document in the body of the HTTP request. Place an extra carriage return/new line (\r\n) at the end of it to indicate the end of the XML document.
Important:  
The XML document must be the only text in the body of the request. Do not assign the XML document to a name=value pair.
Using pub.client:http to Submit an XML Document via HTTP
About the xmlFormat Value
Copyright © 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback