Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Integration Server Built-In Services | SOAP Folder | Summary of Elements in this Folder | pub.soap.utils:getHeaderEntries
 
pub.soap.utils:getHeaderEntries
WmPublic. Retrieves the header entries from a SOAP message as an array of node objects.
This service is useful when you want to build a process that loops through all the header entries in a message and identify entries with specific QNames (using the pub.soap.utils:getQName service) or actor attributes (using the pub.soap.utils:getActor service).
Input Parameters
soapData
Object SOAP object containing the message whose header entries you want to retrieve.
Output Parameters
headerEntries
com.wm.lang.xml.Node[ ] Header entries from the SOAP message. Each node in the array represents a header entry from the message.
Usage Notes
This service returns each header entry as a separate node. You can loop over headerEntries and extract data from each node with the pub.xml:queryXMLNode service or get the entry's QName and/or actor value using the pub.soap.utils:getQName and pub.soap.utils:getActor services.
If you want to extract the message header as a single node, use the pub.soap.utils:getHeader service.
See Also
pub.soap.utils:getHeader
pub.soap.utils:getBody
pub.soap.utils:getBodyEntries
pub.soap.utils:getDocument
pub.soap.utils:addHeaderEntry
pub.soap.utils:getActor
pub.soap.utils:getQName