Select to view content in your preferred language

pynthon and flex

659
2
06-13-2010 03:28 AM
sandrocosta
Emerging Contributor
My question is how best is it to get Flex (ArcServer) to talk to the python script.
Tags (2)
0 Kudos
2 Replies
BjornSvensson
Esri Regular Contributor
The best way is to publish it as a Geoprocessor task and then use the Geoprocessor class in the Flex API to connect to that published task.

More information is at http://help.arcgis.com/en/webapi/flex/help/index.html#inside_api/geoprocessor.htm and http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#/An_overview_o...
0 Kudos
seanlo
by
Emerging Contributor
Are you familiar with publishing geoprocessing services with the map service to display the results? Basically it's the same process as that.

Watch for the limitations though.. you'll have to pass in strings instead of the actual raster layers/tables to that geoprocessing service. Took me like 2 weeks to get the whole process right. I was rewritting the weighted overlay tool as a flex service.
0 Kudos