Select to view content in your preferred language

How to Start and Stop ArcGis Map Services

4019
4
08-29-2012 03:38 AM
pavan_kumarmuttigi
Emerging Contributor
Hi,

I am new to the ArcGis Server.Can any one tell me how to start and stop the ArcGis Map Service programmatically in Java using RestFul Web Services.





Thanks in Advance
0 Kudos
4 Replies
nicogis
MVP Frequent Contributor
Are you using 10 or 10.1?
If you use 10.1 you can see help http://resources.arcgis.com/en/help/server-admin-api/
For example: start service: http://resources.arcgis.com/en/help/server-admin-api/startService.html
you call via http and parse response in json (f=json)

for java you can see http://www.json.org/java/
0 Kudos
pavan_kumarmuttigi
Emerging Contributor
Thank You Domenico Ciavarella

Very helpful info

Thanks once again
0 Kudos
nicogis
MVP Frequent Contributor
extra info: this is code in c# (but you can translate in java) for image service but you can see method for your service map
http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/0001/000100000262000000.htm
0 Kudos
nicogis
MVP Frequent Contributor
0 Kudos