title: NUSoap - calling a method with typed arrays as a parameter
body: <p>I am using the NuSoap library to call a WCF web service. </p>
  
  <p>I am stuck when calling a particular web method that has a typed array as one of it parameters.</p>
  
  <p>When calling the web method via SOAP UI. I have something like this (and it works)</p>
  
  <pre><code>&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays"&gt;
     &lt;soapenv:Header/&gt;
     &lt;soapenv:Body&gt;
        &lt;tem:GetBalances&gt;
           &lt;tem:customerIds&gt;
              &lt;arr:guid&gt;228B8C4E-D395-F87D-0000-00000013022F&lt;/arr:guid&gt;           
           &lt;/tem:customerIds&gt;
           &lt;tem:brandName&gt;&lt;/tem:brandName&gt;
           &lt;tem:currencyCode&gt;EUR&lt;/tem:currencyCode&gt;
        &lt;/tem:GetBalances&gt;
     &lt;/soapenv:Body&gt;
  &lt;/soapenv:Envelope&gt;
  </code></pre>
  
  <p>I am trying to call this same request usign NUSoap like this:</p>
  
  <pre><code>$params = array("customerIds" =&gt;
              array(
                  "guid" =&gt; '228B8C4E-D395-F87D-0000-00000013022F'
              ),
              "brandName" =&gt; "",
              "currencyCode" =&gt; "EUR"
          );
  
  $result = $client-&gt;call('GetBalances', $params);
  </code></pre>
  
  <p>But unfortunately I do not get any results.</p>
  
  <p>Any idea how the params array should be structed?</p>
  
  <p>Thanks</p>