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:getActor
 
pub.soap.utils:getActor
WmPublic. Retrieves the value of the actor attribute (for SOAP 1.1) or the role attribute (for SOAP 1.2) from a given header entry.
Input Parameters
headerEntry
com.wm.lang.xml.Node The header entry whose actor value you want to retrieve.
*If you use pub.soap.utils:getHeaderEntries to retrieve header entries, you can loop over the list of header nodes to retrieve the actor value from each entry.
*If you use pub.soap.utils:getHeader to retrieve header entries, you must query the node returned by that service (using the pub.xml:queryXMLNode service) to extract a node for an individual header entry. Then you can run getActor on the resulting node.
Output Parameters
actor
String Value of the header entry's actor attribute (for SOAP 1.1) or the role attribute (for SOAP 1.2). If the header entry does not have an actor attribute, actor will be null.
See Also
pub.soap.utils:addHeaderEntry
pub.soap.utils:getMustUnderstand
pub.soap.utils:getHeader
pub.soap.utils:getHeaderEntries