views:

536

answers:

2

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

+2  A: 

Just set the timeout property on the proxy

TheSoftwareJedi
+2  A: 

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.

ScottCher