How to parse a complex object with ksoap?
问题 I use ksoap to connect to a soap web service. And get a Soapobject in return. How would I parse this complex soapobject. My problem is that a SoapObject returns an object for getProperty, this can be a leaf or a node in the tree. I have a complex resultobject that consists of some ints and strings and a list of complex objects. I now somehow have to decide if the property is a leaf or another complex object that can be parsed as an SoapObject. Is there an example on how to parse this? 回答1: