You could take a look at some of the samples to see how they are written,
for example:

https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/java_first_jaxws/src/main/webapp/WEB-INF

Colm.

On Tue, Aug 28, 2018 at 1:33 PM [email protected] <[email protected]>
wrote:

> Hey i am using maven from building the war file for deploying the project
> on tomcat.
> I am using apache cxf java2ws plugin for generating wsdl and xsd file
> I am able to generate the jaxws files, wsdl and xsd file
> but i am not able to generate cxf-servlet.xml or bean.xml which is
> required by tomcat server.
> And when i am manually creating the cxf-servlet.xml and placing it in
> WebContent folder and deploying
> it on tomcat I am getting an "javax.servlet.ServletException:
> Servlet.init()" exception.
>


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to