title: How to call a .net web service that returns an ArrayList to Android
body: <p>I am trying to retreive an <code>ArrayList</code> from a .NET web service using ksoap.</p>
  
  <p>The data does not seem to be able to enter my <code>coo arraylist</code>.</p>
  
  <p>How can this be solved? Is there anything wrong with my code?</p>
  
  <pre><code>    SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
      SoapSerializationEnvelope envelope =
      new SoapSerializationEnvelope(SoapEnvelope.VER11);
      envelope.dotNet = true;
      envelope.setOutputSoapObject(request);
      HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);
      ArrayList &lt;String&gt; coo = new ArrayList &lt;String&gt;();
  
      try{
          androidHttpTransport.call(bustop_SOAP_ACTION, envelope);
  
          java.util.Vector&lt;Object&gt; receivedStrings = (java.util.Vector&lt;Object&gt;)envelope.getResponse();
          if(receivedStrings !=null)
          {
              for(Object curStrings : receivedStrings)
              {
                  coo.add(curStrings.toString());
              }
          }
      }
      catch(Exception e){}
  </code></pre>
  
  <p>This is the raw output of the web service:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
     &lt;ArrayOfAnyType xmlns:xsi="w3.org/2001/XMLSchema-instance"; xmlns:xsd="w3.org/2001/XMLSchema"; xmlns="FYPJWebService.com"&gt;;
        &lt;anyType xsi:type="xsd:string"&gt;1.278217,103.837517&lt;/anyType&gt;
        &lt;anyType xsi:type="xsd:string"&gt;1.278300,103.837705&lt;/anyType&gt;
        &lt;anyType xsi:type="xsd:string"&gt;1.281510,103.840888&lt;/anyType&gt;
        &lt;anyType xsi:type="xsd:string"&gt;1.285616,103.844446&lt;/anyType&gt;
     &lt;/ArrayOfAnyType&gt;
  </code></pre>