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://cxf.547215.n5.nabble.com/Only-1-of-3-services-gets-registered-tp5725927.html
Sent from the cxf-user mailing list archive at Nabble.com.