SOAP.getHeaders()

Signature

String[] getHeaders(SimpleEvent soapEvent, String actor, boolean removeHeaders)

Domain

ACTION, CONDITION, BUI

Description

Gets a list of headers inside the <Header> element of a SOAP message.

The actor value of null means all immediate children of the SOAP header are retrieved.

A non-null actor means only those headers having SOAP actor attribute same as this actor are retrieved.

Parameters

NameTypeDescription
soapEventSimpleEventThe request SOAP event
actorStringThe actor attribute. Use null to get all headers
removeHeadersbooleanfrom the SOAP headers. Setting this parameter value to true will remove the header.

Returns

TypeDescription
String[]