cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefaan Vanderheyden (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6855) ElementClass annotation is ignored on JAX-RS service interface when generating the WADL
Date Wed, 30 Mar 2016 16:54:25 GMT

    [ https://issues.apache.org/jira/browse/CXF-6855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15218309#comment-15218309
] 

Stefaan Vanderheyden commented on CXF-6855:
-------------------------------------------

Hello Sergey,

I uploaded a test that reproduces the problem.

You will see in the test that even when the ElementClass is colocated with
the rest of CXF's annotations, it also has to be on the service
implementation.

The test is pretty explicit.

BR,

Stefaan

On Wed, Mar 30, 2016 at 5:35 PM Sergey Beryozkin (JIRA) <jira@apache.org>



> 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)

Mime
View raw message