aspose file tools*
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
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!
 
 
subject: Configure JAX-WS Handlers or handler chain without using the @HandlerChain annotation