I've spent 3-4 days trying to figure out the right way to consume a web service from a standalone Java client. This is something NOT running in any JEE container.
I can with out a problem consume the WSDL in Eclipse and generate the client stubs. But what I cannot figure out is how to inject the wsse security headers that are required by the service. I've read a lot about CallbackHandler and Handlers, but for the life of me I couldn't find anyway to register these outside of a JEE container.
We are running Jave 1.4.2 and JWSDP 1.5. Any help would be greatly appreciated.