I have web services developed using Spring+ApacheCXF and I need tod eploy them on JBoss AS7. They are being deployed by CXFServlet properly.
But JBoss AS7 also deploying them by scanning @WebService annotations(as expected without Spring Injection).
How to disable scanning @WebService annotations in JBoss AS 7?
PS: I am deploying as a .war file.
PS PS: My current cxf webservices are being deployed properly. But JBoss AS7 also trying to scan @WebService classes and deploying them also(without dependencies injected).I am looking for a way to turn of JBossAS7's scanning for @WebService classes.