[
https://issues.apache.org/jira/browse/CXF-6855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefaan Vanderheyden updated CXF-6855:
--------------------------------------
Attachment: ZoomitWadlBugTest.java
Updated the ZoomitWadlBugTest to show 2 variations of 3 scenarios:
- Generate WADL with CRI of web service interface:
* Interface w/ CXF & ElementClass annotation + Implementation w/o ElementClass;
* Interface w/ CXF & ElementClass annotation + Implementation w/ ElementClass;
* Interface w/ CXF w/o ElementClass + implementation w/ ElementClass;
- Generate WADL with CRI of web service implementation:
* Interface w/ CXF & ElementClass annotation + Implementation w/o ElementClass;
* Interface w/ CXF & ElementClass annotation + Implementation w/ ElementClass;
* Interface w/ CXF w/o ElementClass + implementation w/ ElementClass;
> ElementClass annotation is ignored on JAX-RS service interface when
> generating the WADL
> ---------------------------------------------------------------------------------------
>
> Key: CXF-6855
> URL: https://issues.apache.org/jira/browse/CXF-6855
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 3.0.8
> Reporter: Stefaan Vanderheyden
> Attachments: ZoomitWadlBugTest.java, ZoomitWadlBugTest.java
>
>
> For the purpose of generating a WADL, contrary to what would be dictated by
> best practices the "ElementClass" annotation is ignored by CXF when it is
> placed on the JAX-RS service interface.
> The annotation must be present on the service's implementation in order for
> the grammar section of the WADL to be generated correctly, and for the
> response types to be correctly linked to a grammar type.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)