We have a set of web services implemented in JAX-WS and a SOAPHandler
that adds control attributes in the SOAP headers.
Today, we need to add the @HandlerChain
annotation in every new service we create.
The idea is that new services implementors do not need to know that a @HandlerChain
exists.
Is there a way to configure a global Handler
that intercepts all services running in my WAR?
JaxWsPortProxyFactoryBean
) then you can try to inject@HandlerChain
annotation programatically before passing the SEI interface tojavax.xml.ws.Service#getPort()
. – Dividivi