Hi Brad,

I'm running CF8 on Windows 2003 and yes it is a CFC. I can return
structures, arrays, queries and single values, but I can't return the
object itself. I can access the object from within the method and use
it to populate the structures and values, but if I try to just return
the object, it throws the error.

Is there any additional attributes that I need to set to serialize the
CFC in CF8?

Thanks,

Dean

On 10/24/07, Brad Wood <[EMAIL PROTECTED]> wrote:
> What version of CF?
> Does the object happen to be a CFC?
>
> CFC's are not serializable in CF < 8.
>
> Try returning a struct of values if can.
>
> ~Brad
>
> -----Original Message-----
> From: Dean Lawrence [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 24, 2007 4:30 PM
> To: CF-Talk
> Subject: Returning and object from a Web Service
>
> When calling a web service that I created (which is being used as a
> gateway), if I try to return an object I get an error that states
> "org.xml.sax.SAXException: No deserializer for" and then my object
> name. If I get the object and then return individual values from that
> object, it works fine. But if I try to return the whole object, I get
> the error.
>
> From Googling, I believe that I somehow have to some additional
> reference to the location of the object definition but I don't know
> where that would be. In the wsdl file? If this is the case, where in
> the file does it go? Can anyone point me in the right direction?
>
> Thanks,
>
> Dean
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

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