[
https://issues.apache.org/jira/browse/AXIS2-4388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rich Scheuerle resolved AXIS2-4388.
-----------------------------------
Resolution: Fixed
Committed Revision: 785647
> JAX-WS: ClassNotFoundException for JAX-WS parameter
> ---------------------------------------------------
>
> Key: AXIS2-4388
> URL: https://issues.apache.org/jira/browse/AXIS2-4388
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Reporter: Rich Scheuerle
> Assignee: Rich Scheuerle
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> If a JAX-WS web method contains a parameter that is an array, the
> following ClassNotFoundException may occur:
>
> org.apache.axis2.jaxws.description.builder.DescriptionBuilderUtils forName
> Exception thrown from AccessController:
> java.lang.ClassNotFoundException:[com.xxxx.xxxxClass
> ...
> org.apache.axis2.jaxws.description.builder.DescriptionBuilderUtils.loadClassFromComposite(DescriptionBuilderUtils.java:325)
>
> ...
> Solution:
> The problem is in the DescriptionBuilderUtils.reparseIfArray method. If the
> input representation of the class is not in a correct binary form, then it is
> corrected.
> For example, sometimes a [my.Foo is input instead of the required [Lmy.Foo;
> The new code will now correctly add the "L" and ";"
> Kudos to Paul Mariduena for his work with the design and testing of this fix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.