dbf.setNamespaceAware(true);
Document timestampDoc = dbf.newDocumentBuilder().newDocument();
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);