I have a SOAP web service added to a console app and every time I make a specific call its timing out on me. Other calls work fine. How do I increase the timeout length in a console app? Seems like it's currently about 90 seconds.
Thanks.
.netrequest-timed-outsoap
I have a SOAP web service added to a console app and every time I make a specific call its timing out on me. Other calls work fine. How do I increase the timeout length in a console app? Seems like it's currently about 90 seconds.
Thanks.
Best Solution
You can set the web service client timeout by setting the Timeout property. The default is 100000 milliseconds (100 seconds).
For example: