You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2016/05/06 10:14:12 UTC

[jira] [Resolved] (CXF-5830) Support usage of WADL instead of the JAX-RS annotated class

     [ https://issues.apache.org/jira/browse/CXF-5830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin resolved CXF-5830.
-----------------------------------
    Resolution: Later

Hey JB - lets discuss offline if there's still any interest in it. Trying to clean up the list of issues. thanks

> Support usage of WADL instead of the JAX-RS annotated class
> -----------------------------------------------------------
>
>                 Key: CXF-5830
>                 URL: https://issues.apache.org/jira/browse/CXF-5830
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Sergey Beryozkin
>
> Right now, to create a REST service (directly in CXF or using camel-cxf in a Camel route), we have to provide a JAX-RS annotated class.
> It's required by both server/consumer endpoint, but also for client/producer endpoint.
> It would be great to use a WADL instead of the annotated class, as we do with the WSDL for SOAP services.
> The CXFRS client can be invoked in a web client mode where no class is needed. However, it would be great to optimize it a bit, say pass WSDL document, may be some XPath expression to a given request and let it happen.
> This can work in a typeless response mode for GETs so we'd get all the info from WADL and then provide JAX-RS response. Or may be even in a type mode if we know "Book" (some concrete model) is returned.
> Once it's supported by CXF, I will enhance the camel-cxfrs component to use directly a WADL without the JAX-RS annotated class.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)