Integration Server 10.5 | Built-In Services Reference Guide | 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