Returns a SOAP response header. Call this function
from within code that is invoking a web service after
making a web service request.
Lucee Function Reference
Function GETSOAPRESPONSEHEADER
Example
getsoapresponseheader(any webservice,string namespace,string name,[boolean asXML]):any
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
webservice | any | Yes | A webservice 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 SOAP 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. |