cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mustafa (JIRA)" <>
Subject [jira] [Created] (CXF-5538) Parameterized Types do not work on Exception Classes
Date Tue, 04 Feb 2014 14:08:09 GMT
mustafa created CXF-5538:

             Summary: Parameterized Types do not work on Exception Classes
                 Key: CXF-5538
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.7.9
            Reporter: mustafa

As part of the fix CXF-4542 we believe introduced this regression where an Exception class
with a Collection was always represented as the Collection type instead of the Paramatized


public class CustomException extends Exception {
private ArrayList<MyData> names;

This is what you get using fixes from JBPAPP-10566

<xs:complexType name="CustomException">
<xs:element name="names" nillable="true" type="tns:arrayList"/>

But it should be
<xs:complexType name="CustomException">
<xs:element maxOccurs="unbounded" minOccurs="0" name="names" type="tns:myData"/>

This message was sent by Atlassian JIRA

View raw message