[ http://issues.apache.org/jira/browse/AXIS-119?page=comments#action_12312923 ]
Tom Jordahl commented on AXIS-119: ---------------------------------- At this point Axis 1.x just doesn't support these kinds of restrictions. > WSDL2Java doesn't honor restrictions in schema > ---------------------------------------------- > > Key: AXIS-119 > URL: http://issues.apache.org/jira/browse/AXIS-119 > Project: Axis > Type: Bug > Components: Serialization/Deserialization > Versions: beta-2 > Environment: Operating System: Windows NT/2K > Platform: PC > Reporter: Joe Riess > Assignee: Axis Developers Mailing List > > The Java bean class which is generated via WSDL2Java using the following WSDL > schema section: > <wsdl:schema targetNamespace="http://www.lexisnexis.com/SimpleRestriction"> > <xsd:simpleType name="simpleRestrictionType"> > <xsd:restriction base="xsd:integer"> > <xsd:minInclusive value="1" /> > <xsd:maxInclusive value="10" /> > </xsd:restriction> > </xsd:simpleType> > </wsdl:schema> > does not contain any range checking with regards to the minInclusive and > maxInclusive values. The bean class accepts any valid integer value which is > contradictive to the schema. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
