Hello list, The new sample class location is http://svn.apache.org/repos/asf/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/servlet/NoSpringServletServer.java
Regards, Alexey. willem.jiang wrote: > > Hi Nick, > > Since we use the spring to load the endpoint configuration in > CXFServlet, you have to do > some work to load the endpoint information by yourself beyond the > CXFNonSpringServlet. > Basically , you just need to use the bus which is loaded in the > CXFNonSpringServlet, and usethe Jaxws API > or the ServerFactoryBean API to create the endpoint. > > Here is an example[1] in the system test of the CXFNonSpringServlet. > > [1]https://svn.apache.org/repos/asf/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/servlet/NoSpringServletServer.java > > Willem. > > Nanook wrote: >> Let me start by saying that I am somewhat new to the CXF library and to >> JAXWS >> in general. I would like to deploy the service under Tomcat 5.5. and I >> have >> been able to get one of the samples to work using the standard CXFServlet >> configuration. However, our application server environment does not >> include >> Spring, nor do we care to include it at this time. I would really like to >> trim out the spring libraries and bootstrapping from the CXF dependency >> list. >> >> How can I get a web service to listen on a servlet transport without >> using >> Spring? I have read earlier posts referring to the CXFNonSpringServlet, >> but >> when I substitute this class in the web.xml for Tomcat, it does not work. >> There is little in the way of an error message, other than: "Can't find >> the >> the request for http://myhost/services/hello_world's Observer". >> >> Thanks in advance! >> >> --Nick >> > > > -- View this message in context: http://www.nabble.com/CXFNonSpringServlet-How-To--tp15356670p19608258.html Sent from the cxf-user mailing list archive at Nabble.com.
