File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Web services and XML parsing.." Watch "Web services and XML parsing.." New topic
Author

Web services and XML parsing..

Mark Wilhelm
Greenhorn

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?

Thanks
Perry Hoekstra
Greenhorn

Joined: Dec 07, 2010
Posts: 28
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
Marshal

Joined: Mar 22, 2005
Posts: 39543
    
  27
If it's not SOAP, then Android has DOM and SAX built in, and -starting with Android 2.2- XPath.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web services and XML parsing..
 
Similar Threads
What are these services?
What can XML do?
Can I learn XML and say I can do webservices?
Good SOAP Tutorial
Question to authors