How to export from featureclass/map service layer to a shapefile via web service?

Discussion created by wstasen on Aug 29, 2012
Latest reply on Nov 1, 2013 by Yiman
I am new the ArcGIS and have ArcGIS 10.1 for Server in Java and want a simple way to convert a feature class to a shapefile (downloadable/saveable).

I see in ArcDesktop there is the "Feature Class To Shapefile" python toolbox, but have no idea if and how it is possible to get that capability into ArcGIS Server.

I have prepared a map document with all the layers I want on it and published it to arcgis server with map service capability.

What I would like to do is be able to have some means of a REST based URL or query capability similar to what the Feature Class To Shapefile python toolbox does accessible via the web (potentially being able to specify parameters if its incorporated functionality such as the MapService/Layer I want to export as a shapefile) and am able to download the shapefile via some web address or submitting the request.

Is what I described possible in ArcGIS 10.1 for server? I can see ESRI has KML export, and would like something similar, but for shapefiles.

If what I am thinking is not possible or I would have to do it in a different way than described, please correct me if I am wrong. I just look at these documentation about SOEs, Geoprocessing Tools, but it does not appear obvious to me what needs to be done to get something like this working.