Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Web services and XML parsing..  RSS feed

 
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: 42970
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
Boost this thread!