getSOAPResponse

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

getSOAPResponse(webservice) → returns any

getSOAPResponse Argument Reference

webservice any
Required

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

Examples sample code invoking the getSOAPResponse function

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

soapURL = "https://graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php?wsdl";
ws = CreateObject("webservice", soapURL);
zipLatLong = ws.LatLonListZipCode("10001");
res = getSOAPResponse(ws);
writeDump(res);

Fork me on GitHub