Skip to Content
0
Jan 10, 2012 at 11:20 AM

issues decrypting en Receiver SOAP COMM CHANNEL

77 Views

Hi expert.

I'm developping a synchronous interface in SAP PI 7.1 in order to consume one web service.

To do that, the web service needs one certificate to sing and encrypt the info. It's working fine and the web service is sending back to PI the response xml.

The problem is that the respose xml file is encrypted and I need to decrypt it.

Then, I configure the "Security proceduce (Response) = Decrypt" in Receiver Agreement and choosed the same certificate to sing and encrypt.

When test the whole interface via SoapUI, the interface doesn´t work.

The issue is raising in decrypt part:

com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.security.lib.exception.SecurityException: SecurityException in method: verify( Message, byte[], CPALookupObject ). Message: SecurityException in method: verify( Message, byte[], CPALookupObject ). WSSEThread-Exception: SecurityException in method: run(). Message: No SecurityTokenReference was found in the xenc:EncryptedKey/KeyInfo/SecurityTokenReference/KeyIdentifier element.

Any idea????

Thanks in advance.