loki2000

How to create a capabilities via command line?

Discussion created by loki2000 on Feb 13, 2012
Latest reply on Feb 13, 2012 by loki2000
Hello all!
- I'm using AdminCMD to add\start my map service like this:
C:\ArcGIS\ArcIMS\Jre\bin>java com.esri.aims.admincore.cmd.Exec http://arcims arcims arcims file c:\path\to\addtestMapService.xml
- addtestMapService.xml is:
<?xml version="1.0"?> 
<ADMINCMD version="1.0"> 
<SERVICES> 
    <SERVICE type="add" name="msk_image" 
          axl="C:\Maps\mymap.axl" 
          vsname="ImageServer1" 
          imgloc="C:\ArcGIS\output" 
          imgurl="http://arcims/output" 
          imagememory="4" 
          cleanup="20" 
          imgtype="JPG" /> 
    <SERVICE type="start" name="msk_image" /> 
  </SERVICES>
</ADMINCMD>

- After that, I save my configuration:
C:\ArcGIS\ArcIMS\Jre\bin>java com.esri.aims.admincore.cmd.Exec http://arcims arcims arcims CMD SAVE

- Finally, the map appears in Administrator, but the capabilities are not created for the map and the WMS are disabled.
How can I create the capabilities for the map via admincmd so that the wms are enabled for the map?
Any suggestions?

Outcomes