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/06 10:33:35 UTC
[jira] [Created] (CXF-5437) JAXBDataBinding can not handle the
exception with generic objects like ObjectWithGenerics
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)