ArcGIS Server 地图发布请求分析
1.1. 数据上传
请求 URL: https://172.16.2.17:6443/arcgis/admin/uploads/upload
POST
Location: https://172.16.2.17:6443/arcgis/admin/uploads/i07920f72-a815-40af-a2b0-a76ad7cc8a6b?token=j1zAY3sL6SRAoz_qpWxjJV1yEbmnxCbyvgTr8HbpKy-3BbjhdVIHBxFRWXZViuLpIxH9ZKBlVeBf4BlGkkhn2w..
-----------------------------------------
1.2. 上传进度
<html><head><title>Uploaded Item-i07920f72-a815-40af-a2b0-a76ad7cc8a6b</title></head><body><html><head><link href="/arcgis/admin/www/css/admin.css"rel="stylesheet"type="text/css"/><script type="text/javascript"src="/arcgis/admin/www/js/BigInt.js"charset="utf-8"></script><script type="text/javascript"src="/arcgis/admin/www/js/Barrett.js"charset="utf-8"></script><script type="text/javascript"src="/arcgis/admin/www/js/RSA.js"charset="utf-8"></script><script type="text/javascript"src="/arcgis/admin/www/js/admin.js"charset="utf-8"></script></head><table width="100%"id="userInfoTable"><tbody><tr><td id="titleCell">ArcGIS Server Administrator Directory</td><td align="right"id="help">Logged in:Administrator[Administrator]|<a href="/arcgis/admin/login?operation=signout">Signout</a></td></tr></tbody></table><table width="100%"id="navTable"><tbody><tr><td id="breadcrumbs"><a href="/arcgis/admin">Home</a>><a href="/arcgis/admin/uploads">uploads</a>><a href="/arcgis/admin/uploads/i07920f72-a815-40af-a2b0-a76ad7cc8a6b">i07920f72-a815-40af-a2b0-a76ad7cc8a6b</a></td><td align="right"id="help"><a href="/arcgis/admin/www/doc/index.html"target="blank">API Reference</a></td></tr></tbody></table><h2>Uploaded Item-i07920f72-a815-40af-a2b0-a76ad7cc8a6b</h2><!--HACK for Manager App-Do Not Remove--><textarea style="display: none;">{"itemID":"i07920f72-a815-40af-a2b0-a76ad7cc8a6b","itemName":"test.sd","description":"null","pathOnServer":"D:\\arcgisserver\\directories\\arcgissystem\\arcgisuploads\\admin\\i07920f72-a815-40af-a2b0-a76ad7cc8a6b","date":1560826533839,"committed":true,"serviceName":""}</textarea><fieldset class="body"style="width: 800px;"><legend>Item Properties</legend><table><tbody><tr><td>Item ID:</td><td>i07920f72-a815-40af-a2b0-a76ad7cc8a6b</td></tr><tr><td>Item name:</td><td>test.sd</td></tr><tr><td>Date:</td><td>Tue Jun 18 10:55:33 CST 2019</td></tr><tr><td>Path on server:</td><td>D:\arcgisserver\directories\arcgissystem\arcgisuploads\admin\i07920f72-a815-40af-a2b0-a76ad7cc8a6b</td></tr><tr><td>Description:</td><td>null</td></tr><tr><td>Is committed:</td><td>true</td></tr></tbody></table></fieldset><br/><table class="body"><tbody><tr><td><b>Child Resources:</b></td><td><a href="/arcgis/admin/uploads/i07920f72-a815-40af-a2b0-a76ad7cc8a6b/parts">parts</a></td></tr></tbody></table><table class="body"><tbody><tr><td><b>Supported Operations:</b></td><td><a href="/arcgis/admin/uploads/i07920f72-a815-40af-a2b0-a76ad7cc8a6b/uploadPart">uploadPart</a></td><td><a href="/arcgis/admin/uploads/i07920f72-a815-40af-a2b0-a76ad7cc8a6b/commit">commit</a></td><td><a href="/arcgis/admin/uploads/i07920f72-a815-40af-a2b0-a76ad7cc8a6b/download">download</a></td><td><a href="/arcgis/admin/uploads/i07920f72-a815-40af-a2b0-a76ad7cc8a6b/delete">delete</a></td></tr></tbody></table><table class="body"id="supportedInterfaceTable"><tbody><tr><td><b>Supported Interfaces:</b></td><td><a href="/arcgis/admin/uploads/i07920f72-a815-40af-a2b0-a76ad7cc8a6b?f=pjson">REST</a></td></tr></tbody></table></body></html>
---------------------------------------------
1.3. 服务配置
请求 URL: https://172.16.2.17:6443/arcgis/admin/uploads/i07920f72-a815-40af-a2b0-a76ad7cc8a6b/serviceconfiguration.json?f=json&token=j1zAY3sL6SRAoz_qpWxjJV1yEbmnxCbyvgTr8HbpKy-3BbjhdVIHBxFRWXZViuLpIxH9ZKBlVeBf4BlGkkhn2w..
GET
{"folderName":"","service":{"serviceName":"test","type":"MapServer","description":"","capabilities":"Map,Query,Data","properties":{"filePath":"","supportedImageReturnTypes":"URL","maxRecordCount":"1000","exportTilesAllowed":"false","maxExportTilesCount":"100000","cacheDir":"","useLocalCacheDir":"true","maxImageHeight":"4096","maxBufferCount":"100","maxImageWidth":"4096","enableDynamicLayers":"false","dynamicDataWorkspaces":"","disableIdentifyRelates":"false","schemaLockingEnabled":"true","maxDomainCodeCount":"25000","isCached":"false","cacheOnDemand":"false","ignoreCache":"false","clientCachingAllowed":"true","antialiasingMode":"None","textAntialiasingMode":"Force","minScale":"9244648.8686180003","maxScale":"4513.9887049999998"},"clusterName":"default","maxIdleTime":1800,"isolationLevel":"HIGH","loadBalancing":"ROUND_ROBIN","configuredState":"STARTED","minInstancesPerNode":1,"maxInstancesPerNode":2,"maxWaitTime":60,"maxUsageTime":600,"instancesPerContainer":1,"keepAliveInterval":1800,"recycleStartTime":"00:00","recycleInterval":"24","extensions":[{"enabled":"false","typeName":"KmlServer","capabilities":"SingleImage,SeparateImages,Vectors","properties":{"imageSize":"1024","featureLimit":"1000000","dpi":"96","minRefreshPeriod":"30","compatibilityMode":"GoogleEarth","composite":"true","useNetworkLinkControlTag":"false","endPointURL":"","linkDescription":"","linkName":"","message":"","useDefaultSnippets":"false"}},{"enabled":"false","typeName":"WMSServer","capabilities":"GetCapabilities,GetMap,GetFeatureInfo,GetStyles,GetLegendGraphic,GetSchemaExtension","properties":{"onlineResource":"","customGetCapabilities":"false","pathToCustomGetCapabilitiesFiles":"","pathToCustomSLDFile":"","inheritLayerNames":"false","name":"WMS","title":"","abstract":"","keyword":"","contactPerson":"","contactPosition":"","contactOrganization":"","address":"","addressType":"","city":"","stateOrProvince":"","postCode":"","country":"","contactVoiceTelephone":"","contactFacsimileTelephone":"","contactElectronicMailAddress":"","fees":"","accessConstraints":""}},{"enabled":"false","typeName":"NAServer","capabilities":"","properties":{"saveLayerOnServerWhenError":"false","defaultOutputGeometryPrecision":"","defaultOutputGeometryPrecisionUnits":"esriMeters","saveLayerOnServerWhenDebugging":"false","allowSaveLayerOnServer":"true","naLayerDir":"","route_MaxBarriers":"","route_MaxFeaturesInLineBarriers":"","route_MaxFeaturesInPolygonBarriers":"","route_AllowTimeWindows":"true","route_MaxStops":"","route_ForceHierarchyBeyondDistance":"","route_ForceHierarchyBeyondDistanceUnits":"esriMeters","serviceArea_MaxBarriers":"","serviceArea_MaxFeaturesInLineBarriers":"","serviceArea_MaxFeaturesInPolygonBarriers":"","serviceArea_MaxFacilities":"","serviceArea_MaxBreakValue_Time":"","serviceArea_MaxBreakValue_TimeUnits":"esriTimeUnitsMinutes","serviceArea_MaxBreakValue_Length":"","serviceArea_MaxBreakValue_LengthUnits":"esriMeters","serviceArea_MaxBreakValue_Other":"","serviceArea_ForceHierarchyBeyondTime":"","serviceArea_ForceHierarchyBeyondTimeUnits":"esriTimeUnitsMinutes","serviceArea_ForceHierarchyBeyondDistance":"","serviceArea_ForceHierarchyBeyondDistanceUnits":"esriMeters","serviceArea_ForceHierarchyBeyondOther":"","closestFacility_MaxBarriers":"","closestFacility_MaxIncidents":"","closestFacility_MaxFeaturesInLineBarriers":"","closestFacility_MaxFacilitiesToFind":"","closestFacility_MaxFeaturesInPolygonBarriers":"","closestFacility_MaxFacilities":"","closestFacility_ForceHierarchyBeyondDistance":"","closestFacility_ForceHierarchyBeyondDistanceUnits":"esriMeters","oDCostMatrix_MaxBarriers":"","oDCostMatrix_MaxFeaturesInLineBarriers":"","oDCostMatrix_MaxDestinationsToFind":"","oDCostMatrix_MaxFeaturesInPolygonBarriers":"","oDCostMatrix_MaxDestinations":"","oDCostMatrix_MaxOrigins":"","oDCostMatrix_ForceHierarchyBeyondDistance":"","oDCostMatrix_ForceHierarchyBeyondDistanceUnits":"esriMeters","vRP_MaxBarriers":"","vRP_MaxFeaturesInLineBarriers":"","vRP_MaxFeaturesInPolygonBarriers":"","vRP_MaxOrders":"","vRP_MaxRoutes":"","vRP_ForceHierarchyBeyondDistance":"","vRP_ForceHierarchyBeyondDistanceUnits":"esriMeters","locationAllocation_MaxBarriers":"","locationAllocation_MaxFeaturesInLineBarriers":"","locationAllocation_MaxFeaturesInPolygonBarriers":"","locationAllocation_MaxDemandPoints":"","locationAllocation_MaxFacilities":"","locationAllocation_ForceHierarchyBeyondDistance":"","locationAllocation_ForceHierarchyBeyondDistanceUnits":"esriMeters"}},{"enabled":"false","typeName":"SchematicsServer","capabilities":"Query","properties":{}},{"enabled":"false","typeName":"WCSServer","capabilities":"","properties":{"onlineResource":"","customGetCapabilities":"","pathToCustomGetCapabilitiesFiles":"","name":"test","title":"","abstract":"","keywords":"","fees":"","accessConstraints":"","maxImageWidth":"","maxImageHeight":"","providerName":"","providerWebsite":"","responsiblePerson":"","responsiblePosition":"","phone":"","fax":"","email":"","address":"","city":"","province":"","zipcode":"","country":"","serviceHour":"","contactInstructions":"","role":""}},{"enabled":"false","typeName":"FeatureServer","capabilities":"Query,Create,Update,Delete,Uploads,Editing","properties":{"maxRecordCount":"1000","enableZDefaults":"false","zDefaultValue":"0","enableOwnershipBasedAccessControl":"false","allowOthersToQuery":"true","allowOthersToUpdate":"false","allowOthersToDelete":"false","datasetInspected":"true","creatorPresent":"false","versionedData":"false","dataInGdb":"false","realm":"","editorTrackingTimeZoneID":"UTC","editorTrackingRespectsDayLightSavingTime":"false","editorTrackingTimeInUTC":"true","allowGeometryUpdates":"true","allowTrueCurvesUpdates":"false","xssPreventionEnabled":"true","syncEnabled":"false","syncVersionCreationRule":"versionPerDownloadedMap"}},{"enabled":"false","typeName":"WFSServer","capabilities":"","properties":{"onlineResource":"","appSchemaURI":"WFS","appSchemaPrefix":"test","customGetCapabilities":"false","pathToCustomGetCapabilitiesFiles":"","enableTransactions":"","axisOrderWFS10":"LongLat","axisOrderWFS11":"LatLong","name":"test","title":"","abstract":"","keyword":"","serviceType":"","serviceTypeVersion":"","fees":"","accessConstraints":"","providerName":"","providerSite":"","individualName":"","positionName":"","phone":"","facsimile":"","deliveryPoint":"","city":"","administrativeArea":"","postalCode":"","country":"","electronicMailAddress":"","hoursOfService":"","contactInstructions":"","role":""}},{"enabled":"false","typeName":"MobileServer","capabilities":"Uploads","properties":{}}],"provider":"ArcObjects"}}
---------------------------------------------
1.4. 初始化缓存
请求 URL: https://172.16.2.17:6443/arcgis/admin/uploads/i07920f72-a815-40af-a2b0-a76ad7cc8a6b/initialcachesettings.json?f=json&token=j1zAY3sL6SRAoz_qpWxjJV1yEbmnxCbyvgTr8HbpKy-3BbjhdVIHBxFRWXZViuLpIxH9ZKBlVeBf4BlGkkhn2w..
GET
{"buildCache":"automatic","extent":{"xmin":105.19991416909367,"ymin":31.3129925725592,"xmax":111.5267017369057,"ymax":39.97936773322438,"isFullExtent":true},"lodInfos":[{"level":6,"scale":9244648.868618,"estimatedSizeInMB":0,"estimatedNumberOfTiles":"6","isStatisticalEstimate":false},{"level":7,"scale":4622324.434309,"estimatedSizeInMB":0,"estimatedNumberOfTiles":"15","isStatisticalEstimate":false},{"level":8,"scale":2311162.217155,"estimatedSizeInMB":0,"estimatedNumberOfTiles":"54","isStatisticalEstimate":false},{"level":9,"scale":1155581.108577,"estimatedSizeInMB":0,"estimatedNumberOfTiles":"170","isStatisticalEstimate":false},{"level":10,"scale":577790.554289,"estimatedSizeInMB":1,"estimatedNumberOfTiles":"608","isStatisticalEstimate":false},{"level":11,"scale":288895.277144,"estimatedSizeInMB":6,"estimatedNumberOfTiles":"2294","isStatisticalEstimate":false},{"level":12,"scale":144447.638572,"estimatedSizeInMB":26,"estimatedNumberOfTiles":"8979","isStatisticalEstimate":false},{"level":13,"scale":72223.819286,"estimatedSizeInMB":104,"estimatedNumberOfTiles":"35525","isStatisticalEstimate":false},{"level":14,"scale":36111.909643,"estimatedSizeInMB":413,"estimatedNumberOfTiles":"141032","isStatisticalEstimate":false},{"level":15,"scale":18055.954822,"estimatedSizeInMB":1646,"estimatedNumberOfTiles":"561998","isStatisticalEstimate":false},{"level":16,"scale":9027.977411,"estimatedSizeInMB":6567,"estimatedNumberOfTiles":"2241792","isStatisticalEstimate":false},{"level":17,"scale":4513.988705,"estimatedSizeInMB":26271,"estimatedNumberOfTiles":"8967168","isStatisticalEstimate":false}]}
---------------------------------------------
5. 系统信息
请求 URL: https://172.16.2.17:6443/arcgis/admin/system/properties?f=json&token=j1zAY3sL6SRAoz_qpWxjJV1yEbmnxCbyvgTr8HbpKy-3BbjhdVIHBxFRWXZViuLpIxH9ZKBlVeBf4BlGkkhn2w..&dojo.preventCache=1560826539223
GET
{}
---------------------------------------------
6. 服务类型
请求 URL: https://172.16.2.17:6443/arcgis/admin/services/types/MapServer/types?listInterceptors=true&f=json&token=j1zAY3sL6SRAoz_qpWxjJV1yEbmnxCbyvgTr8HbpKy-3BbjhdVIHBxFRWXZViuLpIxH9ZKBlVeBf4BlGkkhn2w..&dojo.preventCache=1560826539322
GET
{"Name":"MapServer","DisplayName":"Map Service","CLSID":"esriCarto.MapServerObjectFactory*","Description":"ESRI Map Server","CfgFactoryPROGID":"esriCarto.MapServerConfigurationFactory","MaxUploadFileSize":-1,"AllowedUploadFileTypes":"","ObjectFactoryCLSID":"esriCarto.MapServerObjectFactory","Properties":{},"Info":{"AllWebCapabilities":"TilesOnly,Map,Query,Data","DefaultWebCapabilities":"Map,Query,Data"},"Resources":{},"ExtensionTypes":[{"Name":"WCSServer","DisplayName":"WCS","CLSID":"esriCarto.WCSServer","ParentServiceType":"MapServer","Description":"WCS Server Object Extension","MaxUploadFileSize":-1,"Properties":{},"Info":{"SupportsMSD":"true"},"Resources":{}},{"Name":"WMSServer","DisplayName":"WMS","CLSID":"esriCarto.WMSServer","ParentServiceType":"MapServer","Description":"WMS Server Object Extension","MaxUploadFileSize":-1,"Properties":{},"Info":{"SupportsMSD":"true","AllWebCapabilities":"GetCapabilities,GetMap,GetFeatureInfo,GetStyles,GetLegendGraphic,GetSchemaExtension","DefaultWebCapabilities":"GetCapabilities,GetMap,GetFeatureInfo,GetStyles,GetLegendGraphic,GetSchemaExtension"},"Resources":{}},{"Name":"FeatureServer","DisplayName":"Feature Access","CLSID":"esriCarto.GraphicFeatureServer","ParentServiceType":"MapServer","Description":"Feature Server Object Extension","CfgFactoryPROGID":"esriCarto.FeatureServerConfigurationFactory","MaxUploadFileSize":2000,"AllowedUploadFileTypes":"bmp,ecw,emf,eps,ps,gif,img,jp2,jpc,j2k,jpf,jpg,jpeg,jpe,png,psd,raw,sid,tif,tiff,wmf,wps,avi,mpg,mpe,mpeg,mov,wmv,aif,mid,rmi,mp2,mp3,mp4,mpa,mpv2,qt,ra,ram,wav,wma,doc,docx,dot,xls,xlsx,xlt,pdf,ppt,pptx,txt,zip,7z,gz,gtar,tar,tgz,vrml,gml,json,xml,mdb,geodatabase","Properties":{},"Info":{"SupportsMSD":"true","AllWebCapabilities":"Query,Create,Update,Delete,Uploads,Sync","DefaultWebCapabilities":"Query,Create,Update,Delete,Uploads"},"Resources":{}},{"Name":"SchematicsServer","DisplayName":"Schematics","CLSID":"esriSchematic.SchematicServer","ParentServiceType":"MapServer","Description":"Schematics Server Object Extension","MaxUploadFileSize":-1,"AllowedUploadFileTypes":"","Properties":{"SupportsREST":"true"},"Info":{"SupportsMSD":"true","AllWebCapabilities":"Query,Editing","DefaultWebCapabilities":"Query"},"Resources":{}},{"Name":"MobileServer","DisplayName":"Mobile Data Access","CLSID":"esriCarto.MobileServer","ParentServiceType":"MapServer","Description":"Mobile Server Object Extension","MaxUploadFileSize":2000,"AllowedUploadFileTypes":"db","Properties":{},"Info":{"SupportsMSD":"true","AllWebCapabilities":"Uploads","DefaultWebCapabilities":"Uploads"},"Resources":{}},{"Name":"NAServer","DisplayName":"Network Analysis","CLSID":"esriNetworkAnalyst.NAServer","ParentServiceType":"MapServer","Description":"Network Analyst Server Object Extension","MaxUploadFileSize":-1,"AllowedUploadFileTypes":"","Properties":{},"Info":{},"Resources":{}},{"Name":"KmlServer","DisplayName":"KML","CLSID":"esriGlobeCore.KmlServer","ParentServiceType":"MapServer","Description":"Kml Server Object Extension","MaxUploadFileSize":-1,"Properties":{},"Info":{"SupportsMSD":"true","AllWebCapabilities":"SingleImage,SeparateImages,Vectors","DefaultWebCapabilities":"SingleImage,SeparateImages,Vectors"},"Resources":{}},{"Name":"WFSServer","DisplayName":"WFS","CLSID":"esriGeoDatabaseDistributed.WFSServer","ParentServiceType":"MapServer","Description":"WFS Server Object Extension","MaxUploadFileSize":-1,"Properties":{},"Info":{"SupportsMSD":"true"},"Resources":{}}]}
---------------------------------------------
7. 上传进度
请求 URL: https://172.16.2.17:6443/arcgis/admin/uploads/i07920f72-a815-40af-a2b0-a76ad7cc8a6b?token=j1zAY3sL6SRAoz_qpWxjJV1yEbmnxCbyvgTr8HbpKy-3BbjhdVIHBxFRWXZViuLpIxH9ZKBlVeBf4BlGkkhn2w..
GET
<html><head><title>Uploaded Item-i07920f72-a815-40af-a2b0-a76ad7cc8a6b</title></head><body><html><head><link href="/arcgis/admin/www/css/admin.css"rel="stylesheet"type="text/css"/><script type="text/javascript"src="/arcgis/admin/www/js/BigInt.js"charset="utf-8"></script><script type="text/javascript"src="/arcgis/admin/www/js/Barrett.js"charset="utf-8"></script><script type="text/javascript"src="/arcgis/admin/www/js/RSA.js"charset="utf-8"></script><script type="text/javascript"src="/arcgis/admin/www/js/admin.js"charset="utf-8"></script></head><table width="100%"id="userInfoTable"><tbody><tr><td id="titleCell">ArcGIS Server Administrator Directory</td><td align="right"id="help">Logged in:Administrator[Administrator]|<a href="/arcgis/admin/login?operation=signout">Signout</a></td></tr></tbody></table><table width="100%"id="navTable"><tbody><tr><td id="breadcrumbs"><a href="/arcgis/admin">Home</a>><a href="/arcgis/admin/uploads">uploads</a>><a href="/arcgis/admin/uploads/i07920f72-a815-40af-a2b0-a76ad7cc8a6b">i07920f72-a815-40af-a2b0-a76ad7cc8a6b</a></td><td align="right"id="help"><a href="/arcgis/admin/www/doc/index.html"target="blank">API Reference</a></td></tr></tbody></table><h2>Uploaded Item-i07920f72-a815-40af-a2b0-a76ad7cc8a6b</h2><!--HACK for Manager App-Do Not Remove--><textarea style="display: none;">{"itemID":"i07920f72-a815-40af-a2b0-a76ad7cc8a6b","itemName":"test.sd","description":"null","pathOnServer":"D:\\arcgisserver\\directories\\arcgissystem\\arcgisuploads\\admin\\i07920f72-a815-40af-a2b0-a76ad7cc8a6b","date":1560826533839,"committed":true,"serviceName":""}</textarea><fieldset class="body"style="width: 800px;"><legend>Item Properties</legend><table><tbody><tr><td>Item ID:</td><td>i07920f72-a815-40af-a2b0-a76ad7cc8a6b</td></tr><tr><td>Item name:</td><td>test.sd</td></tr><tr><td>Date:</td><td>Tue Jun 18 10:55:33 CST 2019</td></tr><tr><td>Path on server:</td><td>D:\arcgisserver\directories\arcgissystem\arcgisuploads\admin\i07920f72-a815-40af-a2b0-a76ad7cc8a6b</td></tr><tr><td>Description:</td><td>null</td></tr><tr><td>Is committed:</td><td>true</td></tr></tbody></table></fieldset><br/><table class="body"><tbody><tr><td><b>Child Resources:</b></td><td><a href="/arcgis/admin/uploads/i07920f72-a815-40af-a2b0-a76ad7cc8a6b/parts">parts</a></td></tr></tbody></table><table class="body"><tbody><tr><td><b>Supported Operations:</b></td><td><a href="/arcgis/admin/uploads/i07920f72-a815-40af-a2b0-a76ad7cc8a6b/uploadPart">uploadPart</a></td><td><a href="/arcgis/admin/uploads/i07920f72-a815-40af-a2b0-a76ad7cc8a6b/commit">commit</a></td><td><a href="/arcgis/admin/uploads/i07920f72-a815-40af-a2b0-a76ad7cc8a6b/download">download</a></td><td><a href="/arcgis/admin/uploads/i07920f72-a815-40af-a2b0-a76ad7cc8a6b/delete">delete</a></td></tr></tbody></table><table class="body"id="supportedInterfaceTable"><tbody><tr><td><b>Supported Interfaces:</b></td><td><a href="/arcgis/admin/uploads/i07920f72-a815-40af-a2b0-a76ad7cc8a6b?f=pjson">REST</a></td></tr></tbody></table></body></html>
-----------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------
2.1 查看发布服务的状态
请求 URL: https://172.16.2.17:6443/arcgis/admin/services/System/PublishingTools.GPServer/status?f=json&token=j1zAY3sL6SRAoz_qpWxjJV1yEbmnxCbyvgTr8HbpKy-3BbjhdVIHBxFRWXZViuLpIxH9ZKBlVeBf4BlGkkhn2w..&dojo.preventCache=1560826969727
GET
{"configuredState":"STARTED","realTimeState":"STARTED"}
---------------------------------------------------------------------
2.2 查看服务的信息
请求 URL: https://172.16.2.17:6443/arcgis/admin/services?f=json&token=j1zAY3sL6SRAoz_qpWxjJV1yEbmnxCbyvgTr8HbpKy-3BbjhdVIHBxFRWXZViuLpIxH9ZKBlVeBf4BlGkkhn2w..&dojo.preventCache=1560826969763
GET
{"folderName":"/","description":"Root folder","webEncrypted":false,"isDefault":false,"folders":["resourceAudit","System","Utilities"],"foldersDetail":[{"folderName":"resourceAudit","description":"None","webEncrypted":false,"isDefault":false},{"folderName":"System","description":"System 文件夹包含供 ArcGIS Server 使用的自动部署的服务。","webEncrypted":false,"isDefault":true},{"folderName":"Utilities","description":"Utilities 文件夹包含可供应用程序开发人员使用的自动部署的服务。","webEncrypted":false,"isDefault":true}],"services":[{"folderName":"/","serviceName":"SampleWorldCities","type":"MapServer","description":"SampleWorldCities 服务用于快速轻松地预览 GIS 服务器的功能。单击缩略图图像可以在 web 应用程序中打开它。此实例服务为可选服务,因此可以删除。"},{"folderName":"/","serviceName":"shaanxi1","type":"MapServer","description":""}]}
--------------------------------------------------------------------
2.3 查看发布服务的信息
请求 URL: https://172.16.2.17:6443/arcgis/admin/services/System/PublishingTools.GPServer?f=json&token=j1zAY3sL6SRAoz_qpWxjJV1yEbmnxCbyvgTr8HbpKy-3BbjhdVIHBxFRWXZViuLpIxH9ZKBlVeBf4BlGkkhn2w..&dojo.preventCache=1560826969780
GET
{"serviceName":"PublishingTools","type":"GPServer","description":"ArcGIS Server 使用 PublishingTools 服务将服务定义文件发布为服务。","capabilities":"null","provider":"ArcObjects","clusterName":"default","minInstancesPerNode":1,"maxInstancesPerNode":2,"instancesPerContainer":1,"maxWaitTime":60,"maxStartupTime":300,"maxIdleTime":1800,"maxUsageTime":3600,"loadBalancing":"ROUND_ROBIN","isolationLevel":"HIGH","configuredState":"STARTED","recycleInterval":24,"recycleStartTime":"00:00","keepAliveInterval":-1,"private":false,"isDefault":true,"maxUploadFileSize":0,"allowedUploadFileTypes":"","properties":{"outputDir":"D:\\arcgisserver\\directories\\arcgisoutput","virtualOutputDir":"/rest/directories/arcgisoutput","showMessages":"Info","toolbox":"${AGSSERVER}/ArcToolBox/Services/Publishing Tools.tbx","jobsDirectory":"D:\\arcgisserver\\directories\\arcgisjobs","executionType":"Asynchronous","jobsVirtualDirectory":"/rest/directories/arcgisjobs","maximumRecords":"1000"},"extensions":[],"datasets":[]}
--------------------------------------------------------------------
2.4 地图服务发布
请求 URL: https://172.16.2.17:6443/arcgis/rest/services/System/PublishingTools/GPServer/Publish%20Service%20Definition/submitJob
POST
f: json
in_config_overwrite: %7B%22folderName%22%3A%22%2F%22%2C%22service%22%3A%7B%22serviceName%22%3A%22test%22%2C%22type%22%3A%22MapServer%22%2C%22description%22%3A%22%22%2C%22capabilities%22%3A%22Map%2CQuery%2CData%22%2C%22properties%22%3A%7B%22filePath%22%3A%22%22%2C%22supportedImageReturnTypes%22%3A%22URL%22%2C%22maxRecordCount%22%3A%221000%22%2C%22exportTilesAllowed%22%3A%22false%22%2C%22maxExportTilesCount%22%3A%22100000%22%2C%22cacheDir%22%3A%22%22%2C%22useLocalCacheDir%22%3A%22true%22%2C%22maxImageHeight%22%3A%224096%22%2C%22maxBufferCount%22%3A%22100%22%2C%22maxImageWidth%22%3A%224096%22%2C%22enableDynamicLayers%22%3A%22false%22%2C%22dynamicDataWorkspaces%22%3A%22%22%2C%22disableIdentifyRelates%22%3A%22false%22%2C%22schemaLockingEnabled%22%3A%22true%22%2C%22maxDomainCodeCount%22%3A%2225000%22%2C%22isCached%22%3A%22false%22%2C%22cacheOnDemand%22%3A%22false%22%2C%22ignoreCache%22%3A%22false%22%2C%22clientCachingAllowed%22%3A%22true%22%2C%22antialiasingMode%22%3A%22None%22%2C%22textAntialiasingMode%22%3A%22Force%22%2C%22minScale%22%3A%229244648.8686180003%22%2C%22maxScale%22%3A%224513.9887049999998%22%7D%2C%22clusterName%22%3A%22default%22%2C%22maxIdleTime%22%3A1800%2C%22isolationLevel%22%3A%22HIGH%22%2C%22loadBalancing%22%3A%22ROUND_ROBIN%22%2C%22configuredState%22%3A%22STOPPED%22%2C%22minInstancesPerNode%22%3A1%2C%22maxInstancesPerNode%22%3A2%2C%22maxWaitTime%22%3A60%2C%22maxUsageTime%22%3A600%2C%22instancesPerContainer%22%3A1%2C%22keepAliveInterval%22%3A1800%2C%22recycleStartTime%22%3A%2200%3A00%22%2C%22recycleInterval%22%3A%2224%22%2C%22extensions%22%3A%5B%7B%22enabled%22%3Afalse%2C%22typeName%22%3A%22KmlServer%22%2C%22capabilities%22%3A%22SingleImage%2CSeparateImages%2CVectors%22%2C%22properties%22%3A%7B%22imageSize%22%3A%221024%22%2C%22featureLimit%22%3A%221000000%22%2C%22dpi%22%3A%2296%22%2C%22minRefreshPeriod%22%3A%2230%22%2C%22compatibilityMode%22%3A%22GoogleEarth%22%2C%22composite%22%3A%22true%22%2C%22useNetworkLinkControlTag%22%3A%22false%22%2C%22endPointURL%22%3A%22%22%2C%22linkDescription%22%3A%22%22%2C%22linkName%22%3A%22%22%2C%22message%22%3A%22%22%2C%22useDefaultSnippets%22%3A%22false%22%7D%7D%2C%7B%22enabled%22%3Afalse%2C%22typeName%22%3A%22WMSServer%22%2C%22capabilities%22%3A%22GetCapabilities%2CGetMap%2CGetFeatureInfo%2CGetStyles%2CGetLegendGraphic%2CGetSchemaExtension%22%2C%22properties%22%3A%7B%22onlineResource%22%3A%22%22%2C%22customGetCapabilities%22%3A%22false%22%2C%22pathToCustomGetCapabilitiesFiles%22%3A%22%22%2C%22pathToCustomSLDFile%22%3A%22%22%2C%22inheritLayerNames%22%3A%22false%22%2C%22name%22%3A%22WMS%22%2C%22title%22%3A%22%22%2C%22abstract%22%3A%22%22%2C%22keyword%22%3A%22%22%2C%22contactPerson%22%3A%22%22%2C%22contactPosition%22%3A%22%22%2C%22contactOrganization%22%3A%22%22%2C%22address%22%3A%22%22%2C%22addressType%22%3A%22%22%2C%22city%22%3A%22%22%2C%22stateOrProvince%22%3A%22%22%2C%22postCode%22%3A%22%22%2C%22country%22%3A%22%22%2C%22contactVoiceTelephone%22%3A%22%22%2C%22contactFacsimileTelephone%22%3A%22%22%2C%22contactElectronicMailAddress%22%3A%22%22%2C%22fees%22%3A%22%22%2C%22accessConstraints%22%3A%22%22%7D%7D%2C%7B%22enabled%22%3Afalse%2C%22typeName%22%3A%22NAServer%22%2C%22capabilities%22%3A%22%22%2C%22properties%22%3A%7B%22saveLayerOnServerWhenError%22%3A%22false%22%2C%22defaultOutputGeometryPrecision%22%3A%22%22%2C%22defaultOutputGeometryPrecisionUnits%22%3A%22esriMeters%22%2C%22saveLayerOnServerWhenDebugging%22%3A%22false%22%2C%22allowSaveLayerOnServer%22%3A%22true%22%2C%22naLayerDir%22%3A%22%22%2C%22route_MaxBarriers%22%3A%22%22%2C%22route_MaxFeaturesInLineBarriers%22%3A%22%22%2C%22route_MaxFeaturesInPolygonBarriers%22%3A%22%22%2C%22route_AllowTimeWindows%22%3A%22true%22%2C%22route_MaxStops%22%3A%22%22%2C%22route_ForceHierarchyBeyondDistance%22%3A%22%22%2C%22route_ForceHierarchyBeyondDistanceUnits%22%3A%22esriMeters%22%2C%22serviceArea_MaxBarriers%22%3A%22%22%2C%22serviceArea_MaxFeaturesInLineBarriers%22%3A%22%22%2C%22serviceArea_MaxFeaturesInPolygonBarriers%22%3A%22%22%2C%22serviceArea_MaxFacilities%22%3A%22%22%2C%22serviceArea_MaxBreakValue_Time%22%3A%22%22%2C%22serviceArea_MaxBreakValue_TimeUnits%22%3A%22esriTimeUnitsMinutes%22%2C%22serviceArea_MaxBreakValue_Length%22%3A%22%22%2C%22serviceArea_MaxBreakValue_LengthUnits%22%3A%22esriMeters%22%2C%22serviceArea_MaxBreakValue_Other%22%3A%22%22%2C%22serviceArea_ForceHierarchyBeyondTime%22%3A%22%22%2C%22serviceArea_ForceHierarchyBeyondTimeUnits%22%3A%22esriTimeUnitsMinutes%22%2C%22serviceArea_ForceHierarchyBeyondDistance%22%3A%22%22%2C%22serviceArea_ForceHierarchyBeyondDistanceUnits%22%3A%22esriMeters%22%2C%22serviceArea_ForceHierarchyBeyondOther%22%3A%22%22%2C%22closestFacility_MaxBarriers%22%3A%22%22%2C%22closestFacility_MaxIncidents%22%3A%22%22%2C%22closestFacility_MaxFeaturesInLineBarriers%22%3A%22%22%2C%22closestFacility_MaxFacilitiesToFind%22%3A%22%22%2C%22closestFacility_MaxFeaturesInPolygonBarriers%22%3A%22%22%2C%22closestFacility_MaxFacilities%22%3A%22%22%2C%22closestFacility_ForceHierarchyBeyondDistance%22%3A%22%22%2C%22closestFacility_ForceHierarchyBeyondDistanceUnits%22%3A%22esriMeters%22%2C%22oDCostMatrix_MaxBarriers%22%3A%22%22%2C%22oDCostMatrix_MaxFeaturesInLineBarriers%22%3A%22%22%2C%22oDCostMatrix_MaxDestinationsToFind%22%3A%22%22%2C%22oDCostMatrix_MaxFeaturesInPolygonBarriers%22%3A%22%22%2C%22oDCostMatrix_MaxDestinations%22%3A%22%22%2C%22oDCostMatrix_MaxOrigins%22%3A%22%22%2C%22oDCostMatrix_ForceHierarchyBeyondDistance%22%3A%22%22%2C%22oDCostMatrix_ForceHierarchyBeyondDistanceUnits%22%3A%22esriMeters%22%2C%22vRP_MaxBarriers%22%3A%22%22%2C%22vRP_MaxFeaturesInLineBarriers%22%3A%22%22%2C%22vRP_MaxFeaturesInPolygonBarriers%22%3A%22%22%2C%22vRP_MaxOrders%22%3A%22%22%2C%22vRP_MaxRoutes%22%3A%22%22%2C%22vRP_ForceHierarchyBeyondDistance%22%3A%22%22%2C%22vRP_ForceHierarchyBeyondDistanceUnits%22%3A%22esriMeters%22%2C%22locationAllocation_MaxBarriers%22%3A%22%22%2C%22locationAllocation_MaxFeaturesInLineBarriers%22%3A%22%22%2C%22locationAllocation_MaxFeaturesInPolygonBarriers%22%3A%22%22%2C%22locationAllocation_MaxDemandPoints%22%3A%22%22%2C%22locationAllocation_MaxFacilities%22%3A%22%22%2C%22locationAllocation_ForceHierarchyBeyondDistance%22%3A%22%22%2C%22locationAllocation_ForceHierarchyBeyondDistanceUnits%22%3A%22esriMeters%22%7D%7D%2C%7B%22enabled%22%3Afalse%2C%22typeName%22%3A%22SchematicsServer%22%2C%22capabilities%22%3A%22Query%22%2C%22properties%22%3A%7B%7D%7D%2C%7B%22enabled%22%3Afalse%2C%22typeName%22%3A%22WCSServer%22%2C%22capabilities%22%3A%22%22%2C%22properties%22%3A%7B%22onlineResource%22%3A%22%22%2C%22customGetCapabilities%22%3A%22%22%2C%22pathToCustomGetCapabilitiesFiles%22%3A%22%22%2C%22name%22%3A%22test%22%2C%22title%22%3A%22%22%2C%22abstract%22%3A%22%22%2C%22keywords%22%3A%22%22%2C%22fees%22%3A%22%22%2C%22accessConstraints%22%3A%22%22%2C%22maxImageWidth%22%3A%22%22%2C%22maxImageHeight%22%3A%22%22%2C%22providerName%22%3A%22%22%2C%22providerWebsite%22%3A%22%22%2C%22responsiblePerson%22%3A%22%22%2C%22responsiblePosition%22%3A%22%22%2C%22phone%22%3A%22%22%2C%22fax%22%3A%22%22%2C%22email%22%3A%22%22%2C%22address%22%3A%22%22%2C%22city%22%3A%22%22%2C%22province%22%3A%22%22%2C%22zipcode%22%3A%22%22%2C%22country%22%3A%22%22%2C%22serviceHour%22%3A%22%22%2C%22contactInstructions%22%3A%22%22%2C%22role%22%3A%22%22%7D%7D%2C%7B%22enabled%22%3Afalse%2C%22typeName%22%3A%22FeatureServer%22%2C%22capabilities%22%3A%22Query%2CCreate%2CUpdate%2CDelete%2CUploads%2CEditing%22%2C%22properties%22%3A%7B%22maxRecordCount%22%3A%221000%22%2C%22enableZDefaults%22%3A%22false%22%2C%22zDefaultValue%22%3A%220%22%2C%22enableOwnershipBasedAccessControl%22%3A%22false%22%2C%22allowOthersToQuery%22%3A%22true%22%2C%22allowOthersToUpdate%22%3A%22false%22%2C%22allowOthersToDelete%22%3A%22false%22%2C%22datasetInspected%22%3A%22true%22%2C%22creatorPresent%22%3A%22false%22%2C%22versionedData%22%3A%22false%22%2C%22dataInGdb%22%3A%22false%22%2C%22realm%22%3A%22%22%2C%22editorTrackingTimeZoneID%22%3A%22UTC%22%2C%22editorTrackingRespectsDayLightSavingTime%22%3A%22false%22%2C%22editorTrackingTimeInUTC%22%3A%22true%22%2C%22allowGeometryUpdates%22%3A%22true%22%2C%22allowTrueCurvesUpdates%22%3A%22false%22%2C%22xssPreventionEnabled%22%3A%22true%22%2C%22syncEnabled%22%3A%22false%22%2C%22syncVersionCreationRule%22%3A%22versionPerDownloadedMap%22%7D%7D%2C%7B%22enabled%22%3Afalse%2C%22typeName%22%3A%22WFSServer%22%2C%22capabilities%22%3A%22%22%2C%22properties%22%3A%7B%22onlineResource%22%3A%22%22%2C%22appSchemaURI%22%3A%22WFS%22%2C%22appSchemaPrefix%22%3A%22test%22%2C%22customGetCapabilities%22%3A%22false%22%2C%22pathToCustomGetCapabilitiesFiles%22%3A%22%22%2C%22enableTransactions%22%3A%22%22%2C%22axisOrderWFS10%22%3A%22LongLat%22%2C%22axisOrderWFS11%22%3A%22LatLong%22%2C%22name%22%3A%22test%22%2C%22title%22%3A%22%22%2C%22abstract%22%3A%22%22%2C%22keyword%22%3A%22%22%2C%22serviceType%22%3A%22%22%2C%22serviceTypeVersion%22%3A%22%22%2C%22fees%22%3A%22%22%2C%22accessConstraints%22%3A%22%22%2C%22providerName%22%3A%22%22%2C%22providerSite%22%3A%22%22%2C%22individualName%22%3A%22%22%2C%22positionName%22%3A%22%22%2C%22phone%22%3A%22%22%2C%22facsimile%22%3A%22%22%2C%22deliveryPoint%22%3A%22%22%2C%22city%22%3A%22%22%2C%22administrativeArea%22%3A%22%22%2C%22postalCode%22%3A%22%22%2C%22country%22%3A%22%22%2C%22electronicMailAddress%22%3A%22%22%2C%22hoursOfService%22%3A%22%22%2C%22contactInstructions%22%3A%22%22%2C%22role%22%3A%22%22%7D%7D%2C%7B%22enabled%22%3Afalse%2C%22typeName%22%3A%22MobileServer%22%2C%22capabilities%22%3A%22Uploads%22%2C%22properties%22%3A%7B%7D%7D%5D%2C%22provider%22%3A%22ArcObjects%22%7D%7D
{"folderName":"/","service":{"serviceName":"test","type":"MapServer","description":"","capabilities":"Map,Query,Data","properties":{"filePath":"","supportedImageReturnTypes":"URL","maxRecordCount":"1000","exportTilesAllowed":"false","maxExportTilesCount":"100000","cacheDir":"","useLocalCacheDir":"true","maxImageHeight":"4096","maxBufferCount":"100","maxImageWidth":"4096","enableDynamicLayers":"false","dynamicDataWorkspaces":"","disableIdentifyRelates":"false","schemaLockingEnabled":"true","maxDomainCodeCount":"25000","isCached":"false","cacheOnDemand":"false","ignoreCache":"false","clientCachingAllowed":"true","antialiasingMode":"None","textAntialiasingMode":"Force","minScale":"9244648.8686180003","maxScale":"4513.9887049999998"},"clusterName":"default","maxIdleTime":1800,"isolationLevel":"HIGH","loadBalancing":"ROUND_ROBIN","configuredState":"STOPPED","minInstancesPerNode":1,"maxInstancesPerNode":2,"maxWaitTime":60,"maxUsageTime":600,"instancesPerContainer":1,"keepAliveInterval":1800,"recycleStartTime":"00:00","recycleInterval":"24","extensions":[{"enabled":false,"typeName":"KmlServer","capabilities":"SingleImage,SeparateImages,Vectors","properties":{"imageSize":"1024","featureLimit":"1000000","dpi":"96","minRefreshPeriod":"30","compatibilityMode":"GoogleEarth","composite":"true","useNetworkLinkControlTag":"false","endPointURL":"","linkDescription":"","linkName":"","message":"","useDefaultSnippets":"false"}},{"enabled":false,"typeName":"WMSServer","capabilities":"GetCapabilities,GetMap,GetFeatureInfo,GetStyles,GetLegendGraphic,GetSchemaExtension","properties":{"onlineResource":"","customGetCapabilities":"false","pathToCustomGetCapabilitiesFiles":"","pathToCustomSLDFile":"","inheritLayerNames":"false","name":"WMS","title":"","abstract":"","keyword":"","contactPerson":"","contactPosition":"","contactOrganization":"","address":"","addressType":"","city":"","stateOrProvince":"","postCode":"","country":"","contactVoiceTelephone":"","contactFacsimileTelephone":"","contactElectronicMailAddress":"","fees":"","accessConstraints":""}},{"enabled":false,"typeName":"NAServer","capabilities":"","properties":{"saveLayerOnServerWhenError":"false","defaultOutputGeometryPrecision":"","defaultOutputGeometryPrecisionUnits":"esriMeters","saveLayerOnServerWhenDebugging":"false","allowSaveLayerOnServer":"true","naLayerDir":"","route_MaxBarriers":"","route_MaxFeaturesInLineBarriers":"","route_MaxFeaturesInPolygonBarriers":"","route_AllowTimeWindows":"true","route_MaxStops":"","route_ForceHierarchyBeyondDistance":"","route_ForceHierarchyBeyondDistanceUnits":"esriMeters","serviceArea_MaxBarriers":"","serviceArea_MaxFeaturesInLineBarriers":"","serviceArea_MaxFeaturesInPolygonBarriers":"","serviceArea_MaxFacilities":"","serviceArea_MaxBreakValue_Time":"","serviceArea_MaxBreakValue_TimeUnits":"esriTimeUnitsMinutes","serviceArea_MaxBreakValue_Length":"","serviceArea_MaxBreakValue_LengthUnits":"esriMeters","serviceArea_MaxBreakValue_Other":"","serviceArea_ForceHierarchyBeyondTime":"","serviceArea_ForceHierarchyBeyondTimeUnits":"esriTimeUnitsMinutes","serviceArea_ForceHierarchyBeyondDistance":"","serviceArea_ForceHierarchyBeyondDistanceUnits":"esriMeters","serviceArea_ForceHierarchyBeyondOther":"","closestFacility_MaxBarriers":"","closestFacility_MaxIncidents":"","closestFacility_MaxFeaturesInLineBarriers":"","closestFacility_MaxFacilitiesToFind":"","closestFacility_MaxFeaturesInPolygonBarriers":"","closestFacility_MaxFacilities":"","closestFacility_ForceHierarchyBeyondDistance":"","closestFacility_ForceHierarchyBeyondDistanceUnits":"esriMeters","oDCostMatrix_MaxBarriers":"","oDCostMatrix_MaxFeaturesInLineBarriers":"","oDCostMatrix_MaxDestinationsToFind":"","oDCostMatrix_MaxFeaturesInPolygonBarriers":"","oDCostMatrix_MaxDestinations":"","oDCostMatrix_MaxOrigins":"","oDCostMatrix_ForceHierarchyBeyondDistance":"","oDCostMatrix_ForceHierarchyBeyondDistanceUnits":"esriMeters","vRP_MaxBarriers":"","vRP_MaxFeaturesInLineBarriers":"","vRP_MaxFeaturesInPolygonBarriers":"","vRP_MaxOrders":"","vRP_MaxRoutes":"","vRP_ForceHierarchyBeyondDistance":"","vRP_ForceHierarchyBeyondDistanceUnits":"esriMeters","locationAllocation_MaxBarriers":"","locationAllocation_MaxFeaturesInLineBarriers":"","locationAllocation_MaxFeaturesInPolygonBarriers":"","locationAllocation_MaxDemandPoints":"","locationAllocation_MaxFacilities":"","locationAllocation_ForceHierarchyBeyondDistance":"","locationAllocation_ForceHierarchyBeyondDistanceUnits":"esriMeters"}},{"enabled":false,"typeName":"SchematicsServer","capabilities":"Query","properties":{}},{"enabled":false,"typeName":"WCSServer","capabilities":"","properties":{"onlineResource":"","customGetCapabilities":"","pathToCustomGetCapabilitiesFiles":"","name":"test","title":"","abstract":"","keywords":"","fees":"","accessConstraints":"","maxImageWidth":"","maxImageHeight":"","providerName":"","providerWebsite":"","responsiblePerson":"","responsiblePosition":"","phone":"","fax":"","email":"","address":"","city":"","province":"","zipcode":"","country":"","serviceHour":"","contactInstructions":"","role":""}},{"enabled":false,"typeName":"FeatureServer","capabilities":"Query,Create,Update,Delete,Uploads,Editing","properties":{"maxRecordCount":"1000","enableZDefaults":"false","zDefaultValue":"0","enableOwnershipBasedAccessControl":"false","allowOthersToQuery":"true","allowOthersToUpdate":"false","allowOthersToDelete":"false","datasetInspected":"true","creatorPresent":"false","versionedData":"false","dataInGdb":"false","realm":"","editorTrackingTimeZoneID":"UTC","editorTrackingRespectsDayLightSavingTime":"false","editorTrackingTimeInUTC":"true","allowGeometryUpdates":"true","allowTrueCurvesUpdates":"false","xssPreventionEnabled":"true","syncEnabled":"false","syncVersionCreationRule":"versionPerDownloadedMap"}},{"enabled":false,"typeName":"WFSServer","capabilities":"","properties":{"onlineResource":"","appSchemaURI":"WFS","appSchemaPrefix":"test","customGetCapabilities":"false","pathToCustomGetCapabilitiesFiles":"","enableTransactions":"","axisOrderWFS10":"LongLat","axisOrderWFS11":"LatLong","name":"test","title":"","abstract":"","keyword":"","serviceType":"","serviceTypeVersion":"","fees":"","accessConstraints":"","providerName":"","providerSite":"","individualName":"","positionName":"","phone":"","facsimile":"","deliveryPoint":"","city":"","administrativeArea":"","postalCode":"","country":"","electronicMailAddress":"","hoursOfService":"","contactInstructions":"","role":""}},{"enabled":false,"typeName":"MobileServer","capabilities":"Uploads","properties":{}}],"provider":"ArcObjects"}}
in_sdp_id: i07920f72-a815-40af-a2b0-a76ad7cc8a6b
---------------------------
{"error":{"code":499,"message":"Token Required","details":[]}}
--------------------------------------------------------------------
2.5 地图服务再次发布
请求 URL: https://172.16.2.17:6443/arcgis/rest/services/System/PublishingTools/GPServer/Publish%20Service%20Definition/submitJob
POST
f: json
in_config_overwrite: %7B%22folderName%22%3A%22%2F%22%2C%22service%22%3A%7B%22serviceName%22%3A%22test%22%2C%22type%22%3A%22MapServer%22%2C%22description%22%3A%22%22%2C%22capabilities%22%3A%22Map%2CQuery%2CData%22%2C%22properties%22%3A%7B%22filePath%22%3A%22%22%2C%22supportedImageReturnTypes%22%3A%22URL%22%2C%22maxRecordCount%22%3A%221000%22%2C%22exportTilesAllowed%22%3A%22false%22%2C%22maxExportTilesCount%22%3A%22100000%22%2C%22cacheDir%22%3A%22%22%2C%22useLocalCacheDir%22%3A%22true%22%2C%22maxImageHeight%22%3A%224096%22%2C%22maxBufferCount%22%3A%22100%22%2C%22maxImageWidth%22%3A%224096%22%2C%22enableDynamicLayers%22%3A%22false%22%2C%22dynamicDataWorkspaces%22%3A%22%22%2C%22disableIdentifyRelates%22%3A%22false%22%2C%22schemaLockingEnabled%22%3A%22true%22%2C%22maxDomainCodeCount%22%3A%2225000%22%2C%22isCached%22%3A%22false%22%2C%22cacheOnDemand%22%3A%22false%22%2C%22ignoreCache%22%3A%22false%22%2C%22clientCachingAllowed%22%3A%22true%22%2C%22antialiasingMode%22%3A%22None%22%2C%22textAntialiasingMode%22%3A%22Force%22%2C%22minScale%22%3A%229244648.8686180003%22%2C%22maxScale%22%3A%224513.9887049999998%22%7D%2C%22clusterName%22%3A%22default%22%2C%22maxIdleTime%22%3A1800%2C%22isolationLevel%22%3A%22HIGH%22%2C%22loadBalancing%22%3A%22ROUND_ROBIN%22%2C%22configuredState%22%3A%22STOPPED%22%2C%22minInstancesPerNode%22%3A1%2C%22maxInstancesPerNode%22%3A2%2C%22maxWaitTime%22%3A60%2C%22maxUsageTime%22%3A600%2C%22instancesPerContainer%22%3A1%2C%22keepAliveInterval%22%3A1800%2C%22recycleStartTime%22%3A%2200%3A00%22%2C%22recycleInterval%22%3A%2224%22%2C%22extensions%22%3A%5B%7B%22enabled%22%3Afalse%2C%22typeName%22%3A%22KmlServer%22%2C%22capabilities%22%3A%22SingleImage%2CSeparateImages%2CVectors%22%2C%22properties%22%3A%7B%22imageSize%22%3A%221024%22%2C%22featureLimit%22%3A%221000000%22%2C%22dpi%22%3A%2296%22%2C%22minRefreshPeriod%22%3A%2230%22%2C%22compatibilityMode%22%3A%22GoogleEarth%22%2C%22composite%22%3A%22true%22%2C%22useNetworkLinkControlTag%22%3A%22false%22%2C%22endPointURL%22%3A%22%22%2C%22linkDescription%22%3A%22%22%2C%22linkName%22%3A%22%22%2C%22message%22%3A%22%22%2C%22useDefaultSnippets%22%3A%22false%22%7D%7D%2C%7B%22enabled%22%3Afalse%2C%22typeName%22%3A%22WMSServer%22%2C%22capabilities%22%3A%22GetCapabilities%2CGetMap%2CGetFeatureInfo%2CGetStyles%2CGetLegendGraphic%2CGetSchemaExtension%22%2C%22properties%22%3A%7B%22onlineResource%22%3A%22%22%2C%22customGetCapabilities%22%3A%22false%22%2C%22pathToCustomGetCapabilitiesFiles%22%3A%22%22%2C%22pathToCustomSLDFile%22%3A%22%22%2C%22inheritLayerNames%22%3A%22false%22%2C%22name%22%3A%22WMS%22%2C%22title%22%3A%22%22%2C%22abstract%22%3A%22%22%2C%22keyword%22%3A%22%22%2C%22contactPerson%22%3A%22%22%2C%22contactPosition%22%3A%22%22%2C%22contactOrganization%22%3A%22%22%2C%22address%22%3A%22%22%2C%22addressType%22%3A%22%22%2C%22city%22%3A%22%22%2C%22stateOrProvince%22%3A%22%22%2C%22postCode%22%3A%22%22%2C%22country%22%3A%22%22%2C%22contactVoiceTelephone%22%3A%22%22%2C%22contactFacsimileTelephone%22%3A%22%22%2C%22contactElectronicMailAddress%22%3A%22%22%2C%22fees%22%3A%22%22%2C%22accessConstraints%22%3A%22%22%7D%7D%2C%7B%22enabled%22%3Afalse%2C%22typeName%22%3A%22NAServer%22%2C%22capabilities%22%3A%22%22%2C%22properties%22%3A%7B%22saveLayerOnServerWhenError%22%3A%22false%22%2C%22defaultOutputGeometryPrecision%22%3A%22%22%2C%22defaultOutputGeometryPrecisionUnits%22%3A%22esriMeters%22%2C%22saveLayerOnServerWhenDebugging%22%3A%22false%22%2C%22allowSaveLayerOnServer%22%3A%22true%22%2C%22naLayerDir%22%3A%22%22%2C%22route_MaxBarriers%22%3A%22%22%2C%22route_MaxFeaturesInLineBarriers%22%3A%22%22%2C%22route_MaxFeaturesInPolygonBarriers%22%3A%22%22%2C%22route_AllowTimeWindows%22%3A%22true%22%2C%22route_MaxStops%22%3A%22%22%2C%22route_ForceHierarchyBeyondDistance%22%3A%22%22%2C%22route_ForceHierarchyBeyondDistanceUnits%22%3A%22esriMeters%22%2C%22serviceArea_MaxBarriers%22%3A%22%22%2C%22serviceArea_MaxFeaturesInLineBarriers%22%3A%22%22%2C%22serviceArea_MaxFeaturesInPolygonBarriers%22%3A%22%22%2C%22serviceArea_MaxFacilities%22%3A%22%22%2C%22serviceArea_MaxBreakValue_Time%22%3A%22%22%2C%22serviceArea_MaxBreakValue_TimeUnits%22%3A%22esriTimeUnitsMinutes%22%2C%22serviceArea_MaxBreakValue_Length%22%3A%22%22%2C%22serviceArea_MaxBreakValue_LengthUnits%22%3A%22esriMeters%22%2C%22serviceArea_MaxBreakValue_Other%22%3A%22%22%2C%22serviceArea_ForceHierarchyBeyondTime%22%3A%22%22%2C%22serviceArea_ForceHierarchyBeyondTimeUnits%22%3A%22esriTimeUnitsMinutes%22%2C%22serviceArea_ForceHierarchyBeyondDistance%22%3A%22%22%2C%22serviceArea_ForceHierarchyBeyondDistanceUnits%22%3A%22esriMeters%22%2C%22serviceArea_ForceHierarchyBeyondOther%22%3A%22%22%2C%22closestFacility_MaxBarriers%22%3A%22%22%2C%22closestFacility_MaxIncidents%22%3A%22%22%2C%22closestFacility_MaxFeaturesInLineBarriers%22%3A%22%22%2C%22closestFacility_MaxFacilitiesToFind%22%3A%22%22%2C%22closestFacility_MaxFeaturesInPolygonBarriers%22%3A%22%22%2C%22closestFacility_MaxFacilities%22%3A%22%22%2C%22closestFacility_ForceHierarchyBeyondDistance%22%3A%22%22%2C%22closestFacility_ForceHierarchyBeyondDistanceUnits%22%3A%22esriMeters%22%2C%22oDCostMatrix_MaxBarriers%22%3A%22%22%2C%22oDCostMatrix_MaxFeaturesInLineBarriers%22%3A%22%22%2C%22oDCostMatrix_MaxDestinationsToFind%22%3A%22%22%2C%22oDCostMatrix_MaxFeaturesInPolygonBarriers%22%3A%22%22%2C%22oDCostMatrix_MaxDestinations%22%3A%22%22%2C%22oDCostMatrix_MaxOrigins%22%3A%22%22%2C%22oDCostMatrix_ForceHierarchyBeyondDistance%22%3A%22%22%2C%22oDCostMatrix_ForceHierarchyBeyondDistanceUnits%22%3A%22esriMeters%22%2C%22vRP_MaxBarriers%22%3A%22%22%2C%22vRP_MaxFeaturesInLineBarriers%22%3A%22%22%2C%22vRP_MaxFeaturesInPolygonBarriers%22%3A%22%22%2C%22vRP_MaxOrders%22%3A%22%22%2C%22vRP_MaxRoutes%22%3A%22%22%2C%22vRP_ForceHierarchyBeyondDistance%22%3A%22%22%2C%22vRP_ForceHierarchyBeyondDistanceUnits%22%3A%22esriMeters%22%2C%22locationAllocation_MaxBarriers%22%3A%22%22%2C%22locationAllocation_MaxFeaturesInLineBarriers%22%3A%22%22%2C%22locationAllocation_MaxFeaturesInPolygonBarriers%22%3A%22%22%2C%22locationAllocation_MaxDemandPoints%22%3A%22%22%2C%22locationAllocation_MaxFacilities%22%3A%22%22%2C%22locationAllocation_ForceHierarchyBeyondDistance%22%3A%22%22%2C%22locationAllocation_ForceHierarchyBeyondDistanceUnits%22%3A%22esriMeters%22%7D%7D%2C%7B%22enabled%22%3Afalse%2C%22typeName%22%3A%22SchematicsServer%22%2C%22capabilities%22%3A%22Query%22%2C%22properties%22%3A%7B%7D%7D%2C%7B%22enabled%22%3Afalse%2C%22typeName%22%3A%22WCSServer%22%2C%22capabilities%22%3A%22%22%2C%22properties%22%3A%7B%22onlineResource%22%3A%22%22%2C%22customGetCapabilities%22%3A%22%22%2C%22pathToCustomGetCapabilitiesFiles%22%3A%22%22%2C%22name%22%3A%22test%22%2C%22title%22%3A%22%22%2C%22abstract%22%3A%22%22%2C%22keywords%22%3A%22%22%2C%22fees%22%3A%22%22%2C%22accessConstraints%22%3A%22%22%2C%22maxImageWidth%22%3A%22%22%2C%22maxImageHeight%22%3A%22%22%2C%22providerName%22%3A%22%22%2C%22providerWebsite%22%3A%22%22%2C%22responsiblePerson%22%3A%22%22%2C%22responsiblePosition%22%3A%22%22%2C%22phone%22%3A%22%22%2C%22fax%22%3A%22%22%2C%22email%22%3A%22%22%2C%22address%22%3A%22%22%2C%22city%22%3A%22%22%2C%22province%22%3A%22%22%2C%22zipcode%22%3A%22%22%2C%22country%22%3A%22%22%2C%22serviceHour%22%3A%22%22%2C%22contactInstructions%22%3A%22%22%2C%22role%22%3A%22%22%7D%7D%2C%7B%22enabled%22%3Afalse%2C%22typeName%22%3A%22FeatureServer%22%2C%22capabilities%22%3A%22Query%2CCreate%2CUpdate%2CDelete%2CUploads%2CEditing%22%2C%22properties%22%3A%7B%22maxRecordCount%22%3A%221000%22%2C%22enableZDefaults%22%3A%22false%22%2C%22zDefaultValue%22%3A%220%22%2C%22enableOwnershipBasedAccessControl%22%3A%22false%22%2C%22allowOthersToQuery%22%3A%22true%22%2C%22allowOthersToUpdate%22%3A%22false%22%2C%22allowOthersToDelete%22%3A%22false%22%2C%22datasetInspected%22%3A%22true%22%2C%22creatorPresent%22%3A%22false%22%2C%22versionedData%22%3A%22false%22%2C%22dataInGdb%22%3A%22false%22%2C%22realm%22%3A%22%22%2C%22editorTrackingTimeZoneID%22%3A%22UTC%22%2C%22editorTrackingRespectsDayLightSavingTime%22%3A%22false%22%2C%22editorTrackingTimeInUTC%22%3A%22true%22%2C%22allowGeometryUpdates%22%3A%22true%22%2C%22allowTrueCurvesUpdates%22%3A%22false%22%2C%22xssPreventionEnabled%22%3A%22true%22%2C%22syncEnabled%22%3A%22false%22%2C%22syncVersionCreationRule%22%3A%22versionPerDownloadedMap%22%7D%7D%2C%7B%22enabled%22%3Afalse%2C%22typeName%22%3A%22WFSServer%22%2C%22capabilities%22%3A%22%22%2C%22properties%22%3A%7B%22onlineResource%22%3A%22%22%2C%22appSchemaURI%22%3A%22WFS%22%2C%22appSchemaPrefix%22%3A%22test%22%2C%22customGetCapabilities%22%3A%22false%22%2C%22pathToCustomGetCapabilitiesFiles%22%3A%22%22%2C%22enableTransactions%22%3A%22%22%2C%22axisOrderWFS10%22%3A%22LongLat%22%2C%22axisOrderWFS11%22%3A%22LatLong%22%2C%22name%22%3A%22test%22%2C%22title%22%3A%22%22%2C%22abstract%22%3A%22%22%2C%22keyword%22%3A%22%22%2C%22serviceType%22%3A%22%22%2C%22serviceTypeVersion%22%3A%22%22%2C%22fees%22%3A%22%22%2C%22accessConstraints%22%3A%22%22%2C%22providerName%22%3A%22%22%2C%22providerSite%22%3A%22%22%2C%22individualName%22%3A%22%22%2C%22positionName%22%3A%22%22%2C%22phone%22%3A%22%22%2C%22facsimile%22%3A%22%22%2C%22deliveryPoint%22%3A%22%22%2C%22city%22%3A%22%22%2C%22administrativeArea%22%3A%22%22%2C%22postalCode%22%3A%22%22%2C%22country%22%3A%22%22%2C%22electronicMailAddress%22%3A%22%22%2C%22hoursOfService%22%3A%22%22%2C%22contactInstructions%22%3A%22%22%2C%22role%22%3A%22%22%7D%7D%2C%7B%22enabled%22%3Afalse%2C%22typeName%22%3A%22MobileServer%22%2C%22capabilities%22%3A%22Uploads%22%2C%22properties%22%3A%7B%7D%7D%5D%2C%22provider%22%3A%22ArcObjects%22%7D%7D
in_sdp_id: i07920f72-a815-40af-a2b0-a76ad7cc8a6b
token: j1zAY3sL6SRAoz_qpWxjJV1yEbmnxCbyvgTr8HbpKy-3BbjhdVIHBxFRWXZViuLpIxH9ZKBlVeBf4BlGkkhn2w..
{"jobId":"j49937d9f24e441a1a3fb035c9004d0a7","jobStatus":"esriJobSubmitted"}
--------------------------------------------------------------------
2.6 地图服务发布进度
请求 URL: https://172.16.2.17:6443/arcgis/rest/services/System/PublishingTools/GPServer/Publish%20Service%20Definition/jobs/j49937d9f24e441a1a3fb035c9004d0a7?f=json&token=j1zAY3sL6SRAoz_qpWxjJV1yEbmnxCbyvgTr8HbpKy-3BbjhdVIHBxFRWXZViuLpIxH9ZKBlVeBf4BlGkkhn2w..&dojo.preventCache=1560826970129
GET
{"jobId":"j49937d9f24e441a1a3fb035c9004d0a7","jobStatus":"esriJobSubmitted","messages":[]}
--------------------------------------------------------------------
2.7 地图服务发布进度
请求 URL: https://172.16.2.17:6443/arcgis/rest/services/System/PublishingTools/GPServer/Publish%20Service%20Definition/jobs/j49937d9f24e441a1a3fb035c9004d0a7?f=json&token=j1zAY3sL6SRAoz_qpWxjJV1yEbmnxCbyvgTr8HbpKy-3BbjhdVIHBxFRWXZViuLpIxH9ZKBlVeBf4BlGkkhn2w..&dojo.preventCache=1560826979142
GET
{"jobId":"j49937d9f24e441a1a3fb035c9004d0a7","jobStatus":"esriJobSucceeded","results":{"out_soap_svc_url":{"paramUrl":"results/out_soap_svc_url"},"out_rest_svc_url":{"paramUrl":"results/out_rest_svc_url"},"out_results":{"paramUrl":"results/out_results"}},"inputs":{"in_sdp_id":{"paramUrl":"inputs/in_sdp_id"},"in_config_overwrite":{"paramUrl":"inputs/in_config_overwrite"},"in_publish_options":{"paramUrl":"inputs/in_publish_options"}},"messages":[{"type":"esriJobMessageTypeInformative","description":"Executing (Publish Service Definition): PublishServiceDefinition i07920f72-a815-40af-a2b0-a76ad7cc8a6b {\"folderName\":\"/\",\"service\":{\"serviceName\":\"test\",\"type\":\"MapServer\",\"description\":\"\",\"capabilities\":\"Map,Query,Data\",\"properties\":{\"filePath\":\"\",\"supportedImageReturnTypes\":\"URL\",\"maxRecordCount\":\"1000\",\"exportTilesAllowed\":\"false\",\"maxExportTilesCount\":\"100000\",\"cacheDir\":\"\",\"useLocalCacheDir\":\"true\",\"maxImageHeight\":\"4096\",\"maxBufferCount\":\"100\",\"maxImageWidth\":\"4096\",\"enableDynamicLayers\":\"false\",\"dynamicDataWorkspaces\":\"\",\"disableIdentifyRelates\":\"false\",\"schemaLockingEnabled\":\"true\",\"maxDomainCodeCount\":\"25000\",\"isCached\":\"false\",\"cacheOnDemand\":\"false\",\"ignoreCache\":\"false\",\"clientCachingAllowed\":\"true\",\"antialiasingMode\":\"None\",\"textAntialiasingMode\":\"Force\",\"minScale\":\"9244648.8686180003\",\"maxScale\":\"4513.9887049999998\"},\"clusterName\":\"default\",\"maxIdleTime\":1800,\"isolationLevel\":\"HIGH\",\"loadBalancing\":\"ROUND_ROBIN\",\"configuredState\":\"STOPPED\",\"minInstancesPerNode\":1,\"maxInstancesPerNode\":2,\"maxWaitTime\":60,\"maxUsageTime\":600,\"instancesPerContainer\":1,\"keepAliveInterval\":1800,\"recycleStartTime\":\"00:00\",\"recycleInterval\":\"24\",\"extensions\":[{\"enabled\":false,\"typeName\":\"KmlServer\",\"capabilities\":\"SingleImage,SeparateImages,Vectors\",\"properties\":{\"imageSize\":\"1024\",\"featureLimit\":\"1000000\",\"dpi\":\"96\",\"minRefreshPeriod\":\"30\",\"compatibilityMode\":\"GoogleEarth\",\"composite\":\"true\",\"useNetworkLinkControlTag\":\"false\",\"endPointURL\":\"\",\"linkDescription\":\"\",\"linkName\":\"\",\"message\":\"\",\"useDefaultSnippets\":\"false\"}},{\"enabled\":false,\"typeName\":\"WMSServer\",\"capabilities\":\"GetCapabilities,GetMap,GetFeatureInfo,GetStyles,GetLegendGraphic,GetSchemaExtension\",\"properties\":{\"onlineResource\":\"\",\"customGetCapabilities\":\"false\",\"pathToCustomGetCapabilitiesFiles\":\"\",\"pathToCustomSLDFile\":\"\",\"inheritLayerNames\":\"false\",\"name\":\"WMS\",\"title\":\"\",\"abstract\":\"\",\"keyword\":\"\",\"contactPerson\":\"\",\"contactPosition\":\"\",\"contactOrganization\":\"\",\"address\":\"\",\"addressType\":\"\",\"city\":\"\",\"stateOrProvince\":\"\",\"postCode\":\"\",\"country\":\"\",\"contactVoiceTelephone\":\"\",\"contactFacsimileTelephone\":\"\",\"contactElectronicMailAddress\":\"\",\"fees\":\"\",\"accessConstraints\":\"\"}},{\"enabled\":false,\"typeName\":\"NAServer\",\"capabilities\":\"\",\"properties\":{\"saveLayerOnServerWhenError\":\"false\",\"defaultOutputGeometryPrecision\":\"\",\"defaultOutputGeometryPrecisionUnits\":\"esriMeters\",\"saveLayerOnServerWhenDebugging\":\"false\",\"allowSaveLayerOnServer\":\"true\",\"naLayerDir\":\"\",\"route_MaxBarriers\":\"\",\"route_MaxFeaturesInLineBarriers\":\"\",\"route_MaxFeaturesInPolygonBarriers\":\"\",\"route_AllowTimeWindows\":\"true\",\"route_MaxStops\":\"\",\"route_ForceHierarchyBeyondDistance\":\"\",\"route_ForceHierarchyBeyondDistanceUnits\":\"esriMeters\",\"serviceArea_MaxBarriers\":\"\",\"serviceArea_MaxFeaturesInLineBarriers\":\"\",\"serviceArea_MaxFeaturesInPolygonBarriers\":\"\",\"serviceArea_MaxFacilities\":\"\",\"serviceArea_MaxBreakValue_Time\":\"\",\"serviceArea_MaxBreakValue_TimeUnits\":\"esriTimeUnitsMinutes\",\"serviceArea_MaxBreakValue_Length\":\"\",\"serviceArea_MaxBreakValue_LengthUnits\":\"esriMeters\",\"serviceArea_MaxBreakValue_Other\":\"\",\"serviceArea_ForceHierarchyBeyondTime\":\"\",\"serviceArea_ForceHierarchyBeyondTimeUnits\":\"esriTimeUnitsMinutes\",\"serviceArea_ForceHierarchyBeyondDistance\":\"\",\"serviceArea_ForceHierarchyBeyondDistanceUnits\":\"esriMeters\",\"serviceArea_ForceHierarchyBeyondOther\":\"\",\"closestFacility_MaxBarriers\":\"\",\"closestFacility_MaxIncidents\":\"\",\"closestFacility_MaxFeaturesInLineBarriers\":\"\",\"closestFacility_MaxFacilitiesToFind\":\"\",\"closestFacility_MaxFeaturesInPolygonBarriers\":\"\",\"closestFacility_MaxFacilities\":\"\",\"closestFacility_ForceHierarchyBeyondDistance\":\"\",\"closestFacility_ForceHierarchyBeyondDistanceUnits\":\"esriMeters\",\"oDCostMatrix_MaxBarriers\":\"\",\"oDCostMatrix_MaxFeaturesInLineBarriers\":\"\",\"oDCostMatrix_MaxDestinationsToFind\":\"\",\"oDCostMatrix_MaxFeaturesInPolygonBarriers\":\"\",\"oDCostMatrix_MaxDestinations\":\"\",\"oDCostMatrix_MaxOrigins\":\"\",\"oDCostMatrix_ForceHierarchyBeyondDistance\":\"\",\"oDCostMatrix_ForceHierarchyBeyondDistanceUnits\":\"esriMeters\",\"vRP_MaxBarriers\":\"\",\"vRP_MaxFeaturesInLineBarriers\":\"\",\"vRP_MaxFeaturesInPolygonBarriers\":\"\",\"vRP_MaxOrders\":\"\",\"vRP_MaxRoutes\":\"\",\"vRP_ForceHierarchyBeyondDistance\":\"\",\"vRP_ForceHierarchyBeyondDistanceUnits\":\"esriMeters\",\"locationAllocation_MaxBarriers\":\"\",\"locationAllocation_MaxFeaturesInLineBarriers\":\"\",\"locationAllocation_MaxFeaturesInPolygonBarriers\":\"\",\"locationAllocation_MaxDemandPoints\":\"\",\"locationAllocation_MaxFacilities\":\"\",\"locationAllocation_ForceHierarchyBeyondDistance\":\"\",\"locationAllocation_ForceHierarchyBeyondDistanceUnits\":\"esriMeters\"}},{\"enabled\":false,\"typeName\":\"SchematicsServer\",\"capabilities\":\"Query\",\"properties\":{}},{\"enabled\":false,\"typeName\":\"WCSServer\",\"capabilities\":\"\",\"properties\":{\"onlineResource\":\"\",\"customGetCapabilities\":\"\",\"pathToCustomGetCapabilitiesFiles\":\"\",\"name\":\"test\",\"title\":\"\",\"abstract\":\"\",\"keywords\":\"\",\"fees\":\"\",\"accessConstraints\":\"\",\"maxImageWidth\":\"\",\"maxImageHeight\":\"\",\"providerName\":\"\",\"providerWebsite\":\"\",\"responsiblePerson\":\"\",\"responsiblePosition\":\"\",\"phone\":\"\",\"fax\":\"\",\"email\":\"\",\"address\":\"\",\"city\":\"\",\"province\":\"\",\"zipcode\":\"\",\"country\":\"\",\"serviceHour\":\"\",\"contactInstructions\":\"\",\"role\":\"\"}},{\"enabled\":false,\"typeName\":\"FeatureServer\",\"capabilities\":\"Query,Create,Update,Delete,Uploads,Editing\",\"properties\":{\"maxRecordCount\":\"1000\",\"enableZDefaults\":\"false\",\"zDefaultValue\":\"0\",\"enableOwnershipBasedAccessControl\":\"false\",\"allowOthersToQuery\":\"true\",\"allowOthersToUpdate\":\"false\",\"allowOthersToDelete\":\"false\",\"datasetInspected\":\"true\",\"creatorPresent\":\"false\",\"versionedData\":\"false\",\"dataInGdb\":\"false\",\"realm\":\"\",\"editorTrackingTimeZoneID\":\"UTC\",\"editorTrackingRespectsDayLightSavingTime\":\"false\",\"editorTrackingTimeInUTC\":\"true\",\"allowGeometryUpdates\":\"true\",\"allowTrueCurvesUpdates\":\"false\",\"xssPreventionEnabled\":\"true\",\"syncEnabled\":\"false\",\"syncVersionCreationRule\":\"versionPerDownloadedMap\"}},{\"enabled\":false,\"typeName\":\"WFSServer\",\"capabilities\":\"\",\"properties\":{\"onlineResource\":\"\",\"appSchemaURI\":\"WFS\",\"appSchemaPrefix\":\"test\",\"customGetCapabilities\":\"false\",\"pathToCustomGetCapabilitiesFiles\":\"\",\"enableTransactions\":\"\",\"axisOrderWFS10\":\"LongLat\",\"axisOrderWFS11\":\"LatLong\",\"name\":\"test\",\"title\":\"\",\"abstract\":\"\",\"keyword\":\"\",\"serviceType\":\"\",\"serviceTypeVersion\":\"\",\"fees\":\"\",\"accessConstraints\":\"\",\"providerName\":\"\",\"providerSite\":\"\",\"individualName\":\"\",\"positionName\":\"\",\"phone\":\"\",\"facsimile\":\"\",\"deliveryPoint\":\"\",\"city\":\"\",\"administrativeArea\":\"\",\"postalCode\":\"\",\"country\":\"\",\"electronicMailAddress\":\"\",\"hoursOfService\":\"\",\"contactInstructions\":\"\",\"role\":\"\"}},{\"enabled\":false,\"typeName\":\"MobileServer\",\"capabilities\":\"Uploads\",\"properties\":{}}],\"provider\":\"ArcObjects\"}} # #"},{"type":"esriJobMessageTypeInformative","description":"Start Time: Tue Jun 18 11:02:46 2019"},{"type":"esriJobMessageTypeInformative","description":"Validating publish options."},{"type":"esriJobMessageTypeInformative","description":"Connecting to the server."},{"type":"esriJobMessageTypeInformative","description":"Getting basic item metadata for service definition upload."},{"type":"esriJobMessageTypeInformative","description":"Getting server information (server folders, data stores, etc.)."},{"type":"esriJobMessageTypeInformative","description":"Extracting manifiest from uploaded service definition."},{"type":"esriJobMessageTypeInformative","description":"Deriving arcgis server service from hosted service (hosted service definition)."},{"type":"esriJobMessageTypeInformative","description":"Updating state based on configuration overwrite."},{"type":"esriJobMessageTypeInformative","description":"Validating service definition."},{"type":"esriJobMessageTypeWarning","description":"WARNING 086222: Output directory in service definition is not set or is invalid. Using default output directory."},{"type":"esriJobMessageTypeWarning","description":"WARNING 086224: Cache directory in service definition is not set or is invalid. Using default cache directory."},{"type":"esriJobMessageTypeInformative","description":"Determining if the service requires data to be in ArcGIS Server's Managed Database."},{"type":"esriJobMessageTypeInformative","description":"Determining service's input folder name."},{"type":"esriJobMessageTypeInformative","description":"Attempt to find service's input folder."},{"type":"esriJobMessageTypeInformative","description":"Creating the service."},{"type":"esriJobMessageTypeInformative","description":"Adding item information card to service."},{"type":"esriJobMessageTypeInformative","description":"Updating file and folder information in service's manifest."},{"type":"esriJobMessageTypeInformative","description":"Updating database information in service's manifest."},{"type":"esriJobMessageTypeInformative","description":"Adding manifest to configuration store."},{"type":"esriJobMessageTypeInformative","description":"Building the service URLs."},{"type":"esriJobMessageTypeInformative","description":"Succeeded at Tue Jun 18 11:02:52 2019 (Elapsed Time: 6.10 seconds)"}]}
-------------------------------------------------------------------------
2.8 地图服务缩略图
请求 URL: https://172.16.2.17:6443/arcgis/admin/services/test.MapServer/iteminfo/thumbnail/thumbnail.png?token=j1zAY3sL6SRAoz_qpWxjJV1yEbmnxCbyvgTr8HbpKy-3BbjhdVIHBxFRWXZViuLpIxH9ZKBlVeBf4BlGkkhn2w..
GET
-------------------------------------------------------------------------
2.9 查看服务的信息
请求 URL: https://172.16.2.17:6443/arcgis/admin/services?f=json&token=j1zAY3sL6SRAoz_qpWxjJV1yEbmnxCbyvgTr8HbpKy-3BbjhdVIHBxFRWXZViuLpIxH9ZKBlVeBf4BlGkkhn2w..&dojo.preventCache=1560826980837
GET
{"folderName":"/","description":"Root folder","webEncrypted":false,"isDefault":false,"folders":["resourceAudit","System","Utilities"],"foldersDetail":[{"folderName":"resourceAudit","description":"None","webEncrypted":false,"isDefault":false},{"folderName":"System","description":"System 文件夹包含供 ArcGIS Server 使用的自动部署的服务。","webEncrypted":false,"isDefault":true},{"folderName":"Utilities","description":"Utilities 文件夹包含可供应用程序开发人员使用的自动部署的服务。","webEncrypted":false,"isDefault":true}],"services":[{"folderName":"/","serviceName":"SampleWorldCities","type":"MapServer","description":"SampleWorldCities 服务用于快速轻松地预览 GIS 服务器的功能。单击缩略图图像可以在 web 应用程序中打开它。此实例服务为可选服务,因此可以删除。"},{"folderName":"/","serviceName":"shaanxi1","type":"MapServer","description":""},{"folderName":"/","serviceName":"test","type":"MapServer","description":""}]}
-----------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------
3.1 启动地图服务
请求 URL: https://172.16.2.17:6443/arcgis/admin/services///test.MapServer/start
POST
f: json
token: j1zAY3sL6SRAoz_qpWxjJV1yEbmnxCbyvgTr8HbpKy-3BbjhdVIHBxFRWXZViuLpIxH9ZKBlVeBf4BlGkkhn2w..
------------------------------------
{"status":"success"}
-------------------------------------------------------------------------
3.2 服务权限
请求 URL: https://172.16.2.17:6443/arcgis/admin/services///permissions?f=json&token=j1zAY3sL6SRAoz_qpWxjJV1yEbmnxCbyvgTr8HbpKy-3BbjhdVIHBxFRWXZViuLpIxH9ZKBlVeBf4BlGkkhn2w..&dojo.preventCache=1560826980882
GET
{"permissions":[{"principal":"esriEveryone","permission":{"isAllowed":true},"childURL":null,"operation":null}]}
-------------------------------------------------------------------------
-------------------------------------------------------------------------