Select to view content in your preferred language

Consuming geoprocessor service from ActionScript

3090
11
01-16-2012 08:23 AM
by Anonymous User
Not applicable
Original User: tarekesri

Hello,
I'm using ArcGIS API for flex. I'm trying to consume a geoprocessing service developed with Arcgismanager interface. The service works fine when I use the url of its task (see "task_GP_service" figure). When I try to execute it with ActionScript code it doesn't work (see the ActionScript code figure).

Thanks for your help,

Tarek
0 Kudos
11 Replies
TarakSbouai
Emerging Contributor
I used Firebug, and I noticed that no call to the server was made. Any clue, or any example about how to trace the sever call in submitJob method?

Here's the actionScript code used to consume the GP service (based on a .tbx)

Tarak
0 Kudos
by Anonymous User
Not applicable
Original User: tarekesri

I developed a .tbx from a model builder. From that .tbx, I published a GP service that I call within a Flex code (Button "buffer"). It works !

Tarak
0 Kudos