Update for my last post on this topic How to use WSE 3 in Visual Studio 2008 , I have upgraded some projects to Visual Studio 2010, in the project I was using a WSE 3.0 web service. The project compiled fine but I found when I updated the web service I was using the proxy class that was generated did not work. The proxy class inherited from System.Web.Services.Protocols.SoapHttpClientProtocol instead of Microsoft.Web.Services3.WebServicesClientProtocol. This was quite a problem I didn't fancy having to manually recreate it each time wanted to update the WSE 3.0 web service.
- Download and install WSE 3.0 but if you are reading this its probably installed.
- Locate the Visual Studio 2005 add-in at following location C:\ProgramData\Microsoft\MSEnvShared\Addins
- At that location you find the file “WSESettingsVS3.Addin”.
- Open file in locate the section 8.0 and change it to 10.0 and save
- Open the Visual Studio menu and select Tools –> Options –> Environments
- If its not already listed add C:\ProgramData\Microsoft\MSEnvShared\Addins
- Restart Visual Studio.
That's it, I restarted Visual Studio and updated the web service and the WSE 3.0 proxy class and methods were generated.