470,849 Members | 1,132 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,849 developers. It's quick & easy.

Can I pass an XML document through Web Services?

Hi all,
Can I pass an XML document through Web Services instead of a simple string?

afshar
Feb 18 '06 #1
1 1049

"afshar" <af****@discussions.microsoft.com> wrote in message
news:8D**********************************@microsof t.com...
Hi all,
Can I pass an XML document through Web Services instead of a simple
string?

afshar


ASP.NET generated web services only allow the XmlNode type to be used. You
can convert it back to an XmlDocument using XmlDocument.LoadXml(
xmlNode.OuterXml ) at each end if you really need to.

See this...

http://msdn.microsoft.com/library/de...ebServices.asp

Also, take a look at serialisation, it'll reduce the amount of time you have
to handle XML directly among other things.

HTH

Glenn
Feb 20 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Benjamin Joldersma | last post: by
1 post views Thread by Tom | last post: by
4 posts views Thread by =?Utf-8?B?bmlja25hbWU=?= | last post: by
2 posts views Thread by =?Utf-8?B?dmlzaHJ1dGg=?= | last post: by
1 post views Thread by =?Utf-8?B?dmlzaHJ1dGg=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.