Forum Discussion

Maheshreddy's avatar
Maheshreddy
New Contributor
6 years ago

Facing issue while generating signature using wss4j 2.1 api

I need to generate below elements with in the security tags..
1. Binarysecurity
2.signature
A. Digestmethod
B. Canonicalized
C. References
D. Keyinfo
I have to use id and to create signature for id from this element <wsa:To wsu:id="133" ><|wsa:To> ..attached java file.please share any working example to maheshreddy445@gmail.com.

Facing below issue for my attached code
sign.addReferencesToSign(signParts,secHeader) is throwing Error::signSoapMessage - No message with ID "noXMLSig" found
No RepliesBe the first to reply