简体   繁体   中英

Android handling the response from a rest webservice call

Hi am creating an android application in which am consuming rest webservices.

The webservice calling and the getting the response from webservice is OK. It was working fine.

I just want to know how can we properly handle the reponse we got from the android web service.

As the response to webservice call,am getting an xml string that was the representation an ArrayList of Objects say List< Student > . Now i just want to know how we can convert this xml format as response am getting to an ArrayList say List< Student > at the client side (means on android platform).

Implement Serializable . You will find a decent tutorial here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM