[jboss-user] [JBoss Web Services] - CXF services in a war

spyhunter99 do-not-reply at jboss.com
Wed Jun 6 19:55:31 EDT 2012


spyhunter99 [https://community.jboss.org/people/spyhunter99] created the discussion

"CXF services in a war"

To view the discussion, visit: https://community.jboss.org/message/740302#740302

--------------------------------------------------------------
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/docs/DOC-13562 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
[https://community.jboss.org/message/740302#740302]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120606/a77aa868/attachment.html 


More information about the jboss-user mailing list