微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

调WEBSERVICE超时设置

在ASP.NET程序中调ODI提供的WebService时返回超时提示

提示信息:

The request channel timed out while waiting for a reply after 00:00:59.7839876. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.


修改方法

web.comfig文件


<binding name="InvokeRequestSOAP11Binding" closeTimeout="00:05:00"
                openTimeout="00:05:00" receiveTimeout="00:10:00" sendTimeout="00:05:00"/>

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐