WSE客户端项目保持恢复WebServicesClientProtocol到SoapHttpClientProtocol [英] WSE client project keeps reverting WebServicesClientProtocol to SoapHttpClientProtocol

查看:242
本文介绍了WSE客户端项目保持恢复WebServicesClientProtocol到SoapHttpClientProtocol的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尽管在Visual Studio 2005中,Web引用使客户端项目WSE 3.0我做最后总是从SoapHttpClientProtocol衍生服务代理。我必须手动更改继承WebServicesClientProtocol,但它的更新将恢复到SoapHttpClientProtocol。我不确定哪里在Visual Studio项目属性,我可以得到它的永久使用WebServicesClientProtocol?

Despite enabling WSE 3.0 on client projects in Visual Studio 2005, web references I make always end up with service proxies derived from SoapHttpClientProtocol. I have to manually change the inheritance to WebServicesClientProtocol, but updating it will revert back to SoapHttpClientProtocol. I am unsure where in Visual Studio project properties can I get it to permanently use WebServicesClientProtocol?


据我已阅读,Visual Studio是自己生成定期SoapHttpClientProtocol为基础的服务代理,加上又是服务代理后缀为WSE名称源于网络ServicesClientProtocol。 <一href="http://www.peterprovost.org/blog/post/VSNET-2003-Auto-Generates-WSE-Proxies-2b-WSE-Settings-Tool.aspx"相对=nofollow>连的Visual Studio .NET 2003已经有了这个功能。因此,出于某种原因,我的Visual Studio 2005中不紧密WSE 3.0合作,以产生额外的WebServicesClientProtocol代理。但如果是缺失的一环?

As far as I have read, Visual Studio is supposed to generate the regular SoapHttpClientProtocol-based service proxy, plus another service proxy suffixed with the "Wse" name that derives from Web ServicesClientProtocol. Even Visual Studio .NET 2003 already had this feature. So for some reason my Visual Studio 2005 is not tightly cooperating with WSE 3.0 to generate the additional WebServicesClientProtocol proxy. But where is the missing link?


更新09年1月13日

我有另一台机器上测试,谁知这个Visual Studio 2005中的可以的产生基于WebServicesClientProtocol代理。这意味着我原来的工作站的Visual Studio中已经搞砸了;也不太清楚如何可以修复这虽然。

I got another machine to test this, and behold this Visual Studio 2005 can generate proxies based on WebServicesClientProtocol. That means my original workstation's Visual Studio has been messed up; not too sure how one can repair this though.

地址:嗯,重新安装WSE 3.0没有帮助。也许WSE只是没有在x64 Windows Vista的工作...?

Add: Mmmm, reinstalling WSE 3.0 did not help either. Maybe WSE just does not work on a x64 Windows Vista... ?

推荐答案

看起来就像是一个 64位操作系统肯定有它的缺点的。

在WSE 3.0安装程序无法更改Visual Studio 2005中的配置文件:C:\ Program Files文件(x86)的\微软的Visual Studio 8 \ Common7 \ IDE \ devenv.exe.config具有以下项

The WSE 3.0 installer fails to alter Visual Studio 2005's config file C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\devenv.exe.config with the following entry.

<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>

这篇关于WSE客户端项目保持恢复WebServicesClientProtocol到SoapHttpClientProtocol的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆