"No one is harder on a talented person than the person themselves" - Linda Wilkinson ; "Trust your guts and don't follow the herd" ; "Validate direction not destination" ;

April 02, 2012

Tool Developer Notes - Part VI

[Previous Post in Series - Tool Developer Notes - Part V]

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
  • Download and Installed WSE 3.0 from link
  • Generating Proxy Class Command is provided in link
  • 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
More Reads

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: