使用wsHttpBinding通过WCF Web服务获取异常操作超时 [英] Getting Exception Operation TimeOut with WCF Web Service using wsHttpBinding
本文介绍了使用wsHttpBinding通过WCF Web服务获取异常操作超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经在IIS中托管了Web服务
当我在客户端使用添加Web引用"使用该服务并运行应用程序时,出现了"Operation TimeOut"异常.
When i am consuming that service using Add Web Reference in the client side and running the application I am getting the exception "Operation TimeOut "
,但可以通过使用添加服务参考"成功运行.
But it is successfully running by using "Add Service Reference"
推荐答案
Hi
您的客户端应用程序需要WSE才能使用使用wsHttpBinding的WCF服务.或者,将WCF服务更改为使用basicHttpBinding.
Your client application needs WSE in order to consume a WCF service that uses wsHttpBinding. Alternatively change the WCF service to use basicHttpBinding.
致谢
安迪
这篇关于使用wsHttpBinding通过WCF Web服务获取异常操作超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文