JBoss Community

CXF services in a war

created by spyhunter99 in JBoss Web Services - View the full discussion

Previously with the native stack, i would deploy my services in a war, referencing the service implementation classes from web.xml as servlets. I also had serious of soap handlers that were attached via standard-jaxws-endpoint config xml files.

 

I'm now experimenting with the cxf stack. The service implementations as servlets in the web.xml work just fine. However, as I'm reading through the documentation here https://community.jboss.org/wiki/JBossWS-StackCXFUserGuide  there's a few things that aren't clear. If I use the jbossws-cxf.xml file to define the services AND define them in web.xml, will they be deployed twice?

 

Is it possible to use a relative URL in jbossws-cxf.xml?

 

If I'm using container based authentication mechanisms, will they still be applied to endpoints deployed using the cxf.xml file?

 

Should I not be using the web.xml method?

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community