title: intellij IDEA creating a web client from a wsdl not correctly creating namespaces
body: <p>When I create a WebClient via wsdl in IntelliJ, it doesn't seem to properly read the namespace tags and instead creates all the classes in a flattened package.</p>
  
  <p>what I've done is this:
  Create a new java project.
  Enable webservices.
  Right click and go to webservices and select create java code from wsdl or wadl.</p>
  
  <p>Then I select my wsdl location and apache axis, version 1.1, and select the output package and leave the rest of the options alone.</p>
  
  <p>It generates the code but as I said all in one flattened package.</p>
  
  <p>However the wsdl looks like this:</p>
  
  <pre><code>&lt;wsdl:types&gt;
  &lt;xsd:schema targetNamespace="http://company.com/ServiceContracts/2008/08/Imports"&gt;
    &lt;xsd:import namespace="http://company.com/ServiceContracts/2008/08" schemaLocation="http://999.999.999.98/company.Qrs.Consumer.Host/service.svc?xsd=xsd0"/&gt;
    &lt;xsd:import namespace="http://company.com/FaultContracts/2008/08" schemaLocation="http://999.999.999.98/company.Qrs.Consumer.Host/service.svc?xsd=xsd3"/&gt;
    &lt;xsd:import namespace="http://www.microsoft.com/practices/EnterpriseLibrary/2007/01/wcf/validation" schemaLocation="http://999.999.999.98/company.Qrs.Consumer.Host/service.svc?xsd=xsd4"/&gt;
    &lt;xsd:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" schemaLocation="http://999.999.999.98/company.Qrs.Consumer.Host/service.svc?xsd=xsd1"/&gt;
    &lt;xsd:import namespace="http://company.com/DataContracts/2008/08" schemaLocation="http://999.999.999.98/company.Qrs.Consumer.Host/service.svc?xsd=xsd2"/&gt;
    &lt;xsd:import namespace="http://schemas.datacontract.org/2004/07/Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WCF" schemaLocation="http://999.999.999.98/company.Qrs.Consumer.Host/service.svc?xsd=xsd5"/&gt;
  &lt;/xsd:schema&gt;
  &lt;/wsdl:types&gt;
  </code></pre>
  
  <p>When I import the same wsdl with Eclipse, it generates the right packages and subdirectories in accordance to the namespaces.</p>
  
  <p>Anyone know how to import a wsdl in intelliJ IDEA such that it generates the namespaces?</p>
  
  <p>Thanks,</p>