Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
2 replies Latest Post - ‏2011-07-22T20:18:10Z by mbates
mbates
mbates
2 Posts
ACCEPTED ANSWER

Pinned topic Callback Handler for JAX-WS client service in WebSphere 7.0/RAD 7.5

‏2011-07-21T20:09:59Z |
I'm trying to add a custom callback handler to a client web service (JAX-WS), but cannot find any information related to it. All the information out there requires a keystore, which was not required as part of JAX-RPC.

I'm converting several client web services from JAX-RPC to JAX-WS, and we implement the WS-Security header with a custom username token generator. For JAX-RPC, this is done via a simple wizard, where you create the token and token generator, and it inserts the WSSE information at runtime (using the custom CallbackHandler). For JAX-WS, all the WS-Security wizards require a keystore, and there's no information on just adding the custom CallbackHandler. For JAX-RPC, this configuration was done in the "WS Extension" and "WS Binding" tabs of the deployment descriptor. I've attempted to do it from the Services > Clients in my web project (which lists both RPC and WS services), but again, running into the keystore issue. I've also attempted it from the adminconsole, but it's not working as configured.

I'm using RAD 7.5 and WebSphere App Server 7.0.

How do I add a custom callback handler for WSSE to a client JAX-WS web service?
Updated on 2011-07-22T20:18:10Z at 2011-07-22T20:18:10Z by mbates
  • DGawron
    DGawron
    50 Posts
    ACCEPTED ANSWER

    Re: Callback Handler for JAX-WS client service in WebSphere 7.0/RAD 7.5

    ‏2011-07-22T18:05:10Z  in response to mbates
    It doesn't sound like you are using Web Experience Factory. I'd suggest posting this question to a RAD or WebSphere forum; you'll get a better response that way.
    • mbates
      mbates
      2 Posts
      ACCEPTED ANSWER

      Re: Callback Handler for JAX-WS client service in WebSphere 7.0/RAD 7.5

      ‏2011-07-22T20:18:10Z  in response to DGawron
      Thanks. I've created a post under WebSphere here: http://www.ibm.com/developerworks/forums/thread.jspa?threadID=378264