Yep, pass only string representations of your objects return values and you
will be fine...



"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Brad Wood
To: CF-Talk
Sent: Wed May 30 00:17:35 2007
Subject: Re: Calling ColdFusion Web Service from .NET

I think this goes back to the problem of CFC's not being able to be
serialized and or passed around to web services on remote servers.  You are
passing an instance of a CFC into your web service which is a complex object
and the C# code has somehow serialized it, but the CF web service doesn't
know how to reconstitute it.  You might have to rethink the inputs to your
C# code to pass in simple data types or at least serializable ones.  I don't
know what the equivalent to a struct would be in C#, but it might be a good
start.  
Probably not what you wanted to hear, but just my guess anyway.

~Brad

-----Original Message-----
From: Ken Sykora [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 29, 2007 6:13 PM
To: CF-Talk
Subject: Calling ColdFusion Web Service from .NET

Hello Everyone.

When I run the .NET Program, I get an exception on the invocation line [s =
service.returnShape(s);]:

"org.xml.sax.SAXException: Deserializing parameter 's':  could not find
> deserializer for type { http://tempuri.org/}Shape";
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279552
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