Returns an XML object that contains the entire SOAP response after invoking a web service.

getSOAPResponse(webservice) → returns any

Argument Reference

webservice any

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

Sample code invoking the getSOAPResponse function

Create a SOAP webservice to call, then we can use getSOAPResponse() to view the full response

soapURL = "";
ws = createObject("webservice", soapURL);
zipLatLong = ws.LatLonListZipCode("10001");
res = getSOAPResponse(ws);

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

Fork me on GitHub