Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-3538 RPCServiceClient response handling incorrect when there are multi byte[] object in the return bean
  3. AXIS2-4615

BeanUtil.deserialize byte array (still) blindly attempts to decode the first element in the doc

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: None
    • Component/s: adb, databinding, om
    • Labels:
      None

      Description

      This bug still exists in the 1.5.1 source code.

      If there is a byte array defined, the name of the element isn't used to look up the element from the "beanElement". The OMElementImpl#getFirstElement() method is used. There is a good chance that the byte array won't be first.

      These are the original issues that I can find:
      AXIS2-3538,AXIS2-3765

      Both 3538 and 3765 have proposed solutions.

        Attachments

        1. TestMessage2.java
          0.7 kB
          William Headrick
        2. TestMessage1.java
          0.7 kB
          William Headrick
        3. TestService.java
          0.3 kB
          William Headrick

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              headw01 William Headrick
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified