Instead of dataset use xmldocument. If you are sure that client of webservice
would be only .net clients, then u can use dataset. If you want your service
to work with platforms like java use xmldocument.
"HockeyFan" wrote:
Quote:
What's the best way of passing data from a database in a webservice from
where the serice is consumed? Do I pass it in XML and if so, what object,
exactly, do I use? Or is it better to just pass it as a dataset?
I know that behind the scenes, it's being serialized and passed as xml, so
it seems odd to be passing the data inside an xml structure, that is going to
be serialzed and put inside more xml.
I'm new to webservices though, and so I'm wondering what the best approach is. |