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

PositiveInteger fields in a bean are incorrectly serialized (lowestSetBit attribute)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.2RC3
    • None
    • None
    • 1.4.2_06-b03, SuSE 9.2

    Description

      PositiveInteger fields in a bean are incorrectly serialized. On the wire there is a attribute "lowestSetBit" attribute for these elements which invalidates the message.

      The cause seems to be the change that was made in the class SimpleSerializer (version 1.35 -> 1.36, init() method). Since the if-statement in the init-method ("if (SimpleType.class.isAssignableFrom(javaType)") was removed the propertyDescriptor is sett. This propertyDescriptor then contains the lowestSetBit property as it is a property of the BigInteger class.

      Attachments

        1. axis_1857.patch
          3 kB
          Yves Langisch

        Activity

          People

            Unassigned Unassigned
            ylangisc Yves Langisch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: