/** * Adds a new <code>Timestamp</code> to a soap envelope. * * A complete <code>Timestamp</code> is constructed and added to the * <code>wsse:Security</code> header. * * @return Document with Timestamp added * @throws Exception */ public Document build() { LOG.debug("Begin add timestamp..."); prepare(); prependToHeader(); return getDocument(); }