XML Web Service Output

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • binder

    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?

  • Andrew Brook

    #2
    Re: XML Web Service Output

    Hiya,

    I think the best type in this instance will be System.xml.xmln ode - 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.goog legroups.com...
    >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?
    >

    Comment

    Working...