Cloud Application Integration (On-Premises) : Integration Server Built-In Services : SOAP Folder : pub.soap.utils:addBodyEntry
pub.soap.utils:addBodyEntry
WmPublic. Inserts an entry into the body element of a SOAP message.
Input Parameters
soapData
Object SOAP object to which you want the body entry added.
bodyEntry
com.wm.lang.xml.Node XML node containing the body entry that you want to add to soapData.
Note:  
An XML node is a parsable representation of a node in an XML document. You generate an XML node using services such as pub.xml:xmlStringToXMLNode.
Important:  
This service adds a single body entry to a SOAP object. If you need to add more than one entry, execute pub.soap.utils:addBodyEntry once for each entry.
Important:  
In webMethods Integration Server versions 6.0.1 and later, this service expects the node in bodyEntry to be namespace qualified. If the node is not qualified, the service throws an exception. If you created solutions based on the earlier behavior of this service (which permitted non-qualified entries), you can disable namespace enforcement by setting the server's watt.server.SOAP.EnforceMsgPartNS parameter to false.
Output Parameters
soapData
Object SOAP object to which the body entry was added.
Usage Notes
A SOAP object is an object that represents a SOAP message.
If you are composing a new SOAP message, you must first create an empty SOAP object (called soapData) with the createSoapData service and then add your header entries to with pub.soap.utils:addHeaderEntry.
If you are composing a SOAP response, you use pub.soap.utils:addBodyEntry to populate the soapResponseData object that the SOAP message handler generates and puts in the pipeline.
See Also
pub.soap.utils:createSoapData
pub.soap.utils:addBodyEntry
pub.soap.utils:addHeaderEntry
pub.soap.utils:addTrailer
pub.soap.utils:getBody
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_msgQuwue
sample.soap:targetSvc_defaultProc
Copyright © 2015- 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback