views:

61

answers:

0

in tomcat\lib there are axis*, axis2* jars.

I cannot delete them [sysadmin won't allow to do that].

My web-app invokes web-services.

I put Jax-ws jars directly to myapp/web-inf/lib. so inner calls frow a web app servlets use jax-ws libraries.

but since "destroy-method" of the bean invokes a web-service, and session is destroyed, then spring makes a service call through tomcat/lib/* = axis2 libraries, and not by using web-inf/lib/jax-ws*

How to:

a) while not deleting axis2 libs from shared tomcat folder b) make spring use jax-ws libraries to make a web-service call ?