By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,492 Members | 1,210 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,492 IT Pros & Developers. It's quick & easy.

WebService and the ArrayList

P: n/a
I am trying to pass back an ArrayList from a WebService to a windows
application. The app barks at me saying this is an ilegal operation.
Any hints or sample code out there?

Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
JPSutor,

You should pass back an array, the web service should be able to handle
this ok. When passing back an ArrayList, the web service doesn't know what
the content of the ArrayList is (it holds objects) so it can't send back an
accurate type description through WSDL.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"JPSutor" <jp*****@yahoo.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
I am trying to pass back an ArrayList from a WebService to a windows
application. The app barks at me saying this is an ilegal operation.
Any hints or sample code out there?

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.