locked
How to Read XML returned data from Webservice using asp.net RRS feed

  • Question

  •   <?xml version="1.0" encoding="utf-8" ?>
    - <result>
    - <NewDataSet>
    - <Table1>
      <Friend_Id>BL-2</Friend_Id>
      <Friend_FName>Prabagar</Friend_FName>
      <Friend_LName>Lakshman</Friend_LName>
      </Table1>
    - <Table1>
      <Buddy_Id>BL-1</Buddy_Id>
      <FName>Sai</FName>
      <LName>Saranya</LName>
      <UDID>7f6fc46673e2fc077d06160d167b93f2486b506a</UDID>
      <C2DMRegistrationId>0</C2DMRegistrationId>
      <MobileType>iPhone</MobileType>
      </Table1>
      </NewDataSet>
    - <NewDataSet>
    - <Table1>
      <Friend_Id>BL-3</Friend_Id>
      <Friend_FName>Robert</Friend_FName>
      <Friend_LName>Joseph</Friend_LName>
      </Table1>
    - <Table1>
      <Buddy_Id>BL-1</Buddy_Id>
      <FName>Sai</FName>
      <LName>Saranya</LName>
      <UDID>7f6fc46673e2fc077d06160d167b93f2486b506a</UDID>
      <C2DMRegistrationId>0</C2DMRegistrationId>
      <MobileType>iPhone</MobileType>
      </Table1>
      </NewDataSet>
    - <NewDataSet>
    - <Table1>
      <Friend_Id>BL-1</Friend_Id>
      <Friend_FName>Sai</Friend_FName>
      <Friend_LName>Saranya</Friend_LName>
      </Table1>
    - <Table1>
      <Buddy_Id>BL-2</Buddy_Id>
      <FName>Prabagar</FName>
      <LName>Lakshman</LName>
      <UDID>7f6fc46673e2fc077d06160d167b93f2486b506a</UDID>
      <C2DMRegistrationId>0</C2DMRegistrationId>
      <MobileType>iPhone</MobileType>
      </Table1>
      </NewDataSet>
    - <NewDataSet>
    - <Table1>
      <Friend_Id>BL-1</Friend_Id>
      <Friend_FName>Sai</Friend_FName>
      <Friend_LName>Saranya</Friend_LName>
      </Table1>
    - <Table1>
      <Buddy_Id>BL-3</Buddy_Id>
      <FName>Robert</FName>
      <LName>Joseph</LName>
      <UDID>7f6fc46673e2fc077d06160d167b93f2486b506a</UDID>
      <C2DMRegistrationId>0</C2DMRegistrationId>
      <MobileType>iPhone</MobileType>
      </Table1>
      </NewDataSet>
      </result>
    Please give the solution asap....
    Saturday, January 21, 2012 1:20 PM

All replies

  • This is my output Result.how to parse this....
      <?xml version="1.0" encoding="utf-8" ?>
    - <result>
    - <NewDataSet>
    - <Table1>
      <Friend_Id>BL-2</Friend_Id>
      <Friend_FName>Prabagar</Friend_FName>
      <Friend_LName>Lakshman</Friend_LName>
      </Table1>
    - <Table1>
      <Buddy_Id>BL-1</Buddy_Id>
      <FName>Sai</FName>
      <LName>Saranya</LName>
      <UDID>7f6fc46673e2fc077d06160d167b93f2486b506a</UDID>
      <C2DMRegistrationId>0</C2DMRegistrationId>
      <MobileType>iPhone</MobileType>
      </Table1>
      </NewDataSet>
    - <NewDataSet>
    - <Table1>
      <Friend_Id>BL-3</Friend_Id>
      <Friend_FName>Robert</Friend_FName>
      <Friend_LName>Joseph</Friend_LName>
      </Table1>
    - <Table1>
      <Buddy_Id>BL-1</Buddy_Id>
      <FName>Sai</FName>
      <LName>Saranya</LName>
      <UDID>7f6fc46673e2fc077d06160d167b93f2486b506a</UDID>
      <C2DMRegistrationId>0</C2DMRegistrationId>
      <MobileType>iPhone</MobileType>
      </Table1>
      </NewDataSet>
    - <NewDataSet>
    - <Table1>
      <Friend_Id>BL-1</Friend_Id>
      <Friend_FName>Sai</Friend_FName>
      <Friend_LName>Saranya</Friend_LName>
      </Table1>
    - <Table1>
      <Buddy_Id>BL-2</Buddy_Id>
      <FName>Prabagar</FName>
      <LName>Lakshman</LName>
      <UDID>7f6fc46673e2fc077d06160d167b93f2486b506a</UDID>
      <C2DMRegistrationId>0</C2DMRegistrationId>
      <MobileType>iPhone</MobileType>
      </Table1>
      </NewDataSet>
    - <NewDataSet>
    - <Table1>
      <Friend_Id>BL-1</Friend_Id>
      <Friend_FName>Sai</Friend_FName>
      <Friend_LName>Saranya</Friend_LName>
      </Table1>
    - <Table1>
      <Buddy_Id>BL-3</Buddy_Id>
      <FName>Robert</FName>
      <LName>Joseph</LName>
      <UDID>7f6fc46673e2fc077d06160d167b93f2486b506a</UDID>
      <C2DMRegistrationId>0</C2DMRegistrationId>
      <MobileType>iPhone</MobileType>
      </Table1>
      </NewDataSet>
      </result>
    Please give the solution asap....

    Saturday, January 21, 2012 1:23 PM