Let Visual Studio 2008 and 2010 support Web Services Enhancements (WSE) 3.0

Source: Internet
Author: User
Tags closing tag

* from:http://digantakumar.com/2010/06/04/wse-3-in-visual-studio-2008-and-2010/* *

I can't even see it, it's a cup, just bring it over

VS2008 and 2010 Do not support Web Services enhancements (WSE) 3.0 by default, because Ms wants to replace it with WCF. The following is a workaround for visual Studio 2008 and 2010 to support Web Services enhancements (WSE) 3.0.

1. Download and install WSE 3.0. Verify that the installation was successful. Note: Close visual Studio before installation.

2. Open the folder%ALLUSERSPROFILE%\Application Data\Microsoft\MSEnvShared\Addins, and if the folder does not exist, close Visual Studio and create it manually.

Like what:

-Windows XP: "C:\Documents and Settings\All Users\Application Data\Microsoft\MSEnvShared\Addins"
-Windows vista/windows 7: "C:\ProgramData\Microsoft\MSEnvShared\AddIns"

3. In step 2nd, locate Wsesettingsvs3.addin in the folder and back up the file. If the file does not exist, create a file named Wsesettingsvs3.addin and write the contents shown in step 4th to the file.

4. Open Wsesettingsvs3.addin, you can see two sections of configuration, point to version 8.0. Copy the two-stage configuration and change the version number in the new configuration to 9.0 (VS2008) or 10.0 (VS2010). Save.

5. Open the installation directory of Visual Studio, enter Common7\IDE, open Devenv.exe.config, and back up devenv.exe.config before modifying. Add the following code before the closing tag. Visual Studio can then use WSE to generate the Web service proxy class.

<system.web>
<webServices>
<soapExtensionImporterTypes>
<add type= " Microsoft.Web.Services3.Description.WseExtensionImporter,
Microsoft.Web.Services3, version=3.0.0.0,
Culture=neutral, publickeytoken=31bf3856ad364e35 "/>
</soapExtensionImporterTypes>
</ Webservices>
</system.web>

6. Close all visual Studio and reboot.

7. Open the project in VS2010 and right-click the item to see the WSE Setting 3.0 option. This allows WSE 3.0 to be configured in VS2010.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.