SoapObject result = (SoapObject) envelope.getResponse();
//Log.i("in", result.toString());
result = (SoapObject) result.getProperty(1);
//Log.i("in", result.toString());
result = (SoapObject) result.getProperty(0);
//Log.i("in", result.toString());
for (int i = 0; i < result.getPropertyCount(); i++) {
SoapObject obj = (SoapObject) result.getProperty(i);
//Log.i("in", obj.getProperty("PATIENT_ID").toString());
}
//Log.i("in", result.toString());
result = (SoapObject) result.getProperty(1);
//Log.i("in", result.toString());
result = (SoapObject) result.getProperty(0);
//Log.i("in", result.toString());
for (int i = 0; i < result.getPropertyCount(); i++) {
SoapObject obj = (SoapObject) result.getProperty(i);
//Log.i("in", obj.getProperty("PATIENT_ID").toString());
}