Hi,I want to know how to parse the web service response data in android .Actually i m accessing the .net web service.I can get a result of some complex type.i want to know how to retrive a particular value from this complex type.Is there is any parser avilable to parse the content of the response or else we have to parse manually? If u have any code snippet pls bring me. regards, s.kumaran.
A:
You should consider using the Project Tango library. I'm 80% sure you can use it in Android.
Generate a proxy from the web service and it'll give you classes for the complex types.
Randolpho
2009-08-11 05:08:52
A:
First of all - what content type you are talking about? XML and JSON are supported I believe. I've been using just plain HttpClient to get the responses
DroidIn.net
2009-08-11 05:29:32
i have been talking about text/xml content.
Kumar
2009-08-11 05:41:28
A:
if you need to parse XML response, see here: http://www.helloandroid.com/node/110 it's a sample XML RSS reader
Reflog
2009-08-11 11:39:13