Focal Point
WebFocus webservice timeout

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5551005972

April 07, 2008, 11:58 AM
Faisal
WebFocus webservice timeout
Hi,

Can anyone please tell me how to increase WebFocus webservice timeouts?


WebFocus 7.6.4
Unix/Windows
HTML, PDF, Excel, AHTML
April 08, 2008, 09:48 AM
Mike Honeycutt
I'm not sure if it is a solution for your problem, but I recently had a WebFocus program that timed out after 1 minute. The problem was Internet Explorer. I changed the following in the Windows Registry, rebooted, and it fixed the problem.

--Insert standard "Be careful messing with the Registry" comments here --

Mike Honeycutt
UNC Asheville

=============================

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
Value Name: ReceiveTimeout
Data Type: REG_DWORD (DWORD Value)
Value Data: Time in milliseconds

Default seemed to be 60000 (1 minute) - changed to 180,000 - then reboot

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
Value Name: KeepAliveTimeout
Data Type: REG_DWORD (DWORD Value)
Value Data: Time in milliseconds (default = 120,000)


WebFocus 7.6.6, Windows
April 08, 2008, 12:00 PM
Efrem
Where is the Timeout happening.
In your Browser or your application.
What language is your application written in.
Need details.
April 08, 2008, 12:31 PM
Faisal
The timeout is happening at the call to the webservice. Most of the time the service returns data fine, but for a larger set of data it has a tendency to timeout.

The application is written in ASP.NET 2.0.


WebFocus 7.6.4
Unix/Windows
HTML, PDF, Excel, AHTML
April 08, 2008, 01:01 PM
Efrem
Your problem is in .NET.
I remember running into this a few years ago.

I think the following code solved my timeout issue.

Dim wfss As New WF.WebFocus
wfss.Timeout = -1

Let me know if this works.