COnsuming a web service that returns XMLNode

Discussion in 'ASP .Net' started by drewdr@yahoo.com, Jan 10, 2006.

  1. Guest

    Any pointers on how to get at specific elements, or better yet,
    convert it into a dataset ?
    , Jan 10, 2006
    #1
    1. Advertising

  2. Guest

    On 10 Jan 2006 19:32:48 +0100, wrote:

    >Any pointers on how to get at specific elements, or better yet,
    >convert it into a dataset ?


    OK, I've gotten to my wanted element by simply counting:
    Mywebservice.Mymethod.ChildNodes.Item(5).InnerText

    But is there a faster way that I could get to the item by it's markup,
    like:
    <firstname>John </firstname> ? -------> item("firstname").innertext
    , Jan 11, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. DNB
    Replies:
    1
    Views:
    245
  2. dgleeson422111

    Consuming local web service - ok, remote web service -problem?

    dgleeson422111, Jan 26, 2010, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    888
    dgleeson422111
    Jan 26, 2010
  3. John Bailo

    XmlDocument Web method returns type XmlNode

    John Bailo, Oct 22, 2004, in forum: ASP .Net Web Services
    Replies:
    3
    Views:
    275
    Dan Rogers
    Nov 15, 2004
  4. Stephen Ahn

    XmlNode parameter to web service

    Stephen Ahn, Sep 20, 2006, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    176
    Stephen Ahn
    Sep 20, 2006
  5. Replies:
    3
    Views:
    270
    Anthony Jones
    Sep 5, 2008
Loading...

Share This Page