title: php SOAP not sending certificate.pem
body: <p>I can load in the wsdl, pull out the functions and data types just fine but when I try to call a function on the server I get a connection error. When I look at the soap data passed in the $request it doesn't contain any of the security certificate and no errors are generated.</p>
  
  <p>My code looks like this:
  
  
  <pre><code>  // setup the transaction array
    $header = array('local_cert' =&gt; "certificate.pem",
                    'logonUser'  =&gt; "user_name",
                    'style'      =&gt; SOAP_DOCUMENT,
                    'use'        =&gt; SOAP_LITERAL,
                    'exceptions' =&gt; true,
                    'trace'      =&gt; true);                  
  
    // create the soap client, this will log us in
    $client = new SoapClient($wsdl, $header);
  
    try
    { 
      $response = $client-&gt;getMessage($parameters);
    }
    catch (Exception $e) 
    {
      dumpVars($client-&gt;__getLastRequest()); 
      echo 'Caught exception: ',  $e-&gt;getMessage(), "\n"; 
    }
  ?&gt;
  </code></pre>
  
  <p>So my question is this, what do I have to do to get the security certificate to be passed?</p>
  
  <p>Thanks,</p>
  
  <p>Pete</p>