This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Android and the fly likes Web services and XML parsing.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Web services and XML parsing.." Watch "Web services and XML parsing.." New topic

Web services and XML parsing..

Mark Wilhelm

Joined: Dec 03, 2004
Posts: 1
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?

Perry Hoekstra

Joined: Dec 07, 2010
Posts: 28
If it is coming back through SOAP, there is the project. If not SOAP, you would have to post a bit more information.

Perry Hoekstra
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
If it's not SOAP, then Android has DOM and SAX built in, and -starting with Android 2.2- XPath.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Web services and XML parsing..
It's not a secret anymore!