Finally got a soap web service to consume....

I've got a reasonable grasp of doing that using <cfinvoke><cfinvokearguement>, but would like to be doing this with CFSCRIPT instead.

So I have cfinvoke version:
<cfinvoke webservice="#wsURL#" method="Login" returnvariable="response">
        <cfinvokeargument name="userName" value="myname">
        <cfinvokeargument name="password" value="mypassword">
</cfinvoke>

and cfscript version :

MyWS = CreateObject("WebService",wsURL);
WSResponse = MyWS.Login();

But Login requires two arguments passing to it, how do I do that in cfscript? Probably being a just being a divvy...

The other question is : I've heard mention of a "cfdump" for objects returned by soap/webservices. Anyone know where I can find it?

Regards

Stephen

--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



Reply via email to