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

Rich Scheuerle resolved AXIS2-4701.
-----------------------------------

    Resolution: Fixed

> JAX-WS: Error when processing a JAXB enum that lacks certain methods
> --------------------------------------------------------------------
>
>                 Key: AXIS2-4701
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4701
>             Project: Axis2
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Rich Scheuerle
>            Assignee: Rich Scheuerle
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> A java.lang.NoSuchMethodException:my.app.SampleEnum.fromValue may occur when 
> invoking a JAX-WS Web service.
> The problem will occur if the customer's java class (i.e. my.app.SampleEnum) 
> is a java enum and does not have a fromValue(java.lang.String) method.
> Here is an example error:
> Exception is java.lang.NoSuchMethodException:
> my.app.SampleEnum.fromValue(java.lang.String)
> Solution:
> I am changing the JAX-WS runtime to detect the missing fromValue method and 
> use a different algorithm to construct the enum constant.

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to