-
1. Re: jboss ws cxf client istantiated from a spring context without spring libraries in common/lib
rwoods Mar 14, 2012 5:53 AM (in response to luigi12)Hi Luigi, i had the same problem.
The CXF Bus implementation is defined in the file:
${jboss.server.home.url}/deployers/jbossws.deployer/jbossws-cxf-factories.jar!/META-INF/services/org.apache.cxf.bus.factory
Change the first line from "org.jboss.wsf.stack.cxf.client.configuration.JBossWSBusFactory" to "org.jboss.wsf.stack.cxf.client.configuration.JBossWSNonSpringBusFactory" to skip the Spring auto-discovery feature and always use the non-spring bus. That should allow you to decouple your project's build from the ws implementation.
-
2. Re: jboss ws cxf client istantiated from a spring context without spring libraries in common/lib
luigi12 Mar 15, 2012 5:33 AM (in response to rwoods)Well Richard, the changed configuration is consistent wth the fact that the spring libraries are not deployed in jboss libs.
As soon as possible I will try to put the modified jbossws-cxf-factories.jar in the classpath of the war application, in order to further decouple the application from the host jboss
(I still don't know if it will work, due to the ClassLoader problems ..)
Thank you very much.
by Luigi