Missing functionality.
Patches welcome.  :-)

--
Tom Jordahl
Macromedia Server Development



-----Original Message-----
From: Ankit [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 27, 2002 2:08 AM
To: [EMAIL PROTECTED]
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

Reply via email to