title: Zend Framework Dynamic WSDL Generation and specifying SOAP Headers
body: <p>I'm using <a href="http://framework.zend.com/manual/en/zend.soap.autodiscovery.html" rel="nofollow">Zend Framework AutoDiscovery</a> to generate WSDL for a PHP SOAP Web Service.</p>
  
  <p>I'm using a SOAP header to pass authentication information (example below).  The generated WSDL does not define the headers.</p>
  
  <p>How do I get the Zend AutoDiscovery to define the soap headers in the WSDL?</p>
  
  <pre><code>&lt;SOAP-ENV:Header&gt;
      &lt;authenticate&gt;
          &lt;username&gt;user&lt;/username&gt;
          &lt;password&gt;password&lt;/password&gt;
      &lt;authenticate&gt;
  &lt;/SOAP-ENV:Header&gt;
  &lt;SOAP-ENV:Body&gt;
      &lt;getData/&gt;
  &lt;/SOAP-ENV:Body&gt;
  </code></pre>