You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Tom Jordahl <to...@macromedia.com> on 2002/12/02 21:33:05 UTC
RE: how does axis handles restrictions
Missing functionality.
Patches welcome. :-)
--
Tom Jordahl
Macromedia Server Development
-----Original Message-----
From: Ankit [mailto:ankitc@ltp.soft.net]
Sent: Wednesday, November 27, 2002 2:08 AM
To: axis-user@xml.apache.org
Subject: how does axis handles restrictions
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