My schema is like
 
 <simpleType name="Attribute">
    <restriction base="string">
      <length minLength="1"/>
    </restriction>
  </simpleType>
  <simpleType name="Class">
    <restriction base="Attribute">
      <enumeration value="First"/>
      <enumeration value="Business"/>
      <enumeration value="Coach"/>
    </restriction>
  </simpleType>
When I run WSDL2JAVA, I expected that it will genrate the code like
_class extends Attribute 
but it does not happen. I can not use extension instead of restriction
because extension does not support enumeration as content.
Any suggestions???????/
thanx in advance 
Ankit
 

Reply via email to