[b][red]This message was edited by franklin at 2003-3-7 2:40:40[/red][/b][hr]
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 !