Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Service Development | Submitting and Receiving XML Documents | Submitting and Receiving XML via HTTP
 
Submitting and Receiving XML via HTTP
 
Creating a Client that Submits an XML Document via HTTP
Using pub.client:http to Submit an XML Document via HTTP
About the xmlFormat Value
Submitting and Receiving XML via $xmldata without Parsing
A client can post an XML document to a target service that receives the XML document via HTTP.
When Integration Server receives an HTTP request and the Content-Type field in the request header is text/xml or application/xml, Integration Server performs one of the following actions:
*Automatically parses the XML and passes it as a node to the target service.
*Passes the XML document directly to the target service as an XML stream or byte array.
The action that Integration Server takes depends on the xmlFormat value. By default, Integration Server obtains the xmlFormat value from the Default xmlFormat property for the target service. If no value is specified for the property, Integration Server obtains the value from the watt.server.http.xmlFormat server configuration parameter. However, the client can override the assigned property by supplying the xmlFormat argument in the URL it uses to invoke the target service. For more information about supplying the xmlFormat value in the request URL, see About the xmlFormat Value.