Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Return an XML File

Is there a way to return an XML file through a web service using asp.net?
I have an XML file that is created on the server based on what the client
is requesting. Now I would like to take that file and return it as a string.
I do not build the XML file that gets saved to the server I use the WriteXML
method of the dataset to perform this task.

Thanks in advance.
[389 byte] By [Brian] at [2007-11-9 19:48:17]
# 1 Re: Return an XML File
"Brian" <bem@fuse.net> wrote:
>
>Is there a way to return an XML file through a web service using asp.net?
>I have an XML file that is created on the server based on what the client
>is requesting. Now I would like to take that file and return it as a string.
>I do not build the XML file that gets saved to the server I use the WriteXML
>method of the dataset to perform this task.
>
>Thanks in advance.
Ajit at 2007-11-11 21:59:51 >