Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
David Brossard
Ranch Hand
Posts: 109
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!