This post is based on learning on Adding SOAP Header username and password using WSE 3.0. This stackoverflow link was useful with clear steps
There were some challenges implementing the steps on VS 2010 and Win7 Machine
- Regenerate proxy class with wsewsdl3.exe with the /type:webClient
- While Trying to Generate Proxy using WseWsdl3.exe encountered error
- wsewsdl3.exe System.InvalidOperationException: Could not get the install directory for .NET Framework v2.0 SDK. Please install the .NET Framework v2.0 SDK.
- Fix for this was mentioned in link
- Add sdkInstallRootV2.0 in registry in below path
- Proxy class is generated successfully after this change
- Difference between proxy class generated between WseWsdl3.exe and wsdl.exe is
- Wsdl.exe generated proxy class for web service implements - System.Web.Services.Protocols.SoapHttpClientProtocol
- WseWsdl3.exe generated proxy class for web service implements - Microsoft.Web.Services3.WebServicesClientProtocol
How to: Access a WSE 3.0 Service with a WCF Client
How to Host WCF Service in BasicHttpBinding & HTTPS
One more learnings on the same - ASMX services and Self-Signed Certificates
Happy Learning!!!
No comments:
Post a Comment