Hi all,

I'm trying to get CXF to work with OSGi and the HTTP Service. While I can
get the bundles to run in my OSGi instance (Felix), I am not able to get my
own Endpoints registered.

I created a custom servlet that extends the CXFNonSpringServlet. In this
servlet I create Endpoints using Endpoint.publish.
This is where I run into the problem that the default Java Endpoint
publisher is used, and not the CXF one.

The following exception is thrown:

"java.lang.IllegalArgumentException: Cannot create URL for this address
/TestResource

at com.sun.xml.internal.ws.transport.http.server.EndpointImpl.publish(
EndpointImpl.java:222)"

What is the right way to get the proper Endpoint publisher?

-- 
Met vriendelijke groet,

Alexander Broekhuis

Reply via email to