Guest User

Untitled

a guest
Jan 1st, 2013
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  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. }
Add Comment
Please, Sign In to add comment