Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Service Development Help | Submitting and Receiving XML Documents | Submitting and Receiving XML in $xmldata
 
Submitting and Receiving XML in $xmldata
 
Sample Client Code to Submit an XML Document in $xmldata
Considerations When Coding the Target Service to Receive the XML Document that is Passed in $xmldata
A client can submit an XML document to Integration Server by passing the entire XML document to a target service in a String variable named $xmldata.
Submitting an XML document to Integration Server using the $xmldata variable is similar to submitting it in an arbitrarily named String variable. However, the $xmldata variable has special meaning to Integration Server. When Integration Server receives the $xmldata variable, the server assumes the variable contains an XML document and automatically parses the XML and passes it to the target service as a node.
Note:
To use the $xmldata variable to submit an XML document, but bypass automatic parsing so that Integration Server sends the body of the request directly to the target service as a stream or byte array, your client must use HTTP to invoke the target service. For more information, see Submitting and Receiving XML via $xmldata without Parsing.