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. Advertisements

  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. Advertisements

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:
    413
  2. dgleeson422111

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

    dgleeson422111, Jan 26, 2010, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    1,083
    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:
    384
    Dan Rogers
    Nov 15, 2004
  4. only_me

    vs2005 consuming web service, adding web reference ?

    only_me, Sep 20, 2005, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    290
    only_me
    Sep 25, 2005
  5. Stephen Ahn

    XmlNode parameter to web service

    Stephen Ahn, Sep 20, 2006, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    282
    Stephen Ahn
    Sep 20, 2006
  6. Curt K
    Replies:
    3
    Views:
    700
    John Saunders [MVP]
    Jun 15, 2007
  7. DNB
    Replies:
    1
    Views:
    481
    John Saunders [MVP]
    Jan 20, 2008
  8. Replies:
    3
    Views:
    441
    Anthony Jones
    Sep 5, 2008
Loading...