This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Configure JAX-WS Handlers or handler chain without using the @HandlerChain annotation