title: Pass Header Authentication Information to WSDL
body: <p>My SOAP WSDL Request is shown like follows,</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/"&gt;
  &lt;SOAP-ENV:Body&gt;&lt;unit&gt;3452&lt;/unit&gt;
  &lt;/SOAP-ENV:Body&gt;
  &lt;/SOAP-ENV:Envelope&gt;
  </code></pre>
  
  <p>But I have send HTTP Authentication Parameters on SOAP header and Captured from SOAP server. </p>
  
  <pre><code>$client = new SoapClient("call.wsdl",array(
  "trace"      =&gt; 1,
  "exceptions" =&gt; 0,
  "login" =&gt; 'xxxxx',
  "password" =&gt; 'xxxx'));
  
  $result = $client-&gt;getCALL($unit);
  </code></pre>
  
  <p>My SOAP Authentication parameters are send to server but it doesn't shown on SOAP request text. I need to seen them on Request message.</p>
  
  <p>Which types of code should I need to add on WSDL file to get Request text as follows.</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/"&gt;
    &lt;SOAP-ENV:Header&gt;
      &lt;Login&gt;BonZ&lt;/Login&gt;
      &lt;Password&gt;xxxx&lt;/Password&gt;
    &lt;/SOAP-ENV:Header&gt;
    &lt;SOAP-ENV:Body&gt;
      &lt;unit&gt;3452&lt;/unit&gt;
    &lt;/SOAP-ENV:Body&gt;
  &lt;/SOAP-ENV:Envelope&gt;
  </code></pre>