Reputation: 1865
I have a solution with multiple projects, one of them consumes a large number of webservices. The proxies are generated from WSDLs and i don't control the timeout property of the proxy class.
I'd like to know if there's a way to define a solution wide default timeout parameter for webservices call in my web.config?
Thank U All
Upvotes: 0
Views: 3522
Reputation: 4817
As far as I know you can do this with the httpruntime executionTimeout setting in the web.config
<httpRuntime
executionTimeout="36000" />
Beware this time-out applies only if the debug attribute in the compilation element is False.
<compilation
debug="false" />
For more info see: http://msdn.microsoft.com/en-us/library/e1f13641.aspx
Upvotes: 2