Hi Artur,
/services is the CXF context.
To change it, you have to change the CXF config in
etc/org.apache.cxf.osgi.cfg:
org.apache.cxf.servlet.context=/services
Regards
JB
On 06/30/2016 07:28 AM, Artur Lojewski wrote:
Hi,
I am implementing a REST service with Apache Karaf 4.0.5 with JAX-RS
annotations only, i.e. no web.xml. My implementation uses the
@ApplicationPath("/abc") and @Path("/def") annotations.
When I deploy my bundle into Karaf I can successfully access the service via
http://localhost/services/abc/def
However, I want
http://localhost/abc/def
It seems like my implementation missed something. I assumed that
@ApplicationPag("abc") should be sufficient, but it does not.
Can anybody give me a hint how this can be fixed?
Best Regards,
Artur
--
View this message in context:
http://karaf.922171.n3.nabble.com/JAX-RS-Annotations-and-Apache-Karaf-4-0-5-tp4047001.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com