ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-4701) JAX-WS: Error when processing a JAXB enum that lacks certain methods
Date Mon, 03 May 2010 19:49:56 GMT

     [ 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


Mime
View raw message