Hi Qasim, My object does have the cfproperties set for each of its elements. I've been doing some additional testing, stripping away anything extra that is not needed and I was actually able to return the object by itself. I am using a base object to manage my results and for some reason is causing the issue. I'll need to research a little deeper to find out why.
Thanks to you, Brad, and d c for your suggestions. Dean On 10/26/07, Qasim Rasheed <[EMAIL PROTECTED]> wrote: > Dean, > > A shot in the dark, but do you have <cfproperty ..> defined for the > attributes of your User object that you are trying to return? > > Thanks > > Qasim > > On 10/26/07, Dean Lawrence <[EMAIL PROTECTED]> wrote: > > > > > > > > What type of CFC object are you trying to return... More the case is it > > in the same directory as the webservice? Or does it use a mapping? > > > > > > If a mapping, try using a CFC that is in the same directory as the web > > service. > > > > > > > It is a simple User object that I created (usrname, password, etc.). > > It is located in a subdirectory below the web service itself. I can > > call it and use it within the webservice method call, but if I try to > > return it directly or as an element of an array (i.e. <cfreturn User > > />), I get the error message that I originally posted. Instead I need > > to break it apart and either need to return individual element values, > > place each value into a structure, or return a query instead. > > > > Dean > > -- __________________________________________ Dean Lawrence, CIO/Partner Internet Data Technology 888.GET.IDT1 ext. 701 * fax: 888.438.4381 http://www.idatatech.com/ Corporate Internet Development and Marketing Specialists ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292176 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

