One explanation I can think of is that the DataSet is unique to .NET.
What if the user of your web service is not a .NET program?
If you want your web service to be easily used by non .NET users, then
you should avoid returning .NET specific objects. They could write
code to parse the XML representaiton of the DataSet, but simpler
return types might be more appropriate.
RichardF
>I'm relatively new to web services and I was wondering why, when authors
>create a web service that queries a database, that they don't just
[quoted text clipped - 15 lines]
>
>Thank you in advance,
Fao, Sean - 26 May 2005 01:20 GMT
>>I'm relatively new to web services and I was wondering why, when authors
>>create a web service that queries a database, that they don't just
[quoted text clipped - 13 lines]
>>
>>Is this just per convention or is there another explanation?
> One explanation I can think of is that the DataSet is unique to .NET.
>
[quoted text clipped - 4 lines]
> code to parse the XML representation of the DataSet, but simpler
> return types might be more appropriate.
Doesn't the WSDL describe the data type? I thought that was one of the
ideas behind SOAP. That way, you can create your own data types and
everybody knows what they are.

Signature
Sean
Fao, Sean - 26 May 2005 01:56 GMT
Nevermind, a friend of mine just sent me this link.
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thre
ad/bf9caf3ce6d3916b/853d3ca687b0efcc?q=dataset+webmethod+return&rnum=1#853d3ca68
7b0efcc
Thanks again,

Signature
Sean