Whatever message this page gives is out now! Go check it out!
GetSOAPRequest(webservice) |
Parameter | Description |
webservice | Optional. A webservice object as returned from the cfobject tag or the CreateObject function.Required if the function is called from the client. |
<!--- Note that you might need to modify the URL in the CreateObject function
to match your server and the location of the headerservice . cfc file if it is
different than shown here.
Note, too, that getSOAPRequest is called from the client here, whereas often it
would be called from within the web service CFC. --->
<cfscript>
ws = CreateObject("webservice",
"http://localhost/soapheaders/headerservice.cfc?WSDL");
ws.echo_me("hello world");
req = getSOAPRequest(ws);
</cfscript>
<cfdump var="#req#">