Funny I could point you to the same article interpreting it as why to return a dataset.
Here the consumer is .NET. Even if that wasn't .NET still gets a well constructed XML. Anyway at least I'm not an XML expert and wouldn't try to construct my own XML.
Cetin
>Here is good article on why not to return DataSet from a webmethod.
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/html/service02112003.asp>
>
>>Bonnie,
>>What's the difference? Passing a dataset you're already passing an XML,no?
>>Cetin
>>
>>>Stephen,
>>>
>>>I don't recommend passing a DataSet to or from a WebService. Use an XML string instead. It's easy enough to serialize/deserialize a DataSet to/from XML.
>>>
>>>~~Bonnie
>>>
>>>