Ivan_Chung
16 years agoNew Contributor
The signature or decryption was invalid
Dear all:
I have a project with following WS-Security setting:
1) incoming (encryption and signature).
2) outgoing (encryption and signature).
3) A keystore with my privatey key and server's public key.
Everything work fine in SOAPUI 2.0.2. But in Version 2.5.1, I got the error "WSSecurityException: The signature or decryption was invalid" while getting the incoming response.
org.apache.ws.security.WSSecurityException: The signature or decryption was invalid
at org.apache.ws.security.processor.SignatureProcessor.verifyXMLSignature(SignatureProcessor.java:429)
at org.apache.ws.security.processor.SignatureProcessor.handleToken(SignatureProcessor.java:85)
It seems that the encryption is OK but the signature is not. It's quite strange cause everything is fine in version 2.0.2.
Also, I've checked my server's log, the server can verify the signature and decrypt the request message without any problem. It just the SOAPUI cannot verify the response.
Any help would be very appreciated.
Regards
Ivan
I have a project with following WS-Security setting:
1) incoming (encryption and signature).
2) outgoing (encryption and signature).
3) A keystore with my privatey key and server's public key.
Everything work fine in SOAPUI 2.0.2. But in Version 2.5.1, I got the error "WSSecurityException: The signature or decryption was invalid" while getting the incoming response.
org.apache.ws.security.WSSecurityException: The signature or decryption was invalid
at org.apache.ws.security.processor.SignatureProcessor.verifyXMLSignature(SignatureProcessor.java:429)
at org.apache.ws.security.processor.SignatureProcessor.handleToken(SignatureProcessor.java:85)
It seems that the encryption is OK but the signature is not. It's quite strange cause everything is fine in version 2.0.2.
Also, I've checked my server's log, the server can verify the signature and decrypt the request message without any problem. It just the SOAPUI cannot verify the response.
Any help would be very appreciated.
Regards
Ivan