2

I would like to setup a REST service through ArcGIS Server.

In this case I do not need a map service, but it seems like you can only deploy an SOE as an extension to another service. It seems weird to attach the SOE to a map service that it is not related to.

I would prefer to create the service as an SOE since it uses ArcObjects and so that it can be managed and deployed through the AGS management console.

I'm working with ArcGIS Server 10.1 on Windows with IIS.

  • If it is not made to run with a Map Service, have you thought of creating it as a GeoProcessing service. – Khattab May 14 '13 at 3:19
  • Which version you are using 10 or 10.1 ? – Sunil May 14 '13 at 4:37
  • ArcGIS Server 10.1 – Preston May 14 '13 at 16:00
0

I've never tried it, but you should be able to create a REST service using the WCF REST template, then use the StaTaskScheduler as described in this answer.

However, you would not be able to manage the service using ArcGIS Server Manager. Instead, you would need to use IIS.

Also, as Khattab suggests, you could implement a custom IGpTool and deploy as a GP service. In a multi-machine site deployment of GP services based on custom gp tools is a bit more painful - you need to manually call the 64 bit version EsriRegasm on each machine in the site where the gp service will be run.

  • Thanks Kirk. It sounds like this is not something AGS is intended to support. – Preston May 15 '13 at 21:44
  • @Preston Sometimes things that AGS does not intend to support works better than things that it is explicitly supposed to support. I'm currently dealing with some very strange behavior of a custom .NET gp tool published as a service. The tool runs fine when invoked from arcmap as a background gp process (running as the gis soc service account). However I'm seeing different results (though no error) when run as a gp service. If I don't get this resolved maybe I'll try the StaTaskScheduler. – Kirk Kuykendall May 15 '13 at 23:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.