# AddSOAPRequestHeader()

Adds a SOAP header to a web service request before making the request.

```
AddSOAPRequestHeader( webservice=object, namespace=string, name=string, value=object, mustUnderstand=boolean );
```

**Returns:** boolean

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| webservice | object | Yes | A web service object as returned from the cfobject tag or the CreateObject function. |  |
| namespace | string | Yes | A String that is the namespace for the header. |  |
| name | string | Yes | A String that is the name of the header |  |
| value | object | Yes | the value for the SOAP header; this can be a CFML XML value. |  |
| mustUnderstand | boolean | No | Sets the SOAP mustunderstand value for this header. |  |

# Examples

*There are currently no examples for this function.*







# Categories

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