Ask a Question related to ASP.NET Web Services, Design and Development.
-
Chad Z. Hower aka Kudzu #1
Re: Problems returning an array in an object - Web Service
Ole Mugaas via .NET 247 <anonymous@dotnet247.com> wrote in
news:OvAvlsUWFHA.2796@TK2MSFTNGP09.phx.gbl:Objects cant be returned over a soap connection unless they can be passed by> I am setting up a web service using VB.NET and one of the methods will
> return an order-object to the user. My problem is that the object will
> contain an array/arraylist of products and it gives me an error message
> saying that I must "implement a default accessor on System.array". Seems
> like there are some problems returning an object that consists of an
> array and I wondered if anyone had seen this before and maybe found a
> solution to the problem...
>
> Also: is it better to use arraylist over array?
value. You cant just magically transport any object and reassemble it on the
other side.
--
Chad Z. Hower (a.k.a. Kudzu) - [url]http://www.hower.org/Kudzu/[/url]
"Programming is an art form that fights back"
Blog: [url]http://blogs.atozed.com/kudzu[/url]
Chad Z. Hower aka Kudzu Guest
-
#38536 [Asn->Csd]: Returning an array of values instead of an object
ID: 38536 Updated by: dmitry@php.net Reported By: sabrina at corp dot grupos dot com dot br -Status: Assigned... -
#38536 [Com]: Returning an array of values instead of an object
ID: 38536 Comment by: marcus at corp dot grupos dot com dot br Reported By: sabrina at corp dot grupos dot com dot br... -
#38536 [Opn->Asn]: Returning an array of values instead of an object
ID: 38536 Updated by: dmitry@php.net Reported By: sabrina at corp dot grupos dot com dot br -Status: Open... -
#38536 [NoF->Opn]: Returning an array of values instead of an object
ID: 38536 User updated by: sabrina at corp dot grupos dot com dot br Reported By: sabrina at corp dot grupos dot com dot br... -
Returning my object(s) from web service
Hi there I am trying to return an instance of a class from a web service that contains a collection of instances of another class. I have three...



Reply With Quote

