You are viewing a plain text version of this content. The canonical link for it is here.
Posted to savan-dev@ws.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2010/05/03 21:49:56 UTC

[jira] Resolved: (AXIS2-4701) JAX-WS: Error when processing a JAXB enum that lacks certain methods

     [ 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org