title: How to parse in android application arraylist from php webservice
body: <pre><code>public static UserFriendListContainer getFriendList(SoapObject wizardobject)//TESTED
      {
          UserFriendListContainer container= new UserFriendListContainer();
  
  
          List&lt;UserFriendListModel&gt; list= new ArrayList();    
  
          String currobj= wizardobject.getProperty("FriendListResult").toString();
  
          Log.v("CurrentObjet+++++++",currobj.toString());
  
  
  
  
          container.setParserResult(currobj);
  
  
  
          SoapObject result = (SoapObject)wizardobject;
          for(int i=0;i&lt;result.getPropertyCount();i++)
          {
  
                  SoapObject object = (SoapObject)wizardobject.getProperty(i);//here it is break
  
  Log.v("result:::::",result.toString());
                  Log.v("obj:::::",object.toString());
                  Log.v("friendID",object.getProperty("friendid").toString());
                  String friendID=object.getProperty("friendid").toString();
  
                  Log.v("friendname",object.getProperty("friendname").toString());
                  String friendname=object.getProperty("friendname").toString();
  
                  Log.v("lastaction",object.getProperty("lastaction").toString());
                  String lastaction=object.getProperty("lastaction").toString();
  
                  Log.v("friendphoto",object.getProperty("friendphoto").toString());
                  String friendphoto=object.getProperty("friendphoto").toString();
  
                  UserFriendListModel model=new UserFriendListModel();
                  model.setfriendID(friendID);
                  model.setfriendName(friendname);
                  model.setfriendPhoto(friendphoto);
                  model.setLastAction(lastaction);
  
                  list.add(model);
              }
              container.setList(list);
  
          return container;
      }
  
  }
  
  -----
  &lt;message name="FriendListRequest"/&gt;
  &lt;message name="FriendListResponse"&gt;
  &lt;part name="FriendListResult" type="tns:FirendListArray"/&gt;
  &lt;/message&gt; 
  </code></pre>
  
  <p>my xml part from webservice is that one.Im trying to access my friendlist by parsing.I couldnt understand ..when im debugging it broke in "SoapObject object = (SoapObject)wizardobject.getProperty(i)"..I want to know how can i parse one list that i take from webservice??Thank you for your help in advance...</p>