• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
David Brossard
Ranch Hand
Posts: 109
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic