> so you're basically saying the WSDL has to be generated 
> specifically for CF?

No, just that web services aren't as interoperable as they should be.

> forget this.  i think we found the actual issue being with 
> abstract types.  the argument name is shape and the type is 
> box.  how do i solve this?
> 
> http://www.msu.edu/~dwormans/test_wsdl.wsdl
> 
> <cfscript>
>       test = structnew();
>       test.height = "1";
>       test.length = "2";
>       test.width = "3";
>       test.volume = "4";
>       test.area = "5";
>       test.sides="6";
> </cfscript>
> 
> <cfdump var="#test#">
> 
> <cfinvoke
>   webservice="http://www.msu.edu/~dwormans/test_wsdl.wsdl";
>   method="EchoShape"
>   returnvariable="aTemp">
>   
>   <cfinvokeargument name="shape" value="#test#"/>
>   
>  </cfinvoke>
>  
>  <cfdump var="#aTemp#">

Instead of passing a struct to the web service, create a CFC to represent
Box. Define all of the attributes of Box using CFPROPERTY. Then, create a
Box instance and pass it to the web service.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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

Reply via email to