Hybrid Integration 10.1 | Integrating On-Premises Applications | Integration Server Built-In Services | SOAP 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 © 2015- 2017 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.