I am using trying too use the non-Spring CXF servlet  (JBoss web container)

@WebServlet(value="/mycxf/*", name="MyCxfServlet")
public class CxfServlet extends CXFNonSpringServlet {
    public void init(ServletConfig sc) throws ServletException {
                setBus(BusFactory.getDefaultBus());
        super.init(sc);
        }

}

With the following routes in a DefaultCamelContext

from("cxf:/xyzabc?dataFormat=MESSAGE&serviceClass=DummyService").to("log:input");

from("cxf:/abcxyz?dataFormat=MESSAGE&serviceClass=DummyServiceA").to("log:input");

from("cxf:/123456?dataFormat=MESSAGE&serviceClass=DummyServiceB").to("log:input");
        
When I access the server at .../mycxf  I get a service list that only
contains one of the three services defined by the routes.

I can append the service address and ?wsdl and get the "WSDL" content
(generated from the serviceClass).

Anyone that have any ideas what the problem could be?

Thanks

Lars

 



--
View this message in context: 
http://camel.465427.n5.nabble.com/Only-one-cxf-endpoint-exposed-using-non-Spring-CXF-servlet-tp5730169.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to