views:

377

answers:

0

We are using the Sun RI for JAX-WS (2.1.4) and we have a need for orthogonal web service endpoint interceptors (authentication, extracting SOAP headers for context, etc). Apparently the "normal" JAX-WS way to do this is using the HandlerChain annotation.

This however forces us to modify the WSDL (even if we use the separate binding XML) and leads to explicit handler config in our stubs. CXF has a nice generic mechanism for adding "interceptors" which the RI implementation seems to lack.

The questions are:

  • Is there a JAX-WS standard way to configure and inject such orthogonal interceptors or handlers?
  • If not, is there a JAX-WS RI way to do it?