# GetSOAPRequestHeader()

Obtains a SOAP request header.

Call only from within a CFC web service function that is processing a request as a SOAP web service.

```
GetSOAPRequestHeader( namespace=string, name=string, asXML=boolean );
```

**Returns:** any

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| namespace | string | Yes | A String that is the namespace for the header. |  |
| name | string | Yes | A String that is the name of the header |  |
| asXML | boolean | No | If True, the header is returned as a XML object; if false (default), the header is returned as a Java object. |  |

# Examples

*There are currently no examples for this function.*







# Categories

[Web services](../../categories/webservice.md)