MACROMEDIA COLFUSION MX 7-CFML Reference page 635

Cfml reference
Hide thumbs Also See for COLFUSION MX 7-CFML:
Table of Contents

Advertisement

GetSOAPResponseHeader
Description
Returns a SOAP response header. Call this function from within code that is invoking a web
service after making a web service request.
Returns
A SOAP response header.
Category
XML functions
History
ColdFusion MX 7: Added this function.
Function syntax
GetSOAPResponseHeader(webservice, namespace, name [, asXML])
See also
AddSOAPRequestHeader
GetSOAPRequestHeader
Chapter 36, "Using Web Services," in ColdFusion MX Developer's Guide
Parameters
Parameter
webservice
namespace
name
asXML
Usage
If you specify false for the
the data type specified in the header's
available, ColdFusion attempts to retrieve the header as a string. If you specify True for the
parameter, ColdFusion retrieves the header as raw XML.
Used within CFML code by a consumer of a web service after it calls the web service with
.
cfinvoke
Example
There are two parts to this example. The first part is the web service CFC that this function (as
well as the other ColdFusion SOAP functions) uses to demonstrate its interaction with a web
service. To implement the web service for this function, see the example for either the
AddSOAPResponseHeader
,
AddSOAPResponseHeader
,
GetSOAPResponse
Description
A webservice object as returned from the
function.
A String that is the namespace for the header.
A String that is the name of the SOAP header.
If True, the header is returned as a CFML XML object. If False (default), the header
is returned as a Java object.
parameter, ColdFusion first attempts to retrieve the header using
asXML
xsi:type
function or the
,
GetSOAPRequest
,
; "Basic web service concepts" in
IsSOAPRequest
cfobject
attribute. If the
GetSOAPRequestHeader
,
tag or the
CreateObject
attribute is not
xsi:type
function.
GetSOAPResponseHeader
asXML
635

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colfusion mx 7 - installing and using coldfusion mx

Table of Contents