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, name [, asXML]) → returns any

Argument Reference

namespace string
Required

A String that is the namespace for the header

name string
Required

A String that is the name of the header

asXML boolean
Default: false

If True, the header is returned as a CFML XML object;
if false (default), the header is returned as a Java object.

Examples
Sample code invoking the getSOAPRequestHeader function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub