title: No enums generated by jax-ws ri 2.2.1 for amazon ecs wsdl file
body: <p>I'm attempting to generate artifacts for the following amazon wsdl:<br>
  <a href="http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl" rel="noreferrer">http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl</a>  </p>
  
  <p>using the following ant task:</p>
  
  <pre><code>&lt;taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport"&gt;
      &lt;classpath&gt;
          &lt;pathelement location="${BUILD_LIBS}/jaxws-ri/lib/jaxws-tools.jar"/&gt;
      &lt;/classpath&gt;
  &lt;/taskdef&gt;
  
  &lt;target name="wsimport" depends="init"&gt;
      &lt;delete dir="${generated.src}" /&gt;
      &lt;mkdir dir="${generated.src}"/&gt;
      &lt;wsimport
          debug="true"
      keep="true"
      verbose="true"
      destdir="${generated.src}"
      package="com.amazon.webservices.ecs"
      wsdl="wsdl/AWSECommerceService.wsdl"/&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p>but no java artifacts are generated for the following element which look like this:</p>
  
  <pre><code>&lt;xs:element name="Condition"&gt;
      &lt;xs:simpleType&gt;
          &lt;xs:restriction base="xs:string"&gt;
              &lt;xs:enumeration value="All"/&gt;
              &lt;xs:enumeration value="New"/&gt;
              &lt;xs:enumeration value="Used"/&gt;
              &lt;xs:enumeration value="Collectible"/&gt;
              &lt;xs:enumeration value="Refurbished"/&gt;
         &lt;/xs:restriction&gt;
     &lt;/xs:simpleType&gt;
  &lt;/xs:element&gt;
  </code></pre>
  
  <p>Basically no enums are generated even though all other elements are generated. Has anyone seen this problem before? I'm using jax-ws ri 2.2.1 <a href="http://jax-ws.java.net/2.2.1/" rel="noreferrer">http://jax-ws.java.net/2.2.1/</a><br>
  Thanks</p>