Rafael,

thank you for your message. Especially the note about FQCN for Endpoint is 
crucial for me! Can somebody update 
http://cwiki.apache.org/CXF20DOC/servlet-transport.html ?

>After, I configured CXFNonSpringServlet on my web.xml file and then I had
>setup a Servlet (it could be a filter as well) with loadonstartup to
>register the Services I had using: Endpoint.publish. Be careful not to
>import the wrong Endpoint (right one is from: javax.xml.ws) class.

Please put snippet, how to configure the Bus (setup the servlet). The web.xml 
part is clear:

 <servlet>
    <servlet-name>CXFServlet</servlet-name>
    <display-name>CXF Servlet</display-name>
    <servlet-class>
        org.apache.cxf.transport.servlet.CXFServlet
    </servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>CXFServlet</servlet-name>
    <url-pattern>/services/*</url-pattern>
  </servlet-mapping>

But how to manage this part?

// cxf is the instance of the CXFServlet
Bus bus = cxf.getBus();
BusFactory.setDefaultBus(bus); 

How have you solved it? Or is it set up behind the scene automatically in 2.0.5 
release? 

Thank you

Leos

Reply via email to