Building Your Event-Driven Architecture : Integration Server Built-In Services Reference : SOAP Folder : Summary of Elements in this Folder : pub.soap.utils:getBody
pub.soap.utils:getBody
WmPublic. Retrieves the body from a SOAP message as a single node object.
Input Parameters
soapData
Object SOAP object containing the message whose Body node you want to retrieve.
Output Parameters
body
com.wm.lang.xml.Node The Body node from the SOAP message (that is, <SOAP-ENV:Body> to </SOAP-ENV:Body>).
Usage Notes
This service returns the entire Body element in body. To extract data from the Body element, query body with the pub.xml:queryXMLNode service.
If you want to extract the body of the message as an array of nodes, use the pub.soap.utils:getBodyEntries service.
See Also
pub.soap.utils:getBodyEntries
pub.soap.utils:addBodyEntry
Examples
See the following in the WmSamples packages in the certified samples area of the Knowledge Center on the Empower Product Support website at https://empower.softwareag.com:
sample.soap:buildMsg_sendHTTP
sample.soap:customProc_msgQueue
sample.soap:targetSvc_defaultProc
Copyright © 2016 - 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback