[
https://issues.apache.org/jira/browse/CXF-6855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15218160#comment-15218160
]
Sergey Beryozkin commented on CXF-6855:
---------------------------------------
It has to be collocated with other JAX-RS annotations on a given method. Is it
how it is done in your case ?
> 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
>
>
> 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)