代码之家  ›  专栏  ›  技术社区  ›  icelava

WSE客户端项目不断将WebServicesClientProtocol恢复为SoapHttpClientProtocol

  •  4
  • icelava  · 技术社区  · 16 年前


    据我所知,VisualStudio应该生成常规的基于SoapHttpClientProtocol的服务代理,再加上另一个后缀为“Wse”的服务代理,该名称派生自Web ServicesClientProtocol。 Even Visual Studio .NET 2003 already had this feature . 因此,出于某种原因,我的VisualStudio2005没有与WSE3.0紧密合作来生成额外的WebServicesClientProtocol代理。但缺失的环节在哪里?


    更新2009年1月13日

    可以 基于WebServicesClientProtocol生成代理。这意味着我原来工作站的VisualStudio被搞砸了;但我不太确定如何修复这个问题。

    添加:嗯,重新安装WSE 3.0也没有帮助。也许WSE在x64 Windows Vista上不起作用?

    1 回复  |  直到 16 年前
        1
  •  2
  •   icelava    16 年前

    64-bit operating system certainly has its demerits .

    WSE 3.0安装程序无法使用以下条目更改Visual Studio 2005的配置文件C:\Program Files(x86)\Microsoft Visual Studio 8\Common7\IDE\devenv.exe.config。

    <configuration>
      <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>
    </configuration>
    
    推荐文章