如何增加asmx webservice的超时 [英] How to increase timeout of asmx webservice

查看:75
本文介绍了如何增加asmx webservice的超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个web服务,其中我有一个等待处理无限期的方法。但我的web服务在90-120秒内抛出操作超时。我希望它不应该给我这个错误。什么设置我必须改变。我已经尝试过HttpExecutionTime。



如果Async是一个解决方案,我可以只使用asyn函数而不是全部。



我希望该函数一直执行。

解决方案

参考 - 如何增加Web服务请求的超时? [ ^ ]。

HI i have created a webservice in which i have a method which waits for indefinite time in its processing.But my webservice is throwing operation timeout within 90-120 secs .I want that it should not give me this error.What setting i have to change.I have already tried HttpExecutionTime.

If Async is one solution,Can i make only that function asyn instead of all.

I want that function to be executed all the time.

解决方案

Refer - How to increase the timeout to a web service request?[^].


这篇关于如何增加asmx webservice的超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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