title: Remove <return> tag, in submitting data to Soap Server with PHP
body: <p><strong>Actual result:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://localhost/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"&gt;
      &lt;SOAP-ENV:Body&gt;
          &lt;ns1:PerformTransactionArgumentsResponse&gt;
              &lt;return xsi:type="SOAP-ENC:Struct"&gt;
                  &lt;errorMsg xsi:type="xsd:string"&gt;Ok&lt;/errorMsg&gt;
                  &lt;status xsi:type="xsd:string"&gt;0&lt;/status&gt;
                  &lt;timeStamp xsi:type="xsd:string"&gt;2011-04-26T19:13:55.421875+05:00&lt;/timeStamp&gt;
              &lt;/return&gt;
          &lt;/ns1:PerformTransactionArgumentsResponse&gt;
      &lt;/SOAP-ENV:Body&gt;
  &lt;/SOAP-ENV:Envelope&gt;
  </code></pre>
  
  <p><strong>Expected result</strong> without <code>&lt;return xsi:type="SOAP-ENC:Struct"&gt;&lt;/return&gt;</code> tag.</p>
  
  <p><em>I am doing it first time, and actually I know almost nothing about Soap Server, could you tell me, how can I remove return tag ?</em></p>
  
  <p>this is the code on server side:</p>
  
  <pre><code>class PerformTransactionArgumentsResponse {
      public $errorMsg = "Ok";
      public $status = "0";
      public $timeStamp = "2011-04-26T19:13:55.421875+05:00";
  }
  
  
  class MyAPI {
      function PerformTransactionArguments() {
          return new PerformTransactionArgumentsResponse;
      }
  }
  
  $options=array('uri'=&gt;'localhost/');
  $server = new SoapServer(NULL,$options);
  $server-&gt;setClass('MyAPI');
  $server-&gt;handle();
  </code></pre>