cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: How to expose JAX-RS service via Camel transport?
Date Thu, 28 Jun 2012 16:45:17 GMT
On 28/06/12 17:38, wolfram wrote:
> Hi.
>
> I have REST service with definition like
>
>
> It's located in CXF configured via spring configuration with camel backend.
> I've successfully exposed JAX-WS services in the following way:
>
>
> So, I want to expose my REST service in similar way. But there is no
> "endpoint" definition in http://cxf.apache.org/schemas/jaxrs.xsd
>
> So could anybody give me a hint if is it possible to expose REST via camel
> backend? If no is any way exists to expose it from standalone application
> (without servlet container)?
>


The service bean should be shared between jaxws and jaxrs endpoints 
(jaxrs:server in the latter case), example:
http://cxf.apache.org/docs/jax-rs-and-jax-ws.html

See also

http://sberyozkin.blogspot.ie/2011/05/how-to-use-camel-transport-with-cxf-jax.html

HTH, Sergey

>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/How-to-expose-JAX-RS-service-via-Camel-transport-tp5710423.html
> Sent from the cxf-user mailing list archive at Nabble.com.



Mime
View raw message