Back to bug 1040732

Who When What Removed Added
Kyle Lape 2013-12-12 02:08:18 UTC Target Release EAP 6.2.CP0a EAP 6.3.0
Blocks 1040729 1040731
Depends On 1040703
Kyle Lape 2014-02-18 21:38:45 UTC Summary JAXBDataBinding can not handle the exception with generic objects like ObjectWithGenerics<Boolean, Integer> [GSS] (6.3.0) JAXBDataBinding can not handle the exception with generic objects like ObjectWithGenerics<Boolean, Integer>
Kyle Lape 2014-02-18 21:49:12 UTC Status NEW POST
Petr Sakař 2014-03-05 08:37:29 UTC CC psakar
Alessio Soldano 2014-04-04 15:01:18 UTC Status POST ON_QA
Target Milestone --- DR0
Petr Sakař 2014-04-08 09:42:37 UTC Status ON_QA ASSIGNED
Russell Dickenson 2014-05-13 05:28:42 UTC CC klape
Doc Text When an `Exception` class has some generic objects as in the following example, the WSDL generated from the exception class is wrong and the SOAP fault message is not expected. The root cause of this is not yet known and a workaround is not available.

----
@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;
}
}
----
Flags needinfo?(klape)
Kyle Lape 2014-06-05 23:17:01 UTC Blocks 1040703
Flags needinfo?(klape)
Kyle Lape 2014-06-05 23:30:16 UTC Doc Text When an `Exception` class has some generic objects as in the following example, the WSDL generated from the exception class is wrong and the SOAP fault message is not expected. The root cause of this is not yet known and a workaround is not available.

----
@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;
}
}
----
When an `Exception` class has some members with type parameters defined as in the following example, the WSDL generated from the exception class is wrong and the SOAP fault message is not expected.

----
@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;
}
}
----
John Skeoch 2014-06-18 07:21:18 UTC CC psakar nobody
Scott Mumford 2014-06-30 23:57:17 UTC CC smumford
Doc Text When an `Exception` class has some members with type parameters defined as in the following example, the WSDL generated from the exception class is wrong and the SOAP fault message is not expected.

----
@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;
}
}
----
Previous releases of JBoss EAP 6 carried an issue that presented when an `Exception` class contained some members with type parameters defined as shown the following example.

The WSDL generated from the exception class was incorrect and the SOAP fault message was not expected.

----
@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;
}
}
----

This issue was resolved upstream and the fix incorporated into this release of the product.
Rostislav Svoboda 2014-07-01 07:42:21 UTC Status ASSIGNED ON_QA
Jan Blizňák 2014-07-01 08:51:45 UTC Status ON_QA VERIFIED
CC jbliznak
Target Milestone DR0 ER8
Pavel Slavicek 2014-08-06 14:38:32 UTC Status VERIFIED CLOSED
Resolution --- CURRENTRELEASE
Last Closed 2014-08-06 10:38:32 UTC

Back to bug 1040732