on 03-18-2007 2:04 PM
Hi,
I am trying without success to call a simple web service via C#.
This web service is configured to work with X.509.
In the C# project, I accessed the WSE setting 2.0 and added the policy.
I then wrote some code in order to make the call to that web service but I get an exception :
System.Web.Services.Protocols.SoapException: 00188B3106AA0067000001A20000074400042BF3F81EF158 : An error occurred during processing the timestamp. The
error was: com.sap.security.core.ws.wss.NoSecurityHeaderException No wsse:Security header has been defined for role soap:finalActor. Please verify th
e policy configuration..
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolea
n asyncCall)
What shoul I do ?
Thanks.
Regards.
Hi David,
maybe the following postings will help you ?
<a href="http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/121b053d-0401-0010-539f-f9295efb7bad">Creating a .NET Client for a SAP Java Web Service</a>
Best regards,
André
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andre,
Thanks for this document which is helpfull.
I still have an exception :
System.Web.Services.Protocols.SoapException: 00188B3106AA007C0000001A0000299400042C039B3E8465 : Error during the generation of encryption element. Err
or was: com.sap.security.core.securitypolicy.assertions.cert.WSSEKeystoreException Could not resolve certificate with X509v3 extension SubjectKeyIdent
ifier WebServiceSecurity in keystore view 38:2A:F7:31:B6:C7:B1:EE:F0:B9:9A:67:E4:45:16:47:8B:66:40:A1.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolea
n asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
Do you know what did I do wrong ?
My web service is configured as follow :
HTTP + Doc authentication X.509
Thanks for the help.
Regards.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
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.