title: PHP SoapClient call response missing parts of answer
body: <p>I have a problem with the script below. It just doesn't want to post back any response.</p>
  
  <p>The script: </p>
  
  <pre><code>    &lt;?php
  
      require_once('nusoap.php');
      $c = new soapclient('http://hidden.com/api/soap_affiliate.php?wsdl');
  
      $result = $c-&gt;__call('optionalInfo', array('client'=&gt; 'hidden','add_code' =&gt; 'hidden','password'=&gt; 'hidden' , 
  'start_date' =&gt; '2011-03-15','end_date' =&gt; '2011-03-24' , 'program_id' =&gt; '000' , 'opt_info' =&gt; 'x' ));
  
      echo $result; 
  
      ?&gt;
  </code></pre>
  
  <p>What gets returned is the following:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;item&gt;
  &lt;/item&gt;
  </code></pre>
  
  <p>it should return some details from my clients although it doesn't even show empty fields. </p>
  
  <p>What it should look like with some more details is this:</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;item&gt; 
       &lt;dailystats&gt; 
           &lt;date&gt;2011-03-18&lt;/date&gt; 
           &lt;impressions&gt;17&lt;/impressions&gt; 
           &lt;clicks&gt;1&lt;/clicks&gt; 
           &lt;leads&gt;1&lt;/leads&gt; 
           &lt;num_sales&gt;0&lt;/num_sales&gt; 
           &lt;sales&gt; 0.00&lt;/sales&gt; 
           &lt;sub_sales&gt; 0.00&lt;/sub_sales&gt;  
           &lt;commission&gt; 1.10&lt;/commission&gt; 
           &lt;click_thru_ratio&gt;5.88%&lt;/click_thru_ratio&gt; 
  &lt;/dailystats&gt; 
  &lt;/item&gt;
  </code></pre>
  
  <p>I have tried anything I can (for how much I know soap ) but it wont return anything else.
  So can someone help me out with this script?</p>
  
  <p>The needed webservice is below,</p>
  
  <pre><code>- &lt;message name="optionalInfoRequest"&gt;
    &lt;part name="client" type="xsd:string" /&gt; 
    &lt;part name="add_code" type="xsd:string" /&gt; 
    &lt;part name="password" type="xsd:string" /&gt; 
    &lt;part name="start_date" type="xsd:string" /&gt; 
    &lt;part name="end_date" type="xsd:string" /&gt; 
    &lt;part name="program_id" type="xsd:int" /&gt; 
    &lt;part name="opt_info" type="xsd:string" /&gt; 
    &lt;/message&gt;
  - &lt;message name="optionalInfoResponse"&gt;
    &lt;part name="return" type="xsd:string" /&gt; 
    &lt;/message&gt;
  </code></pre>
  
  <p>the whole WSDL can be found here <a href="http://network.thinkaction.com/api/soap_affiliate.php?wsdl" rel="nofollow">WSDL service</a></p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>thanks wrikken, It pushed me in the right direction. I have edited the script a little bit: Now there is an "opt_info" tag. Here I have to put e-mail addresses and a date so that it returns them too. Can anybody help me do this?</p>