Thanks a lot Horst for providing the code snippet that can be used for WSSecurity CallBack.