I have a java web service which i want to use with an android client for that am using ksoap. My web service gives an answer which look like this :
java.util.List : "[mobilerestaurantbooking.RMenu@66eb63f8,
mobilerestaurantbooking.RMenu@67f06391,
mobilerestaurantbooking.RMenu@5718f9e6,
mobilerestaurantbooking.RMenu@28be97b6,
mobilerestaurantbooking.RMenu@78da429f]"
that is something like id, name , category,.... and pass it to my application but the output is like anyType{}
this is my code in android
try {
aht.call(SOAP_ACTION, soapEnvelope);
SoapObject response = (SoapObject)soapEnvelope.bodyIn;
List<String> categories = new ArrayList<String>();
int count = response.getPropertyCount();
for(int i = 0; i < count; i++) {
if(response.getProperty(i) != null)
categories.add(response.getProperty(i).toString());
}
who know what should i do?