Cloud Application Integration (On-Premises) : Integration Server Built-In Services : SOAP 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
Examples
See the following in the WmSamples package in the certified samples area of the Knowledge Center on the Empower Product Support website at https://empower.softwareag.com:
sample.soap:customProc_msgQueue
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback