Integration Server 10.5 | Built-In Services Reference Guide | SOAP Folder | Summary of Elements in this Folder | pub.soap.utils:getHeader
 
pub.soap.utils:getHeader
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.
See Also
pub.soap.utils:getHeaderEntries
pub.soap.utils:getBody
pub.soap.utils:getBodyEntries
pub.soap.utils:getTrailers
pub.soap.utils:addHeaderEntry