Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old August 10th, 2006, 05:15 PM
binder
Guest
 
Posts: n/a
Default XML Web Service Output

I am creating a web service that will output an XML document.
Should my web method return an XMLDocument type or XMLDataDocument
type?
I want to offer the better return type to consumers.

What are the implications of using each type?

  #2  
Old August 14th, 2006, 03:55 PM
Andrew Brook
Guest
 
Posts: n/a
Default Re: XML Web Service Output

Hiya,

I think the best type in this instance will be System.xml.xmlnode - i think
both the XMLDocument and XMLDataDocument inherit from this class, but more
importantly, if you are returning an XMLNode you are essentially just
returning some xml. Hope this helps

Andrew

"binder" <rgondzur@gmail.comwrote in message
news:1155227116.831292.160910@75g2000cwc.googlegro ups.com...
Quote:
>I am creating a web service that will output an XML document.
Should my web method return an XMLDocument type or XMLDataDocument
type?
I want to offer the better return type to consumers.
>
What are the implications of using each type?
>

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles