cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Ma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-5437) JAXBDataBinding can not handle the exception with generic objects like ObjectWithGenerics<Boolean, Integer>
Date Fri, 06 Dec 2013 09:33:35 GMT
Jim Ma created CXF-5437:
---------------------------

             Summary: 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: 2.6.11, 2.7.8, 3.0.0-milestone1
            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#6144)

Mime
View raw message