title: Multi Item array is not being well received in XML
body: <p>I have a webservice which XML response is served via PHP, like this:</p>
  <pre><code>Array
  (
      [0] =&gt; Array
          (
              [name] =&gt; Jane
              [surname] =&gt; Doe
              [country] =&gt; Rwanda
            
          )
      [1] =&gt; Array
          (
              [name] =&gt; John
              [surname] =&gt; Doe
              [country] =&gt; Gibraltar
            
          )
  
  )
  </code></pre>
  <p>I am serving it like this via PHP:</p>
  <pre><code>$server-&gt;WebWsdl-&gt;addComplexType(
              'PersonsArray',
              'complexType',
              'array',
              '',
              'SOAP-ENC:Array',
              array(),
              array(
                  array(
                      'ref'            =&gt; 'SOAP-ENC:arrayType',
                      'wsdl:arrayType' =&gt; 'tns:Persons[]'
                  )
              ),
              'tns:Persons'    
          );
  
  $serv-&gt;WebWsdl-&gt;addComplexType(
              'Person',
              'complexType',
              'struct',
              'all',
              '',
              array(
                  'name'             =&gt; array('name'=&gt;'name','type'=&gt;'xsd:string'),
                  'surname'          =&gt; array('name'=&gt;'surname','type'=&gt;'xsd:string'),
                  'country'          =&gt; array('name'=&gt;'country','type'=&gt;'xsd:string'),
              )
          );
  </code></pre>
  <p>The answer testing via SOAPUI:</p>
  <pre><code>&lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&quot;http://schemas.xmlsoap.org/soap/encoding/&quot; xmlns:SOAP-ENV=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:SOAP-ENC=&quot;http://schemas.xmlsoap.org/soap/encoding/&quot; xmlns:tns=&quot;http://tests/soap/WebServices&quot;&gt;
     &lt;SOAP-ENV:Body&gt;
        &lt;ns1:RetrievePersons xmlns:ns1=&quot;https://tests/webservices&quot;&gt;
           &lt;info xsi:type=&quot;tns:Persons&quot;/&gt;
        &lt;/ns1:RetrievePersons&gt;
     &lt;/SOAP-ENV:Body&gt;
  &lt;/SOAP-ENV:Envelope&gt;
  </code></pre>
  <p>I was expecting that in the web service answer it would return the info element which is an array with each persons array (with name, surname and country).</p>
  <p>Does anyone know why is it not retrieving the arrays with the persons info?</p>