on 08-29-2011 1:14 PM
Hi all,
I have got a problem with the SOAP receiver adapter on PI 7.1. If have configured the securtiy profile: Web Services Security on the SOAP receiver adapter. On the related receiver agreements I have chosen the Oasis security standard. As request and response security procedure I had to quote none since the adessed web service supports neither signing nor encryption.
On sending my message to the web service I'm getting the following response:
Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: WSDoAllReceiver: Incoming message does not contain required Security header.
Is the anything I might have missed? Does the SOAP receiver adapter support the quoted constallation of security parameters?
Kind regards,
Heiko
Hieko,
I would suggest you to have a look on following blog which i have written on configuring the WSSE in SOAP adapter.
/people/rajendra.badi/blog/2011/08/24/configuring-wsse-digital-signing-and-encryption-using-sap-pi-711-aae-soap-adapter,
Please cross check all the steps mentioned in this.
From error message i could see that, SOAP receiver adapter expecting the WSSE security header and it;s not finding it in the response message hence it's giving this error. Please double check that in the Receiver agreement, for response side you have not checked any security like decrypt or verify sign.
Thanks,
RK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hieko,
First thing want to give you info is that, SOAP adapter does not process/support User name token in the XI message. User name token can be processed in the AXIS adapter. to use it, you need to change the protocol from SOAP to AXIS mode in the SOAP adapter channel. I feel because of not supporting this user name token by SOAP adapter, you are getting this issue.
You can go through the following link for AXIS adapter config:
http://help.sap.com/saphelp_nwpi711/helpdata/en/48/327519a3af58d8e10000000a421937/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello RK,
the header is the following (I have changed the username and digest):
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:gas="http://gas-xml.de/3.2/gas-x-ws">
<soapenv:Header>
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken-1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>anyuser</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">anydigest</wsse:Password>
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">anydigest<wsse:Nonce>
<wsu:Created>2011-08-16T13:41:59.607Z</wsu:Created>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
Kind regards,
Heiko
PS: I was able to send the message to the target system by applying an xslt mapping in order to manipulate the SOAP header.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello RK,
Thank you for sending me the reference to your blog.
It describes how to use the security mechanismn with signatures. This doesn't solve my problem since the service to be used doesn't support them. What I have done in the meantime was to generate a mock service and to send some testdata against it. The SOAP header didn't contain the required credentials. Since I suppose my constellation isn't supported by the SOAP adapter. Wonder why!?
Kind regards,
Heiko
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.