title: internal server error when running soapclient
body: <p>This should be an easy one for the pros here. I am using the soapClient php library to make a simple call(see code below).</p>
  
  <p>
  
      </p>
  
  <pre><code>    &lt;?php
      error_reporting(E_ALL);
      ini_set('display_errors', '1');
          $url = "http://webservices.daehosting.com/services/TemperatureConversions.wso?WSDL";
  
          $client = new SoapClient($url, array("trace" =&gt; 1, "exception" =&gt; 0)); 
  
          var_dump($client-&gt;__getFunctions());
  
          $SOAPCall = "CelciusToFahrenheit";
          $SoapCallParameters = "30";
          $obj = $client-&gt;CelciusToFahrenheit($SoapCallParameters);
          var_dump($obj);
  
          var_dump($client-&gt;getLastRequest());
      ?&gt;
  
  &lt;/body&gt;
  </code></pre>
  
  <p></p>
  
  <p>When i execute i get the below error. I have looked in the Apache error logs and I see the same error.</p>
  
  <pre><code>Fatal error: Uncaught SoapFault exception: [HTTP] Internal Server Error in C:\wamp\www\phpSandbox\index.php:16 Stack trace: #0 [internal function]: SoapClient-&gt;__doRequest('&lt;?xml version="...', 'http://webservi...', '', 1, 0) #1 C:\wamp\www\phpSandbox\index.php(16): SoapClient-&gt;__call('CelciusToFahren...', Array) #2 C:\wamp\www\phpSandbox\index.php(16): SoapClient-&gt;CelciusToFahrenheit('30') #3 {main} thrown in C:\wamp\www\phpSandbox\index.php on line 16
  </code></pre>
  
  <p>I have also done some reading from people facing similar problems but not able to find a solution.</p>
  
  <p>I know for sure that the soapClient library is activated because the following code work</p>
  
  <pre><code>var_dump($client-&gt;__getFunctions());
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>array (size=4)
    0 =&gt; string 'CelciusToFahrenheitResponse CelciusToFahrenheit(CelciusToFahrenheit $parameters)' (length=80)
    1 =&gt; string 'FahrenheitToCelciusResponse FahrenheitToCelcius(FahrenheitToCelcius $parameters)' (length=80)
    2 =&gt; string 'WindChillInCelciusResponse WindChillInCelcius(WindChillInCelcius $parameters)' (length=77)
    3 =&gt; string 'WindChillInFahrenheitResponse WindChillInFahrenheit(WindChillInFahrenheit $parameters)' (length=86)
  </code></pre>
  
  <p>any help to resolve this error and possible explanation for the error will be great.</p>