title: Empty class when generating client webservice code with wsimport
body: <p>I am using <strong>wsimport</strong> to generate client web service code. (see part of wsdl code below).</p>
  
  <p>Once code generation is done, I get empty TokenRequest class with no methods defined.
  On the other hand, TokenResponse class has several methods defined, few setters and few getters.</p>
  
  <p><strong>Given WSDL below, why is my TokenRequest class empty?</strong></p>
  
  <p>I expected it to had 4 setter methods for ClientKey, Password, UserKey and UserName.
  Now, I am not able to set these parameters and pass them to main Login method which receives this TokenRequest object.</p>
  
  <p>I tried to create reference to this web service in .NET 4.0 and everything worked flawless. TokenRequest class had constructor that was receiving 4 paramters that I need.</p>
  
  <p><strong>Any idea what is wrong?</strong> Tomorrow I will try to do this using Axis2...</p>
  
  <pre><code>   &lt;?xml version="1.0" encoding="utf-8"?&gt;
      ...
                  &lt;wsdl:input name="TokenRequest"&gt;
                      **&lt;soap12:header message="i0:TokenRequest_Headers" part="ClientKey" use="literal"/&gt;
                      &lt;soap12:header message="i0:TokenRequest_Headers" part="Password" use="literal"/&gt;
                      &lt;soap12:header message="i0:TokenRequest_Headers" part="UserKey" use="literal"/&gt;
                      &lt;soap12:header message="i0:TokenRequest_Headers" part="UserName" use="literal"/&gt;
                      &lt;soap12:body use="literal"/&gt;**
                  &lt;/wsdl:input&gt;
                  &lt;wsdl:output name="TokenResponse"&gt;
                      &lt;soap12:body use="literal"/&gt;
                  &lt;/wsdl:output&gt;
       ...
  </code></pre>