HighTechTalks DotNet Forums  

passing datasets?

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


Discuss passing datasets? in the ASP.net Web Services forum.



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

Default passing datasets? - 06-17-2006 , 08:55 AM






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.


Reply With Quote
  #2  
Old   
Vijay Pandey
 
Posts: n/a

Default RE: passing datasets? - 06-22-2006 , 03:40 AM






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.


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 - 2013, Jelsoft Enterprises Ltd.