title: how to define nested array structure, when I use addComplexType function?
body: <p>I searched many examples. </p>
  
  <p>But I can't find how to define nested array structure, which is not key=>value type.</p>
  
  <p>client call 'hello' function with array, which is not key=>value type. </p>
  
  <p>I can't touch input parameters from client side.</p>
  
  <p>client side.</p>
  
  <pre><code>$client = new soapclient('http://localhost/Ex.php?wsdl', 'wsdl');
  
  $ddd = array($id, $pw);
  $parameter = array($aaa, $bbb, $ccc, $ddd);
  
  // Call the SOAP method
  $result = $client-&gt;call('hello',$parameter);
  </code></pre>
  
  <p>server side.</p>
  
  <pre><code>$server-&gt;wsdl-&gt;addComplexType(
      'noKey',
      'complexType',
      'struct',
      'all',
      '',
  array(
      '0'=&gt;array( 'name'=&gt; '0', 'type' =&gt; 'xsd:string'),
      '1'=&gt;array( 'name'=&gt; '1', 'type' =&gt; 'xsd:string')       
      //this definition occurred error.
      )
  );
  
  $server-&gt;register('hello', // method name
      array(
          'aaa' =&gt;'xsd:string',
          'bbb' =&gt;'xsd:string',
          'ccc' =&gt;'xsd:string',
          'ddd' =&gt;'tns:noKey'
      ), // input parameters
  
      array('return' =&gt; 'xsd:string'), // output parameters
      'urn:Exwsdl', // namespace
      false, // soapaction
      'rpc', // style
      'encoded', // use
      'Greet a person entering the sweepstakes' // documentation
   );
  
   function hello($aaa, $bbb, $ccc, $ddd) {
       return $aaa.", ".$bbb.", ".$ccc.", ".$ddd[0].", ".$ddd[1];
   }
  </code></pre>
  
  <p>error</p>
  
  <pre><code>Array
  (
      [faultcode] =&gt; SOAP-ENV:Client
      [faultactor] =&gt; 
      [faultstring] =&gt; error in msg parsing:
      XML error parsing SOAP payload on line 1: XML_ERR_NAME_REQUIRED
      [detail] =&gt; 
  )
  </code></pre>
  
  <p>help me T.T</p>