np, there's a bit of confusion. In this thread a user asked why JAX-RS service classes were not visible (were not possible to load) inside a webapp bundle context. Nothing to do with DOSGi. In you similarly named thread you asked why JAX-RS annotated resources were not recognized (as opposed to the case where an external user model was used). I believe such issues are always caused by missing imports and suggested to check the way DOSGi greeter_rest demo does it, because it also has interface and impl bundles...Have a look at that demo and see if you can make your own application work
Cheers, Sergey On Thu, Jun 23, 2011 at 8:20 AM, mah <[email protected]> wrote: > > Sergey Beryozkin-5 wrote: >> >> Can you please reply in the relevant thread :-) There should be >> another one related to CXF JAX-RS in DOSGi... >> > > No, it is precisely the one =) > Initial problem is that JAX-RS annotations were not processed. Yesterday you > wrote, about 'webapp' bundle deployment and that it worked fine. Therefore I > was confused, whereas I am correctly launching Felix with CXF DOSGi. > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/CXF-DOSGi-is-ignoring-JAX-RS-annotations-tp4495048p4516571.html > Sent from the cxf-user mailing list archive at Nabble.com. >
