What happens when you change the ClientID type to "String" instead of 
"Numeric"?

At 04:43 PM 2/6/2003 -0500, you wrote:
>Anyone ever run into this.
>
>We're testing out some web services written in ColdFusion... and for some
>reason, when invoking the component as a service from a test page on the
>same server we get a "java.lang.IllegalArgumentException: argument type
>mismatch" error. We've successfully been able to call the service from 3
>other cold fusion servers. Here is the method signature:
>
><cffunction
>         name="listCategories"
>         output="no"
>         access="Remote"
>         returnType="string"
> >
>
>         <!--- argument list --->
>         <cfargument name="clientID" type="numeric" required="yes">
>         <cfargument name="clientPassword" type="string" required="yes">
>...
>
>And here is the invoking code:
>
><cfinvoke
>         webservice="http://.../category.cfc?WSDL";
>         method="listCategories"
>         returnvariable="rtXML">
>                 <cfinvokeargument name="clientID" value="1"/>
>                 <cfinvokeargument name="clientPassword" value="password"/>
>
></cfinvoke>
>
>BTW, we are able to call the method successfully as a regular component from
>the same machine.
>
>Strange?
>
>Thanks,
>
>Phillip
>
>....................................
>Phillip Cave
>ColdFusion Developer
>Carol/Trevelyan Strategy Group
>202.448.5212
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to