ArcGIS Server Administrator API for 10.1- Create Service method question

291
1
05-03-2013 11:55 AM
JimSomerville1
New Contributor II
I am attempting to use the AGS 10.1 SP1 Administrator REST API to create a map service (eventually from .NET, but testing using Fiddler right now).  Referencing the Create Service help I am able to alter the Example JSON object to get a successful creation response from AGS.  However, I am not able to start the service manually.

Before I go deeper into the issue, I realized the example points to a ".msd" file as the source of the service.  However, it seems that in 10.1, the msd files have been deprecated and ".sd" definitions are used.  But, when trying to use the API method with a sd file I get an invalid file type response error.

So, my first question, when using the Administrator API, what type of file should be used as the source of the service?  Thanks.
Tags (2)
0 Kudos
1 Reply
nicogis
MVP Frequent Contributor
you can see http://nicogis.blogspot.it/2012/10/ags-101-restful-administrative-api.html. I have written a code sample for create service in c#
0 Kudos