On May 12, 2004, at 2:12 AM, Craig Dudley wrote:
Gives me this..

What you're looking for is the stub for the operation so you can see the method signature - not the code that sets up the operations. Once you know the Java signature, you stand a better chance of figuring out what the equivalent CFML might be.


Here's what we see:

public void getNumberOfEntries(java.lang.String bstrInAccount, java.lang.String bstrInPassword, javax.xml.rpc.holders.IntHolder _return, javax.xml.rpc.holders.IntHolder longOutCount, javax.xml.rpc.holders.StringHolder bstrOutErrorMessage) throws java.rmi.RemoteException;

The out parameters work by passing the name of the variable you want updated:

<cfinvoke
webservice="http://www.streetmap.co.uk/smsl/smsl.dll? Handler=GenSMSLWSDL"
method="getNumberOfEntries">
<cfinvokeargument name="bstrInAccount" value="Test"/>
<cfinvokeargument name="bstrInPassword" value="Test"/>
<cfinvokeargument name="_return" value="a"/>
<cfinvokeargument name="longOutCount" value="b"/>
<cfinvokeargument name="bstrOutErrorMessage" value="c"/>
</cfinvoke>
<cfdump label="a" var="#a#" />
<cfdump label="b" var="#b#" />
<cfdump label="c" var="#c#" />


_return points to a - so a gets that out value, longOutCount points to b - so b gets that out value etc.

Regards,
Sean

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to