Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web services and XML parsing..

 
Mark Wilhelm
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just a quick question on Web Services...

When consuming WS, what is the best way to parse/consume the returning XML. Does Android have some native calls to do this?

Thanks
 
Perry Hoekstra
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it is coming back through SOAP, there is the http://code.google.com/p/ksoap2-android project. If not SOAP, you would have to post a bit more information.

Perry Hoekstra
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it's not SOAP, then Android has DOM and SAX built in, and -starting with Android 2.2- XPath.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic