I am using a console application to call web service methods and I am stepping through the code using the debugger in vs2008.
Sometimes I need to stop and think about things, and compare values. Not talking hours, just a few minutes, at this point the web service times out, how can I avoid this, so that the web service does not time out at all.
Thank you
Ok, now a serious answer, found at:
http://bytes.com/groups/net-web-services/628561-increase-default-webservice-timeout-globally
Increase the Timeout
property of the web-service-proxy.
MyWebServ obj = new MyWebServ();
obj.Timeout = -1; // -1 for forever otherwise in milliseconds
Increase the timeout value in http-runtime tag in web-config of ASP.NET project./app.config if the web consumer application is Windows.
Increase the timeout value in http-runtime tag in web-config of Web Services project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With