Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 1st, 2013  |  syntax: None  |  size: 0.59 KB  |  views: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }