This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • 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
  • 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