Hi,
Does anybody have any idea about how axis utility WSDL2JAVA  handles
Restrictions.

suppose I have schema like

<simpleType name="Attribute">
    <restriction base="string">
      <length minLength="1"/>
    </restriction>
  </simpleType>

<simpleType name="Test">
    <restriction base="Attribute">
      <enumeration value="First"/>
      <enumeration value="Business"/>
      <enumeration value="Coach"/>
    </restriction>
  </simpleType>

I expected that generated java code will have

"public class Test extends Attribute"

but it does not takes restriction into consideration. Is it a bug in
axis????

regards,
Ankit

Reply via email to