Yes..in your example. You are trying to pass a complex CF object to .NET
which will not work..ever.  There are some wrappers you can use to
potentially translate a query into an .NET Dataset but you wont be able to
pass a CFC to .NET.






-----Original Message-----
From: Ken Sykora [mailto:[EMAIL PROTECTED] 
Sent: 30 May 2007 15:54
To: CF-Talk
Subject: Re: Calling ColdFusion Web Service from .NET

Thank you for your responses... that is what I feared had to be the case to
communicate with .NET. Is this experience any different with CF8? I'm not
talking about direct invocation using assemblies, rather communicating via
web services.

Thanks,

--Ken

On 5/30/07, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]>
wrote:
>
> 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 robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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