You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jim Ma (JIRA)" <ji...@apache.org> on 2013/12/09 07:13:06 UTC
[jira] [Resolved] (CXF-5437) JAXBDataBinding can not handle the
exception with generic objects like ObjectWithGenerics
[ https://issues.apache.org/jira/browse/CXF-5437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Ma resolved CXF-5437.
-------------------------
Resolution: Fixed
> JAXBDataBinding can not handle the exception with generic objects like ObjectWithGenerics<Boolean, Integer>
> -----------------------------------------------------------------------------------------------------------
>
> Key: CXF-5437
> URL: https://issues.apache.org/jira/browse/CXF-5437
> Project: CXF
> Issue Type: Bug
> Components: JAXB Databinding
> Affects Versions: 3.0.0-milestone1, 2.7.8, 2.6.11
> Reporter: Jim Ma
> Assignee: Jim Ma
> Fix For: 3.0.0-milestone2, 2.6.12, 2.7.9
>
>
> When the Exeception has some generics object like :
> {code}
> @javax.xml.ws.WebFault
> public class GenericsException extends Exception {
> private static final long serialVersionUID = 1L;
> private ObjectWithGenerics<Boolean, Integer> obj;
> public ObjectWithGenerics<Boolean, Integer> getObj() {
> return obj;
> }
> public void setObj(ObjectWithGenerics<Boolean, Integer> obj) {
> this.obj = obj;
> }
> }
> {code}
> Both the wsdl generated from the exception class is wrong and soap fault message is not expected.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)