WSSecTimestamp timestamp = new WSSecTimestamp();
timestamp.setTimeToLive(300);
timestamp.prepare(timestampDoc);
Element timestampElement = timestamp.getElement();
final WSSConfig cfg = WSSConfig.getNewInstance();
final RequestData reqData = new RequestData();
reqData.setWssConfig(cfg);
java.util.Map<String, Object> messageContext = new java.util.TreeMap<String, Object>();
messageContext.put(
WSHandlerConstants.PW_CALLBACK_REF, new CustomCallbackHandler(timestampElement)