axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Headrick (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-4615) BeanUtil.deserialize byte array (still) blindly attempts to decode the first element in the doc
Date Thu, 29 Apr 2010 04:43:51 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

William Headrick updated AXIS2-4615:
------------------------------------

    Attachment: TestService.java
                TestMessage1.java
                TestMessage2.java

Example POJO Service which should illustrate the problem.  "doTest1" should fail (byte array
won't be returned).  "doTest2" should succeed (byte array WILL be returned).

When code is fixed, both should return the byte array.

> BeanUtil.deserialize byte array (still) blindly attempts to decode the first element
in the doc
> -----------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4615
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4615
>             Project: Axis2
>          Issue Type: Sub-task
>          Components: adb, databinding, om
>    Affects Versions: 1.5.1
>            Reporter: William Headrick
>            Priority: Blocker
>         Attachments: TestMessage1.java, TestMessage2.java, TestService.java
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message