Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.10, 2.5.6, 2.6.3, 2.7
-
None
-
Unknown
Description
This fix relies on CXF-4847 and fixes the same issue described in this but for public Field Types.
Example:
@WebFault
public class CustomException extends Exception {
public 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>