Friday, April 3, 2009

WSE 3.0 Setting Tool For Visual Studio 2008

WSE 3.0 Setting Tool not available in VS 2008. Here i am explaining steps required to enable it in Visual Studio 2008.

1 . Download Following Tool
     WSE 3.0 Tools
2.  Install that MSI File.
     “Basically that installation is for Visual Studio 2005.”
3.  After installation you find one file at following location.
     C:\Documents and Settings\All Users\Application Data\Microsoft\MSEnvShared\Addins
      Here i assumed that your OS is installed at C:\.
4. At that location you find this file “WSESettingsVS3.Addin”.
5. Open file in Notepad , you find following XML content.   

  <HostApplication>
    <Name>Microsoft Visual Studio Macros</Name>
    <Version>8.0</Version>
  </HostApplication>
  <HostApplication>
    <Name>Microsoft Visual Studio</Name>
    <Version>8.0</Version>
  </HostApplication>

change it to

  <HostApplication>
    <Name>Microsoft Visual Studio Macros</Name>
    <Version>9.0</Version>
  </HostApplication>
  <HostApplication>
    <Name>Microsoft Visual Studio</Name>
    <Version>9.0</Version>
  </HostApplication>

save that file.
6. Open Visual Studio , Tools – > Options –> Environments

image

Add Following
“C:\Documents and Settings\All Users\Application Data\Microsoft\MSEnvShared\Addins”

(Note : In Image it displayed D:\ as my os is on D Drive.)

7. Close all instance of Visual Studio.

8. Open it again , create web service application . Now you can se that WSE 3.0 Setting option enable.

27 comments:

DRF said...

Thanks so much for this. Looks to be a much cleaner, simpler workaround to this issue than some other suggestions I've found.

Tin Tin said...

Thank. It good
Can u tell me :
After add wse3.0 on VS2008 , any settings for my webservice don't meet problem.
I read another Topic on internet, maybe wse3.0 don't use with vs2008

Jinal Patel said...

I think you face a problem where you try to use webservice on client application. If this is the problem then instead of adding WebService reference through Add Web Reference or Add Service in VS 2008 , Generate proxy class for service in use that in client application.

You find a tool at WSE 3.0 to generate proxy class specially for WSE 3.0

<system drive>:\Program Files\Microsoft WSE\v3.0\Tools\WseWsdl3.exe

TaiJin said...

thanks.

TaiJin said...

Thanks

Anonymous said...

In Vista the path

C:\ProgramData\Microsoft\MSEnvShared\Addins

Anonymous said...

I dont have WseWsdl3.exe at you mensioned location
C:\Program Files\Microsoft WSE\v3.0\Tools\WseWsdl3.exe. I have installed WSE3.0 from this link

http://www.microsoft.com/downloads/details.aspx?FamilyID=018a09fd-3a74-43c5-8ec1-8d789091255d&displaylang=en

what should I do?

Jinal Patel said...

Download MSI from this link.

http://www.microsoft.com/downloads/details.aspx?FamilyID=018a09fd-3a74-43c5-8ec1-8d789091255d&displaylang=en

Install MSI.

It should installed at System Drive.

os drive:\Program Files\Microsoft WSE\v3.0\Tools\WseWsdl3.exe.

Anonymous said...

Jinal, I did install WSE3.0 from the same link but it but I could NOT found WseWsdl3.exe at here.
os drive:\Program Files\Microsoft WSE\v3.0\Tools

bhupiyujuan said...

thank you... good one.. it helps me

Anonymous said...

Perfect! Thanks so much!!

Anonymous said...

Thanks

Gunther said...

Thanks

Gunther said...

Thanks

Anonymous said...

thanksss man!

Anonymous said...

I followed the instructions, but I cannot see WSE Settings 3.0 ... when I right-click the web service project in the Solution Explorer view. What am I missing?

Vector Institute said...

Great article on wse 3.0 setup for visual studio 2008. saved a lot of time.

Anonymous said...

Made my life easier

Donnie Wishard said...

Works perfectly, thank you!

TARUN said...

Great JOb. Thanks!

Besmir said...

It works perfectly. Nice Job!!

kaochiuan said...

Nice job! Thanks.

Ritesh Ravlani said...

Thanks a lot

Anonymous said...

Does this work with VS 2010 as well?

Anonymous said...

Has anyone tried this with VS 2010?

I am using the built in X509 certificate handling in a legarcy app which I want to move from 2008 to 2010. There is no budject to rewrite the project....

BTW Great blog post, helped me move projects from 2005 to 2008!

Anonymous said...

Thanks..
Made life easier after a long search..
Your article really helps

Thanks
Siva

DotNetDevGuy said...

Just an update to this great post, for anyone else supporting legacy dotnot 2 webservice apps.

For Windows 7, the location of the addin is

C:\ProgramData\Microsoft\MSEnvShared\Addins

And for VS2010, just change the version from 8.0 to 10.0. I assume 2011 will be 11.0!