简体   繁体   English

WCF服务的2.0 Web服务代理

[英]2.0 Web Service Proxy to WCF Service

We have a 2.0 Web Service proxy generated for a WCF Service. 我们为WCF服务生成了一个2.0 Web服务代理。 This service required Basic authentication, but periodically we experience problems that the proxy cannot connect to the Server. 此服务需要基本身份验证,但是定期我们会遇到代理无法连接到服务器的问题。

The application is installed on a cluster and referencing a cluster that holds the WCF Service. 该应用程序安装在群集上,并引用拥有WCF服务的群集。

Anyone experience this problem already? 有人遇到这个问题了吗?

Could be that the service is only installed / working on one server in the cluster. 可能是该服务仅在群集中的一台服务器上安装/工作。 Therefore, sometimes it works and sometimes it does not, depending on which machine you hit. 因此,有时会起作用,有时却不起作用,具体取决于您打的是哪台机器。

Apparantly it has to do with the setup of the environment. 显然,它与环境的设置有关。 All the machines are virtual and the errors occurs depending on the host they are running on. 所有机器都是虚拟的,并且根据机器所运行的主机而发生错误。 I also was able to reproduce it with the WCF Proxy as well by switching on/off VM's. 通过打开/关闭虚拟机,我还能够使用WCF代理来重现它。

thanks for the answers 谢谢你的答案

You may want to consider deploying an ASMX service backed by the WCF service class. 您可能要考虑部署由WCF服务类支持的ASMX服务。 This gives you a classic XML webservices facade to work with. 这为您提供了经典的XML Web服务外观。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM