title: wsimport "Cannot resolve the name..."
body: <p>I've been trying to import the following web service: <a href="http://soap.genome.jp/KEGG.wsdl" rel="noreferrer">http://soap.genome.jp/KEGG.wsdl</a> with ${JAVA_HOME}/bin/wsimport:</p>
  
  <pre><code>wsimport -version
  JAX-WS RI 2.1.6 in JDK 6
  </code></pre>
  
  <p>but I got the following error:</p>
  
  <pre><code>parsing WSDL...
  
  [WARNING] src-resolve: Cannot resolve the name 'soapenc:Array' to a(n) 'type definition' component.
    line 19 of http://soap.genome.jp/KEGG.wsdl#types?schema1
  
  [ERROR] undefined simple or complex type 'soapenc:Array'
    line 19 of http://soap.genome.jp/KEGG.wsdl
  (....)
  </code></pre>
  
  <p>Does the problem comes from the WSDL or from the implementation of wsimport ? should I use another tool ?</p>
  
  <p>Thanks</p>
  
  <p>Pierre</p>