AnsweredAssumed Answered

How to replace an existing service from ArcGIS Server Admin directory?

Question asked by dwaipayana23 on May 2, 2018

I am trying to use the ArcGIS Rest API for Server Administration to replace an existing service.

As a preliminary attempt, I tried it from the Admin Directory:

 

Input:

Inputs

 

Both are in the same directory (root).

I get the following error:

 

Replace service in ArcGIS Server\

The error summary in logs is also not very helpful (error code: 7399):

Failed to replace service 'CaliforniaNatural.MapServer' for 'SampleWorldCities.MapServer'.

 

Can someone tell me the appropriate way of doing this?

 

P.S: I couldn't find any page for replace service in the REST API Documentation.

 

Thank You for your time!

Outcomes