I tried to send an object to my java-webservice by using cfinvoke... 

My simple example:

Building the object:

<cfobject 
  action = "create"
  type = "java"
  class = "de.mytest.ab.test.soap.attach.CfsTest"
  name = "myobj">
  
  <cfset t1 ="Hello">
  <cfset t2 ="world">
  
  <cfset ret = myObj.init(t1, t2)>

  
<cfinvoke method="concat" returnvariable="concatReturn" WebService="webtest3" >
<cfinvokeargument  name="input" value="#ret#">
</cfinvoke>
_____________________________________

All I get is...

Could not perform web service invocation "concat".  
Here is the fault returned when invoking the web service operation:

 java.lang.IllegalArgumentException: argument type mismatch
 

What's wrong?

Thanks,

Alex




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265616
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to