on 03-02-2016 1:19 PM
hi all,
We are sending data from SOAP system to ECC(RFC) system via PI. We are on AS java and using soap sender and RFC receiver synchronous communication. All the keys and certificates required are installed in NWA.
We got the below error in SOAP UI.
Scenario: SOAP -> SAP PI -> ECC (RFC) (Synchronous)
SOAP Error:
<!--see the documentation-->
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context>XIAdapter</context>
<code>ADAPTER.JAVA_EXCEPTION</code>
<text>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: [com.sap.ASJ.wssec.030197] Error while valdiating the digital signature. The error was com.sap.security.core.ws.wss.NoSecurityHeaderException No wsse:Security header has been defined for role soap:finalActor. Please verify the policy configuration... To-String: com.sap.security.core.policy.exceptions.VerifyException: [com.sap.ASJ.wssec.030197] Error while valdiating the digital signature. The error was com.sap.security.core.ws.wss.NoSecurityHeaderException No wsse:Security header has been defined for role soap:finalActor. Please verify the policy configuration..; To-String: com.sap.aii.security.lib.exception.SecurityException: SecurityException in method: run(). Message: [com.sap.ASJ.wssec.030197] Error while valdiating the digital signature. The error was com.sap.security.core.ws.wss.NoSecurityHeaderException No wsse:Security header has been defined for role soap:finalActor. Please verify the policy configuration... To-String: com.sap.security.core.policy.exceptions.VerifyException: [com.sap.ASJ.wssec.030197] Error while valdiating the digital signature. The error was com.sap.security.core.ws.wss.NoSecurityHeaderException No wsse:Security header has been defined for role soap:finalActor. Please verify the policy configuration...
please help to solve this issue.
regards,
Dileep
Hello Dileep,
Please post your XML structure and Soap Sender channel conifgs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Dileep.
Use XPI inspector and find out the exact cause.
Michal's PI tips: XPI inspector - help OSS and yourself
Using XPI Inspector to troubleshoot HTTP SSL connections (Part 1 - Server Authentication)
In issuer and subject tab for partner certificate you need to select light and root certificates extracted from partner public certificate.
are you using password and username for transport level security?? first make sure that it is working i.e, transport level security by unchecking select security profile in the channel(by removing digital signing).
Thanks for your reply.
In fact, it works fine without the security profile setting in sender channel.
I use basic login for the connection to PI.
And , I choose root certificate for the issuer and partner certificate for the subject too.
By the way, I also try to generate key pair in pi to test it with the soapui tool, still report that error.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.