Re: Species list web-service times out
I am doing a new Dipterists Forum web site. It includes a full checklist of British Diptera. I want to offer a facility to view a 10km distribution map for species where there are records on the Gateway (by displaying an icon in the list which users click to view a map). I don't want to show the icon if there are no records available.
So, the main checklist table has a field, TAXON_VERSION_KEY, and I added a boolean flag to signal whether there are records available on the Gateway or not to drive the display of the icon. To keep this working, I need a process that checks the Gateway periodically and updates these flags.
My idea was to use the SpeciesList web service to get a list of TVKs with records for TaxonReportingCategoryKey = NHMSYS0000080077 ("insect - true fly (Diptera)"), but with no geographical or date constraints, and to walk through the list updating the flags. This would then be run as a scheduled job, say once a week in the small hours of the morning.
Unfortunately, it doesn't work. The request times out.
It works OK for smaller groups such as NHMSYS0000080071 (Dragonflies - a few tens of TVKs with data) or even NHMSYS0000080076 (true bugs - Hemiptera - a few hundred TVKs), but Diptera with over 4,000 TVKs with data is clearly too much for it.
I have informed AndyB.