parsing problem complex soap responce

Put your problem here if it does not fit any of the other categories.

parsing problem complex soap responce

Postby madhavanmaddy » Fri Feb 11, 2011 7:27 am

i am using soap protocol to send and recieve data from web
the xmls are kept at the server as you know if you have used soap in android
now i am great mess to parse the data from soap response
the xml recieved from the server side is as below


[[?xml version='1.0' encoding='UTF-8'?]
Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. [session]
  2. [status vLoginData='gfYYjZc19c9WUnT9/AAt7xElWMttVs77xOdXk0J7/0VRW9YzSJXA14U/rH7PWEgYlkGG78oUns/KPCqXtwMOwIC8X8hMBAic' Result='OK'/]
  3. [indata server_timestamp='gfYYjZc19c9WUnT9/AAt7xElWMttVs77xOdXk0J7/0VRW9YzSJXA12KOPGldL1vfknEtXSOMRLa4kpaHIlWaxlKRA8gqjcXL' vDateStart='-3d' vDateStop='2w' vFilter_Event_Type='All' vFilter_Event_Invitiation_Type='All' vFilter_Registration_Status='All'/]
  4. [/session]
  5. [data]
  6. [datarow vID_Event='6766634f-193f-41e2-bfc9-5ce80b2c7187' vSociety_Name='Dummy+Poker+2' vEvent_Start='2011-02-14 20:00:00' vTitle='Dummy Open' vSociety_Category_Type='Poker' vEvent_Type='Turnering' vRegistration_Status='' vRegistration_Possible='True' vSociety_Logo='http://www.iammember.net/images/logos/default.jpg' vSociety_Logowidth='124' vSociety_Logoheight='93'/]
  7. [datarow vID_Event='18c85e7f-eac2-4a2a-aff0-4712bb6cc41d' vSociety_Name='Dummy+Poker+2' vEvent_Start='2011-02-15 18:00:00' vTitle='Simple event' vSociety_Category_Type='Poker' vEvent_Type='Turnering' vRegistration_Status='' vRegistration_Possible='True' vSociety_Logo='http://www.iammember.net/images/logos/default.jpg' vSociety_Logowidth='124' vSociety_Logoheight='93'/]
  8. [datarow vID_Event='3534f1f8-b54d-45a9-833f-cee7152f55c9' vSociety_Name='Dummy+Poker+2' vEvent_Start='2011-02-16 18:00:00' vTitle='Dummy Open 3' vSociety_Category_Type='Poker' vEvent_Type='Turnering' vRegistration_Status='' vRegistration_Possible='True' vSociety_Logo='http://www.iammember.net/images/logos/default.jpg' vSociety_Logowidth='124' vSociety_Logoheight='93'/]
  9. [datarow vID_Event='b8fb1bf1-b209-4f20-8b69-e07750589b7a' vSociety_Name='Dummy+Poker+2' vEvent_Start='2011-02-16 19:00:00' vTitle='Dummy Open 4' vSociety_Category_Type='Poker' vEvent_Type='Turnering' vRegistration_Status='' vRegistration_Possible='True' vSociety_Logo='http://www.iammember.net/images/logos/default.jpg' vSociety_Logowidth='124' vSociety_Logoheight='93'/]
  10. [datarow vID_Event='6bb2d618-8cfd-4679-b457-43a9bb1fe253' vSociety_Name='Dummy+Poker+2' vEvent_Start='2011-02-17 21:00:00' vTitle='Dummy Open 5' vSociety_Category_Type='Poker' vEvent_Type='Turnering' vRegistration_Status='' vRegistration_Possible='True' vSociety_Logo='http://www.iammember.net/images/logos/default.jpg' vSociety_Logowidth='124' vSociety_Logoheight='93'/]
  11. [datarow vID_Event='dcb3d8b0-3bdd-454f-9ec8-9ce417be5425' vSociety_Name='Dummy+Poker+2' vEvent_Start='2011-02-20 10:00:00' vTitle='Dummy Open 6' vSociety_Category_Type='Poker' vEvent_Type='Turnering' vRegistration_Status='' vRegistration_Possible='True' vSociety_Logo='http://www.iammember.net/images/logos/default.jpg' vSociety_Logowidth='124' vSociety_Logoheight='93'/]
  12. [datarow vID_Event='ccce5f81-f09b-415d-be4b-e9a1891f661b' vSociety_Name='Dummy+Poker+2' vEvent_Start='2011-02-20 18:00:00' vTitle='Dummy Open 7' vSociety_Category_Type='Poker' vEvent_Type='Turnering' vRegistration_Status='' vRegistration_Possible='True' vSociety_Logo='http://www.iammember.net/images/logos/default.jpg' vSociety_Logowidth='124' vSociety_Logoheight='93'/]
  13. [datarow vID_Event='97d255a4-854b-4014-859f-02d329071a74' vSociety_Name='Dummy+Poker+2' vEvent_Start='2011-02-20 21:00:00' vTitle='Dummy Open 8' vSociety_Category_Type='Poker' vEvent_Type='Turnering' vRegistration_Status='' vRegistration_Possible='True' vSociety_Logo='http://www.iammember.net/images/logos/default.jpg' vSociety_Logowidth='124' vSociety_Logoheight='93'/]
  14. [/data]
  15.  
Parsed in 0.000 seconds, using GeSHi 1.0.8.4

]


please help me friends and if possible provide me code to parse data from this xml
i have gone through document parser and sax parser but unable to parse data from it

plz plz provide me some code to parse data from it
fast help would be greatful
thankyou all
madhavanmaddy
Junior Developer
Junior Developer
 
Posts: 24
Joined: Wed Dec 15, 2010 7:04 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 19 guests