Re: return a paired lists or arraylist from a webservice
- From: "Deepak Shenoy" <noname@xxxxxxxxxxx>
- Date: Thu, 11 May 2006 23:36:43 -0700
Eveready wrote:
I have a webservice that needs to return a paired list, such as
created by an arraylist. The problem appears to be in serlizing the
xml. Any help on how to return a paired list or arraylist would be
gratly appreciated.
You can see a returned ArrayList on a client application as an object
array. This means there isn't really a problem with the XML - it just
comes through as an array of object.
If you put this object array (object[]) into an ArrayList by running
through it with a ForEach loop you will then have an ArrayList at the
client.
(Not as clean as having an ArrayList pass through of course, but this
is one option)
--
Deepak Shenoy
http://shenoyatwork.blogspot.com
.
- Prev by Date: Re: return a paired lists or arraylist from a webservice
- Next by Date: .Net 2.0 combines datasets when webservice returns more than 1 dataset?
- Previous by thread: Re: return a paired lists or arraylist from a webservice
- Next by thread: Re: return a paired lists or arraylist from a webservice
- Index(es):
Relevant Pages
|