Designer 10.7 | webMethods Service Development Help | Submitting and Receiving XML Documents
 
Submitting and Receiving XML Documents
 
Submitting and Receiving XML in a String Variable
Submitting and Receiving XML in $xmldata
Submitting and Receiving XML via HTTP
Submitting and Receiving XML via FTP
Submitting and Receiving XML via E-mail
You can create a client that submits an XML document to a target service, which then receives the XML document.
The following table describes the methods a client can use to submit an XML document and how Integration Server passes the XML document to the target service based on the method.
Method
Integration Server Action
Submit the XML document in an arbitrarily named String variable
Integration Server passes the document as an XML String to the target service. It is the responsibility of the target service to parse the XML so that it is in a format that can be manipulated.
Submit the XML document in a special String variable named $xmldata
Integration Server automatically parses the XML and passes it as a node to the target service.
Note:
For information about submitting the XML document in the $xmldata variable, but bypass the automatic parsing, see Submitting and Receiving XML via $xmldata without Parsing.
Post the XML document via HTTP
Integration Server either automatically parses the XML and passes it as a node to the target service or passes the XML document directly to the target service as an XML stream or byte array.
FTP the XML document
Integration Server automatically parses the XML and passes it as a node to the target service.
Send the XML document as an email attachment
Integration Server automatically parses the XML and passes it as a node to the target service.