Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.10, 2.5.6, 2.6.3, 2.7
-
None
-
Unknown
Description
Fixes for CXF-4542 and CXF-4542 introduced this regression where an Exception class with a Collection was always represented as the Collection type instead of the Paramatized Type.
Example:
@WebFault
public class CustomException extends Exception {
private ArrayList<MyData> names;
...
<xs:complexType name="CustomException">
<xs:sequence>
<xs:element name="names" nillable="true" type="tns:arrayList"/>
</xs:sequence>
But it should be
<xs:complexType name="CustomException">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="names" type="tns:myData"/>
</xs:sequence>