Ok.. Your Web Service Return JSON Data in Responce, so that you have Parse the Json Data in your Code, i Have Give Some Basic Logic How to Parse JSon Web Service,
//================================================
private ArrayList<HashMap<String, String>> MyArray = new ArrayList<HashMap<String,String>>();
private HashMap<String, String> MyTempHas;
private JSONObject JSONObj;
Private SoapObject responce = (SoapObject) envelope.getResponse();
/* gets our result in JSON String */
private String ResultObject = responce.getProperty(0).toString();
if (ResultObject.startsWith("{")) { // if JSON string is an object
JSONObj = new JSONObject(ResultObject);
Iterator<String> itr = JSONObj.keys();
MyTempHas = new HashMap<String, String>();
while (itr.hasNext()) {
String Key = (String) itr.next();
String Value = JSONObj.getString(Key);
MyTempHas.put(Key, Value);
// System.out.println(bundleResult.getString(Key));
}
MyArray.add(MyTempHas);
} else if (ResultObject.startsWith("[")) { // if JSON string is an array
JSONArr = new JSONArray(ResultObject);
System.out.println("length" + JSONArr.length());
for (int i = 0; i < JSONArr.length(); i++) {
JSONObj = (JSONObject) JSONArr.get(i);
Iterator<String> itr = JSONObj.keys();
MyTempHas = new HashMap<String, String>();
while (itr.hasNext()) {
String Key = (String) itr.next();
String Value = JSONObj.getString(Key);
MyTempHas.put(Key, Value);
// System.out.println(bundleResult.getString(Key));
}
MyArray.add(MyTempHas);
}
}
//========================================
In This Example if you have return only One Object then it Start with "{" and save all the atribute in Hasmap and then add into ArrayList.
If your Responce send Multiple Object then it Start with "[" array , then parse one by one object as per above logic.
then simle you get all the value from Hasmap which is store in ArrayList.
If you not able to get Value from the ArrayList then Tell me I will Help you.
I Hope this will Help you.