+ Reply to Thread
Results 1 to 2 of 2

Thread: How to create a capabilities via command line?

  1. #1
    Andrew Murray
    Join Date
    Mar 2011
    Posts
    38
    Points
    0
    Answers Provided
    0


    0

    Default How to create a capabilities via command line?

    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:
    Code:
    <?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?
    Last edited by loki2000; 02-13-2012 at 04:35 AM.

  2. #2

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts