Question

I'd like the web service proxy class to wait more than 2 minutes

Was it helpful?

Solution

Two things to think about - yes, TheSoftwareJedi is correct about setting the Timeout property on the proxy - easy enough. The default value for that is 100s.

You also have to realize that IIS will have a timeout setting as well and it will override the c# setting if its reached. The IIS default is 120s.

So, setting the timeout property on the proxy will get you an additional 20s before you start hitting the IIS timeout.

OTHER TIPS

Just set the timeout property on the proxy

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top