on 01-25-2012 11:26 AM
Hi All,
I am trying to call a Microsoft WCF web service in PI (also tried soapUI) but keep getting certificate error.
I have tested the same service with Microsoft WcfTestClient and everything works..
WCF Service Setup
Service URL: https://hostname/servicename.svc
Security Mode: TransportWithMessageCredential
PI Setup 1 (Should be correct setup)
Communication Channel
Adapter Type: SOAP
Uses Configure Certificate Authentification
Uses Security Profile = Web Service Security
Receiver Agreement
Uses Security Procedure (Request) = Sign
Uses Set Timestamp
Uses Set Expiry Date = 7200
Error: Unable to resolve the '#wsuid-body-5ad10600-3c4a-11e1-c462-005056960025' URI in the signature to compute the digest.
In the SOAP message the references match
<ds:Reference URI="#wsuid-body-5ad10600-3c4a-11e1-c462-005056960025">
<SOAP:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-body-5ad10600-3c4a-11e1-c462-005056960025">
-
Tried the following setups as well
PI Setup 2
Communication Channel
Uses Security Profile = Web Service Security
Receiver Agreement
Uses Security Procedure (Request) = Sign
Uses Set Timestamp
Uses Set Expiry Date = 7200
Error: The security protocol cannot verify the incoming message.
PI Setup 3
Communication Channel
Uses Configure Certificate Authentification
Error: Security processor was unable to find a security header in the message. This might be because the message is an unsecured fault or because there is a binding mismatch between the communicating parties. This can occur if the service is configured for security and the client is not using security.
Any help would be greatly appreciated
Edited by: Christian Vilhelm Henriksen on Jan 26, 2012 10:13 AM
Found the following on Microsoft which looks similar to my problem.
What it says in short
To resolve this issue:
Do not sign the To header.
How do i do this in PI?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.