Slow response from GeometryService in debug

3895
2
03-24-2015 05:32 AM
KamilSzukalski
New Contributor II

Hi, did anyone encounter such a problem that the response from a geometryService is returning after several minutes? I was making this test on a very simple rectangular shape - only 4 points and area not larger than............. I was doing a small demo with usage of that service about 2 months ago and it was blazing fast. Right now ... it is almost impossible to use it in development. I was thinking that maybe I have got error somewhere in my code... but after creating a project from source code on esri page:

Measure areas—ArcGIS API for Flex | ArcGIS for Developers

it is also impossible to get results in debug mode.

What is even more interesting, after I create a release build in Flash Builder 4.6.... everyting is working fine and fast. But whenever I am trying to get results during debug, my network monitor says that request has status OK... but waiting for response. After I get it (from 1 to even 10 minutes)... I am able to perform calculations for new areas without any delay...

Does anyone had similar problem?

Tags (2)
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Kamil,

   I have not had this type of issue. One thing that I always do right off is switch t using my own GeometryService on my ArcGIS Server. The default GeometryService that esri has in their samples is used by people all over the world and I would assume is used by thousands or more people all the time. Switching to use your own ArcGIS Servers GeometryService will definitely help.

0 Kudos
KamilSzukalski
New Contributor II

Unfortunately, I do not have got one. The solution which worked for me was just to copy the source code to the fresh project. I know that it is not a solution at all... but somehow it works right now. It is strange since I am using in all projects the same SDK (both flex and esri) as well as the same theme. Strange....

0 Kudos