Groups | Blog | Home
all groups > dotnet xml > may 2004 >

dotnet xml : Export data in XML through Web Services


Massimo Rizzotto
5/24/2004 7:06:57 PM
I have a WebMethod that retrive data from a DB and I want to return this
data in a XML format.
I try to do with the TextWriter class but I wasn't able to do, because I
didn't found any example thet explain how to use the Stream attribute.
Can I use the TextWriter or I have to use the XmlDocument class?
Thanks in advance

--------------------------------------------
Massimo Rizzotto
--------------------------------------------

Dino Chiesa [Microsoft]
5/26/2004 1:28:43 AM
can you show us the code now, and
show us what you are getting on the wire
and show us what you would like to get on the wire?

This article
http://www.15seconds.com/issue/031223.htm

introduces the DataSet (maybe you do not need the introduction), and also
illustrates how to expose a DataSet from a WebMethod.

-Dino


[quoted text, click to view]

Daniel Cazzulino [MVP XML]
5/31/2004 2:30:06 PM



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.690 / Virus Database: 451 - Release Date: 23/05/2004

AddThis Social Bookmark Button