title: PHP class constructor argument provided by the client soap
body: <p>I have a bunch of SOAP servers serving a php class and a client accessing those servers. The served php class makes connection to a local database and this connection is setup in the construtor method. </p>
  
  <p>I saw you can set arguments to the constructor in the server side:  </p>
  
  <pre><code>$server = new SoapServer($wsdlFile);
  $server-&gt;setClass('Class', $arg);
  </code></pre>
  
  <p>Is there a way to the client provide the argument to the class constructor?</p>