0 Replies Latest reply: Feb 12, 2008 11:39 AM by 843844 RSS

    JAX-RPC from a standalone Java client

    843844
      OK, I give....

      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.