arrays as return values with Ksoap
<p>i used nusoap library to generate web service , i want to consume this web service with Ksoap2 client , but i had problems with complexe types , i want to create array of article , where article is an object that have 3 attribute : date_creation , titre , contenu </p>

<pre><code>public class Main extends Activity {
    public static final String SOAP_ACTION = "http://www.mobilenmedia.com/sms/test/server.php/afficher_articles";
    public static final String METHOD_NAME = "afficher_articles";
    public static final String NAME_SPACE = "http://www.mobilenmedia.com/sms/test/";
    public static final String URL = "http://www.mobilenmedia.com/sms/test/server.php";
    TextView tv;
     public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        tv = (TextView) findViewById(R.id.text1);

        SoapObject request = new SoapObject(NAME_SPACE, METHOD_NAME);
        request.addProperty("indexd", 0);
        request.addProperty("indexf", 3);
        request.addProperty("idcat", 30);
        SoapSerializationEnvelope soapEnvelope = new  SoapSerializationEnvelope(SoapEnvelope.VER11);

        soapEnvelope.setOutputSoapObject(request);
        AndroidHttpTransport aht = new AndroidHttpTransport(URL);
        aht.debug = true;


        try 
        {
            aht.call(SOAP_ACTION, soapEnvelope);
                String result =  soapEnvelope.getResponse().toString();
          tv.setText("Status :"+result);

        }
        catch (Exception e)
        {
            e.printStackTrace();

        }
    }
}
</code></pre>

<p><strong>tv contains ==></strong> [article{date_creation=2012-04-12;titre=first_title titre;contenu=first;},
              article{date_creation=2012-04-11;titre=secont_title titre;contenu=second;}]</p>

<p><strong>this is my struct in web service :</strong> </p>

<pre><code>    $server-&gt;wsdl-&gt;addComplexType(
   'article',
   'complexType',
   'struct',
   'all','',
   array(
      'date_creation' =&gt; array('date' =&gt; 'date', 'type' =&gt; 'xsd:string'),
      'titre' =&gt; array('title' =&gt; 'titre', 'type' =&gt; 'xsd:string'),
      'contenu' =&gt; array('content' =&gt; 'contenu', 'type' =&gt; 'xsd:string'),
        )
);
$server-&gt;wsdl-&gt;addComplexType(
   'ArticleArray',
   'complexType',
   'array','',
   'SOAP-ENC:Array',array(),
   array(
      array('ref'=&gt;'SOAP-ENC:arrayType','wsdl:arrayType'=&gt;'tns:article[]')
   ),
   'tns:article'
);
$server-&gt;register('afficher_articles',array('indexd'=&gt;'xsd:integer','indexf'=&gt;'xsd:integer','idcat'=&gt;'xsd:integer'),array('return' =&gt; 'tns:ArticleArray'),$ns);
</code></pre>

<p>i followed this <a href="http://seesharpgears.blogspot.com/2010/10/web-service-that-returns-array-of.html" rel="nofollow">tutorial</a>  but i have not good result 
help me please</p>
