HighTechTalks DotNet Forums  

Re: WebMethod signature which takes SortedList as parameter??

ASP.net Web Services microsoft.public.dotnet.framework.aspnet.webservices


Discuss Re: WebMethod signature which takes SortedList as parameter?? in the ASP.net Web Services forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Brock Allen
 
Posts: n/a

Default Re: WebMethod signature which takes SortedList as parameter?? - 04-12-2005 , 06:02 PM






SortedList is a .NET class and shouldn't be used as a parameter to a Webmethod.
I just posted earlier today discussing why things like this aren't by design
in Web Services. Here's the link:

http://groups-beta.google.com/group/...e6b9f3c05f75c8

So, in short, you need to design around XML and XML Schema and then figure
out how to represent it in your .NET code.

-Brock
DevelopMentor
http://staff.develop.com/ballen



Quote:
It seems like, it is not allowed to specify a parameter of type
SortedList in
WebMethod signature, Is is true?
What other option(s) do we have to pass in a named-value piar to a web
method?
i am using vb.net for creating web service.




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.