I have a very simple web service. I would like to use a handler with the web service.
I followed the directions here:
I am using the HandlerChain annotation in the jws file:
These are the contents of the security-context-handler.xml:
<?xml version="1.0" encoding="UTF-8"?>
Here is the handler:
The issue was that the handler configuration was not being copied to the build directory. I changed the jws to have exploded=true, and added the ant copy command for that file after the jwsc ant command.
I hope this helps someone