Skip to Content
0
Former Member
Apr 23, 2010 at 08:56 PM

WS Security Exception

100 Views

Hi,

While testing XML Signing using WS Security, we are getting the below error in the SOAP channel:

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: [_policy0230] The part /soap:Envelope/soap:Body was required to be signed by the policy with the transformations [], (http://www.w3.org/2001/10/xml-exc-c14n#%7D%5D,) but the signature was not accepted. (Info: number of valid signatures: 1, number of accepted signer certificates: 1.).. To-String: com.sap.security.core.policy.exceptions.VerifyException: [_policy0230] The part /soap:Envelope/soap:Body was required to be signed by the policy with the transformations [], (http://www.w3.org/2001/10/xml-exc-c14n#%7D%5D,) but the signature was not accepted. (Info: number of valid signatures: 1, number of accepted signer certificates: 1.).;

Could you please provide your inputs on this?

Thanks,

Jaya