Skip to content Skip to sidebar Skip to footer

How To Parse A List Of Objects Retrieved With Ksoap On Android?

I have a soap webservice that returns something like this: ListResult{id=123; result=ListItem{currencyID=2; currencyISO=EUR; desc=description; hasEMagazine=true; hasPrintMagazine=t

Solution 1:

I ended up using reflection. I pass in an empty output object an iterate over all the fields to see if one of the fields is contained in the soap result. Have a look at this tutorial for code examples.


Post a Comment for "How To Parse A List Of Objects Retrieved With Ksoap On Android?"