title: Add Security Header info to Java Code generated from WSDL
body: <p>I used the Netbeans Web Service wizard to generate Java code given a WSDL.  If I drag the web service method into a class, then it creates some Java code to call that web service (ex: SubmitApplication).  I can see how to populate objects to send info to that web service, but the service also requires a security header with username/password.  </p>
  
  <p>There is a generated class called SecurityHeader that contains the username/password attributes.  I can create this object with a valid username/password, but I cannot see how to pass that object or add it to the SubmitApplication call.  How can the SecurityHeader be added to the SubmitApplication call?</p>
  
  <p>Here is an example of what the SOAP request should look like:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
      &lt;soap:Header&gt;
          &lt;SecurityHeader xmlns="http://schemas.turss.com/BDS/1.0/"&gt;
              &lt;CreateTime&gt;6/8/2012 8:32:59 PM&lt;/CreateTime&gt;
              &lt;Owner&gt;Sample_Owner&lt;/Owner&gt;
              &lt;HashKey&gt;Sample_Hash_Key&lt;/HashKey&gt;
          &lt;/SecurityHeader&gt;
      &lt;/soap:Header&gt;
      &lt;soap:Body&gt;
          &lt;SubmitApplication xmlns="http://schemas.turss.com/BDS/1.0/"&gt;
              &lt;newSearch&gt;
                  &lt;CurrentApplicant xmlns="http://schemas.turss.com/BDS/1.0/proxy"&gt;
                      &lt;FirstName&gt;Bob&lt;/FirstName&gt;
                      &lt;MiddleName /&gt;
                      &lt;LastName&gt;Smith&lt;/LastName&gt;
                      &lt;Suffix /&gt;
                      &lt;BirthDate&gt;1970-10-20T00:00:00&lt;/BirthDate&gt;
                      &lt;SSN /&gt;
                      &lt;Address /&gt;
                      &lt;City /&gt;
                      &lt;State /&gt;
                      &lt;PostalCode /&gt;
                  &lt;/CurrentApplicant&gt;
                  &lt;PermissiblePurpose xmlns="http://schemas.turss.com/BDS/1.0/proxy"&gt;TenantScreening&lt;/PermissiblePurpose&gt;
              &lt;/newSearch&gt;
          &lt;/SubmitApplication&gt;
      &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>