Document doc = unsignedEnvelope.getAsDocument();
WSSecHeader secHeader = new WSSecHeader();
secHeader.insertSecurityHeader(doc);
log.info("Before SAMLUnsignedSenderVouches....");
Document signedDoc = wsSign.build(doc, assertion, secHeader);
log.info("After SAMLUnsignedSenderVouches....");
/*
* convert the resulting document into a message first. The toAxisMessage()
* method performs the necessary c14n call to properly set up the signed