DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9815>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9815

WSDL2Java doesn't honor restrictions in schema

           Summary: WSDL2Java doesn't honor restrictions in schema
           Product: Axis
           Version: beta-2
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Serialization/Deserialization
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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.

Reply via email to