Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web Service Design Question
Message
From
12/03/2008 14:00:47
 
General information
Forum:
ASP.NET
Category:
Web Services
Miscellaneous
Thread ID:
01299582
Message ID:
01301414
Views:
14
>>Seriously, all our web service methods have a "ref string Message" parameter that will contain any error messages that the server-side stuff may have encountered.
>
>That was the reason I thought of returning an object. An object would contain any amount of data. But I can
>see how it would be cumbersome to return an object.


There are other issues with returning objects ... they may not be recognized by other platforms that may use the Web Service. A few of our customers access some web services from other platforms and we wanted to be sure to maintain platform independence. That's why we return data as a string that's simply the XML representation of the data (MyDataSet.GetXml(), as I already mentioned).

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform