title: Can't generate java classes from wsdl using wsdl2java
body: <p>I have the this <a href="http://prehomol.apimobile.zap.com.br/soap11" rel="nofollow">wsdl</a> document generated from a .NET application using <a href="http://www.servicestack.net/" rel="nofollow">StackService</a>. 
  I'm using <a href="http://cxf.apache.org/docs/wsdl-to-java.html" rel="nofollow">Apache CXF</a> in order to get some generated java classes.</p>
  
  <p>I'm running the following command (windows):</p>
  
  <p>D:\SomePath>wsdl2java -d d:\temp <a href="http://mywsdl.com" rel="nofollow">http://mywsdl.com</a></p>
  
  <p>The result is as follows:</p>
  
  <p><em>WSDLToJava Error:</em></p>
  
  <p><em>Summary:  Failures: 50, Warnings: 0</em></p>
  
  <p><em>&lt;&lt;&lt; ERROR!</em></p>
  
  <p><em>Part  in Message &lt;{<a href="http://schemas.servicestack.net/types" rel="nofollow">http://schemas.servicestack.net/types</a>}CadastroUsuarioOut> referenced Type &lt;{<a href="http://schemas.servicestack.net/types" rel="nofollow">http://schemas.servicestack.net/types</a>}CadastroUsuarioResponse> can not be found in the schemas</em></p>
  
  <p><em>Part  in Message &lt;{<a href="http://schemas.servicestack.net/types" rel="nofollow">http://schemas.servicestack.net/types</a>}ContratoImovelIn> referenced Type &lt;{<a href="http://schemas.servicestack.net/types" rel="nofollow">http://schemas.servicestack.net/types</a>}ContratoImovel> can not be found in the schemas</em></p>
  
  <p>plus 48 more like these Part in message errors</p>
  
  <p>The WSDL is auto-generated and is being consumed successfully by other systems.</p>
  
  <p>Any ideias?</p>
  
  <p>Thanks</p>