PDA

View Full Version : Spring ,Axis and XwsSecurityInterceptor



dan_pretty_boy
Jul 21st, 2006, 09:24 AM
Hi Folks,

I have running Spring and axis calling a .net webservice, we have decide to use Ws-Security and I want to the use XwsSecurityInterceptor thats in the Spring-WS. How can I attach XwsSecurityInterceptor onto my existing code.

I am using the JaxRpcPortProxyFactoryBean to call my web service and I dont know how to attach the interceptor


Any ideas or can this be done


Thanks
Danny

Arjen Poutsma
Jul 21st, 2006, 06:01 PM
It can't. The XwsSecurityInterceptor is meant for use with Spring-WS, and that it doesn't work with Axis. However, the XWS-Security toolkit does have JAX-RPC capabilities itself, so you don't need the XwsSecurityInterceptor.

Read here: http://java.sun.com/webservices/docs/1.6/tutorial/doc/, chapter 4 onwards.