Select to view content in your preferred language

Dynamically read parameters of Geoprocessing service

2193
0
04-21-2010 07:09 AM
ColleenDixon
Emerging Contributor
We have a customer requesting a tool that will load any geoprocessing service and publish the results on the map.  They want a generic tool that will figure out the parameter name and type and prompt the user for that information.  Does anyone know of a way to dynamically figure out this information?

For example, ArcGIS Flex API samples reference a message in a bottle service:

http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_Currents_World/GPServer/Me....

Is there a way to figure out that the Parameters needed are Input_Point, type "GPFeatureRecordSetLayer" and Days, type "GPDouble"?  Every example I've seen online has these values hard-coded when creating the Geoprocessor in Flex.

Thanks in advance for any help!
Tags (2)
0 Kudos
0 Replies