title: PHP Fatal error: "The SOAP action specified on the message, '', does not match the HTTP SOAP Action"
body: <p>I'm attempting to write a PHP script that will connect to the SOAP client for our SightMax interface.  With the code below I am able to print out a list of functions available however when I try and call any function I am getting the the following error.</p>
  
  <pre><code>&lt;?php
  
  $client = new SoapClient('http://domain.com/SightMaxWebServices/SightMaxWebService.svc?wsdl', array('soap_version' =&gt; SOAP_1_2));
  
  var_dump($client-&gt;__getFunctions());
  
  $result = $client-&gt;__call("GetSiteSummary", array());
  
  echo "&lt;pre&gt;";
  print_r($result);
  echo "&lt;/pre&gt;";
  
  ?&gt;
  </code></pre>
  
  <hr>
  
  <pre><code>Fatal error: Uncaught SoapFault exception: [s:Sender] The SOAP action specified on the message, '', does not match the HTTP SOAP Action, 'SmartMax.SightMax.Agent.Operator/IRemotedWebsiteAdministrator/GetSiteSummary'. in test2.php:7 Stack trace: #0 test2.php(7): SoapClient-&gt;__call('GetSiteSummary', Array) #1 {main} thrown in test2.php on line 7 
  </code></pre>
  
  <p>I've been researching this error for the last couple days and I've read different articles stating possible issues.  From what I understand this error occurs because the SOAP client is configured for wsHttpBinding and either the build in SOAP client for PHP does not support the wsHttpBinding or I need to specifically specify the SOAP action.</p>
  
  <p>Can anyone shed any light on this for me?  Please keep in mind while I'm versed with PHP working with SOAP is new to me so step by steps are very helpful.</p>
  
  <p>Thanks in Advance.</p>