You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "mustafa (JIRA)" <ji...@apache.org> on 2013/03/05 11:49:13 UTC
[jira] [Commented] (CXF-4874) Data types for Fields not correctly
published in WSDL from Exception classes
[ https://issues.apache.org/jira/browse/CXF-4874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13593309#comment-13593309 ]
mustafa commented on CXF-4874:
------------------------------
I've attached a proposed patch which is essentially the same as the patch for CXF-4847 but checks for Field Types.
> Data types for Fields not correctly published in WSDL from Exception classes
> ----------------------------------------------------------------------------
>
> Key: CXF-4874
> URL: https://issues.apache.org/jira/browse/CXF-4874
> Project: CXF
> Issue Type: Bug
> Components: JAXB Databinding
> Affects Versions: 2.4.10, 2.5.6, 2.6.3, 2.7.0
> Reporter: mustafa
> Assignee: Jim Ma
> Attachments: CXF4874.proposed.patch
>
>
> 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>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira