WmPublic. Retrieves the header from a SOAP message as a single node object.
Input Parameters
soapData
Object SOAP object containing the message whose Header node you want to retrieve.
Output Parameters
header
com.wm.lang.xml.Node Header node from the SOAP message (that is, <SOAP-ENV:Header> to </SOAP-ENV:Header>).
Usage Notes
This service returns the entire Header element in header. To extract data from the Header element, query header with the
pub.xml:queryXMLNode service. If you want to extract the contents of the header as an array of nodes, use the
pub.soap.utils:getHeaderEntries service.