Yes, but the java_first_jaxws example does not seem to use a servlet or
am I wrong there?
Christian
Am 28.09.2011 11:40, schrieb Willem Jiang:
cxf-servlet.xml will be loaded by CXFServlet for publishing the
endpoints.
On Wed Sep 28 15:30:46 2011, Christian Schneider wrote:
Hi Arambage,
cxf-servlet.xml is a spring config to start the cxf endpoint as a
servlet in a container. I just checked the java_first_jaxws demo.
I could simply remove the cxf-servlet.xml and the demo still works. So
I guess it is a leftover from when the example also had a mode to run
it in tomcat.
The calls "mvn -Pserver" and "mvn -Pclient" work without it.
Christian
Am 28.09.2011 09:10, schrieb Nuwan Arambage:
Hi All,
I'm new to cxf and I manged to run the java_first_jaxws and
java_first_pojo in samples folder bundled in cxf distribution. When I
go through code I find that cxf-servlet.xml file is there. I would
like to know the purpose of this file and I have noted, for these
examples(java_first_jaxws and java_first_pojo) cxf-servlet.xml file is
different. In pojo example, I couldn't see webservice annotations.
Hopefully, expecting a better answer from you...
Thanks
--
Fail again. Fail better
With Regards ,
Nuwan Arambage
--
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
Talend Application Integration Division http://www.talend.com