Select to view content in your preferred language

URLResultEvent returns Fault because of timeout

832
2
02-09-2011 09:01 AM
MicheleDunham
Emerging Contributor
Hello,

I'm calling a web service from a Flex Viewer widget that times out and returns a FaultEvent the first two times the widget is accessed in the morning.  I have a batch file that runs in the task manager every 15 minutes that stops and starts the map services for this ArcGIS Server with the AGISSOM.exe utility.  This problem only occurs on our Internet server working through a Reverse Proxy; http://gis.ventura.org/CountyView  The ParcelReport (last icon in the header) web service works fine on our Intranet server.

Guessing that I need to extend a timeout value for URLResultEvent...does anyone know how to do this?

Thanks a bunch,
Michele
Tags (2)
0 Kudos
2 Replies
DasaPaddock
Esri Regular Contributor
Are you using a HttpService or a QueryTask? By default, the Flex SDK and the ArcGIS Flex API don't timeout unless the browser itself times out.

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/rpc/http/HTTPService.html#requ...
http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/tasks/BaseTask.html#requestTimeout
0 Kudos
MicheleDunham
Emerging Contributor
I hope I'm explaining this clearly.  I added a Web Service Proxy to my FlexViewer project so I assume it is an HTTPService although it is not explicitly defined in MXML.  That is, I use the .send method.  I'll attach the Flex Widget code that I have.  When I watch the http traffic in Fiddler the send method goes off but nothing appears to come back.  So I repeat again, nothing, repeat again, and it works fine and then continues to work for the rest of the work day.  I have my suspicions about our Firewall and have inquired if the Firewall might be dropping the initial connections or it itself has a timeout for a response or something.  I thought if there was a timeout value that I could extend indefinitely I could rule out a problem on the Flex client side and convince the Security people to have a look at the Firewall.
0 Kudos