- TIBCO BusinessEvents®
- Standard
- SOAP

# 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

Name | Type | Description
--- | --- | ---
`soapEvent` | `SimpleEvent` | The request SOAP event
`actor` | `String` | The actor attribute. Use null to get all headers
`removeHeaders` | `boolean` | from the SOAP headers. Setting this parameter value to true will remove the header.

## Returns

Type | Description
--- | ---
`String[]` |