Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-119

WSDL2Java doesn't honor restrictions in schema

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Won't Fix
    • Affects Version/s: beta-2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Operating System: Windows NT/2K
      Platform: PC
    • Bugzilla Id:
      9815

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joe.riess@lexisnexis.com Joe Riess
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: