Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

When running a webservice I'm having a problem with timeouts....

Status
Not open for further replies.

jcash35010

Programmer
Jul 22, 2003
21
0
0
US
I am builing a XML file with information to send to the user and it is timing out due to time taking to build the file with an extremely large dataset. The problem is that it is timing out with the firewall after about 10 minutes. I was looking into returning a smaller file in intervals and then keep processing, but it doesn't look possible. Does anyone have any suggestions? I am not really familiar with webservices, and the person who wrote is no longer here.

Thanks!
 
I'm no expert at ASP.NET and certainly not at Web Services, but have you tried setting the TimeOut property on your Proxy Class?

e.g -- MyProxy.TimeOut = 60000 (1 min timeout)
 
10 minutes is a very long time for a web service to be responding to a request. Is there some way to start sending the XML before you completely finish creating it?

Otherwise, I would look at finding a way to require the users to request a smaller set of results.

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top