Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Apply WSE to support ssl and digital signature using C#

franklinfranklin Member Posts: 2
I want to develop a web service using WSE to support "SSL" and "Digital Signature", but there is a trouble with setting service proxy's attribute. On the client side, I use "Add Web Reference" option to build my service proxy. The specific web method include the proxy(Reference.cs) is inherited form "System.Web.Services.Protocols.SoapHttpClientProtocol". For adding "X509SecurityToken", I modify the original class as "Microsoft.Web.Services.WebServicesClientProtocol" which also inherit form original one. After running, the exception show as following : "SoapHeaderException: System.Web.Services.Protocols.SoapHeaderException: can't identify SOAP header path。
at System.Web.Services.Protocols.SoapHeaderHandling.EnsureHeadersUnderstood(SoapHeaderCollection headers)
at System.Web.Services.Protocols.SoapServerProtocol.WriteReturns(Object[] returnValues, Stream outputStream)

help me kindly !


email: [email protected]
Sign In or Register to comment.