getSOAPResponseHeader

Returns a SOAP response header. Call this function
from within code that is invoking a web service after
making a web service request.

getSOAPResponseHeader(webservice, namespace, name [, asXML]) → returns any

Argument Reference

webservice any
Required

A webservice object as returned from the cfobject tag
or the Createobject function.

namespace string
Required

A String that is the namespace for the header.

name string
Required

A String that is the name of the SOAP header.

asXML boolean

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

Examples
Sample code invoking the getSOAPResponseHeader function


Fork me on GitHub