SHARE
TWEET

Untitled

a guest Jan 1st, 2013 26 Never
  1. SoapPrimitive response = (SoapPrimitive)envelope.getResponse();
  2.        
  3. SoapObject result = (SoapObject) envelope.getResponse();
  4. SoapObject soapresults = (SoapObject)result.getProperty(0);
  5.  
  6. int count = soapresults.getPropertyCount();
  7.  
  8. ArrayList<PT> simplifiedList = new ArrayList<PT>();
  9. for (int i = 0; i < count; i++)
  10. {
  11.      soapresults.getPropertyAs(PT)(i)
  12. }
  13.        
  14. java.util.Vector<String> result11 = (java.util.Vector<String>)envelope.getResponse(); // to get List of Strings from the SoapObject.. then
  15. ArrayList<String> prjList = new ArrayList<String>();
  16. for(String cs : result11)
  17. {
  18. prjList.add(cs);
  19. }
RAW Paste Data
Top