C#

Moderators: None (Apply to moderate this forum)
Number of threads: 2722
Number of posts: 5749

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Apply WSE to support ssl and digital signature using C# Posted by franklin on 7 Mar 2003 at 2:46 AM
Hi:
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 !

regards

email: franklin_gmd@hotmail.com



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.