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?
Pinned topic Callback Handler for JAX-WS client service in WebSphere 7.0/RAD 7.5
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2011-07-22T20:18:10Z at 2011-07-22T20:18:10Z by mbates
DGawron 10000054HC50 Posts
Re: Callback Handler for JAX-WS client service in WebSphere 7.0/RAD 7.52011-07-22T18:05:10ZThis is the accepted answer. This is the accepted answer.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 270002GY7Y2 Posts
Re: Callback Handler for JAX-WS client service in WebSphere 7.0/RAD 7.52011-07-22T20:18:10ZThis is the accepted answer. This is the accepted answer.
- DGawron 10000054HC