4 weeks ago
Dear Experts,
I have a SOAP to SOAP scenario in SAP CPI. The target web service expects the request with SOAP envelope along with wsse:Security headers. This is built in the source system and sent to CPI as it is. The request coming to CPI looks something like this:
But it is currently failing at the SOAP sender adapter with the following error:
Could someone please explain what needs to be done? Currently I am not able to understand why the request is not even going into the iFlow. It simplay always fails at the sender SOAP adapter. It works when I remove the security headers from the SOAP envelope. I have set the "Service Definition" as Manual in the SOAP sender. Any help would be appreciated. Thanks!
Regards,
Faisal
Hi Faisal,
This is a well-known issue. The only workaround I know is to use API Management.
In APIM you can configure API proxy between your source system and CPI.
After successful authentication you can remove Web Service Security record from your message and add a basic authentication.
Of course you will have to add WS-Security on the CPI side. You can configure it in your SOAP receiver adapter in the WS-Security tab.
If it wouldn't be possible then you can store WS Security record somewhere in the message (maybe encoded in base64) in APIM and then restore this record on CPI side.
BR,
Andrzej
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
11 | |
8 | |
8 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.