jQuery in Action, 2nd edition*
The moose likes Web Services and the fly likes Configure JAX-WS Handlers or handler chain without using the @HandlerChain annotation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Configure JAX-WS Handlers or handler chain without using the @HandlerChain annotation" Watch "Configure JAX-WS Handlers or handler chain without using the @HandlerChain annotation" New topic
Author

Configure JAX-WS Handlers or handler chain without using the @HandlerChain annotation

David Brossard
Ranch Hand

Joined: Jun 03, 2004
Posts: 109
Is there any possible way to avoid using an annotation to insert SOAP handlers in JAX-WS? It seems the XSD schema file that defines the format for sun-jaxws.xml does allow for <handler-chain> inside an <endpoint> element but when I try that I get an exception that there is invalid content in the jaxws file.
Today I have to write the following code:




but I would really love to get rid of the annotation.


No matter what they say in Ohio, we're still first in flight!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Configure JAX-WS Handlers or handler chain without using the @HandlerChain annotation