<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic publish hosted map image layer in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-hosted-map-image-layer/m-p/777373#M1040</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to publish a map from an arcgis pro projectfile with Python as map image layer in portal&lt;/P&gt;&lt;P&gt;so the step is to create a sddraft file and continue with a sd-file and publish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all done and is working for feature layers&lt;/P&gt;&lt;P&gt;but for my map image layer with later wms capabilities python returns the message&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;2018-10-26 13:46:15,360 Unable to publish item.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;2018-10-26 13:46:15,360 This service definition file was created for an ArcGIS Server site and must be uploaded directly to an ArcGIS Server site through ArcGIS Server Manager or ArcMap.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;publishing of the sd-file in the arcgis server manager fails as well&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;I did some analysis of the sddraft from python and arc gis pro. they differ quit a lot and even type definitions of certain elements in the xml differ. There are a few elements which are typed as Boolean in the arcgis pro sd-draft file while they are strings in the python sd-draft file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;my code is as follow:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;if createFilesWMS:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; project = loadProject(projectFileLocation)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; aprxMap = loadMap(project)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wms_draft = aprxMap.getWebLayerSharingDraft("FEDERATED_SERVER", "MAP_IMAGE", serviceName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wms_draft.federatedServerUrl = arcgisServerUrl&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wms_draft.serviceName = serviceName&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wms_draft.summary = "BGT"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wms_draft.tags = "BGT,WMS"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wms_draft.description = "BGT als mapservice en WMS"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wmsSDDraft = stagingFolder + "\\" + serviceName + "_wms.sddraft"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; try:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wms_draft.exportToSDDraft(wmsSDDraft)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; except:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(arcpy.GetMessages())&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;else:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; logInformation("aanmaken sd-draft file voor mapservice/WMS wordt overgeslagen", True,False,False)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;wmsSD = stagingFolder + "\\" + serviceName + "_wms.sd"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;if createFilesWMS:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.env.overwriteOutput = True&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; logInformation("mapservice/WMS sd file maken", True,False,False)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;try:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.StageService_server(wmsSDDraft, wmsSD)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am curious what I do wrong here to make my map a hosted map service layer and how can I publish my map with wms-capabilities?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2018 14:30:52 GMT</pubDate>
    <dc:creator>Mannus_Etten</dc:creator>
    <dc:date>2018-10-26T14:30:52Z</dc:date>
    <item>
      <title>publish hosted map image layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-hosted-map-image-layer/m-p/777373#M1040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to publish a map from an arcgis pro projectfile with Python as map image layer in portal&lt;/P&gt;&lt;P&gt;so the step is to create a sddraft file and continue with a sd-file and publish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all done and is working for feature layers&lt;/P&gt;&lt;P&gt;but for my map image layer with later wms capabilities python returns the message&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;2018-10-26 13:46:15,360 Unable to publish item.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;2018-10-26 13:46:15,360 This service definition file was created for an ArcGIS Server site and must be uploaded directly to an ArcGIS Server site through ArcGIS Server Manager or ArcMap.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;publishing of the sd-file in the arcgis server manager fails as well&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;I did some analysis of the sddraft from python and arc gis pro. they differ quit a lot and even type definitions of certain elements in the xml differ. There are a few elements which are typed as Boolean in the arcgis pro sd-draft file while they are strings in the python sd-draft file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;my code is as follow:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;if createFilesWMS:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; project = loadProject(projectFileLocation)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; aprxMap = loadMap(project)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wms_draft = aprxMap.getWebLayerSharingDraft("FEDERATED_SERVER", "MAP_IMAGE", serviceName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wms_draft.federatedServerUrl = arcgisServerUrl&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wms_draft.serviceName = serviceName&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wms_draft.summary = "BGT"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wms_draft.tags = "BGT,WMS"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wms_draft.description = "BGT als mapservice en WMS"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wmsSDDraft = stagingFolder + "\\" + serviceName + "_wms.sddraft"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; try:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wms_draft.exportToSDDraft(wmsSDDraft)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; except:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(arcpy.GetMessages())&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;else:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; logInformation("aanmaken sd-draft file voor mapservice/WMS wordt overgeslagen", True,False,False)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;wmsSD = stagingFolder + "\\" + serviceName + "_wms.sd"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;if createFilesWMS:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.env.overwriteOutput = True&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; logInformation("mapservice/WMS sd file maken", True,False,False)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;try:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.StageService_server(wmsSDDraft, wmsSD)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="color: #000000; text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0.0001pt; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am curious what I do wrong here to make my map a hosted map service layer and how can I publish my map with wms-capabilities?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 14:30:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-hosted-map-image-layer/m-p/777373#M1040</guid>
      <dc:creator>Mannus_Etten</dc:creator>
      <dc:date>2018-10-26T14:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: publish hosted map image layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-hosted-map-image-layer/m-p/777374#M1041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Did you find any solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 21:17:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-hosted-map-image-layer/m-p/777374#M1041</guid>
      <dc:creator>DamasoAvalos_Ruiz1</dc:creator>
      <dc:date>2019-01-17T21:17:40Z</dc:date>
    </item>
  </channel>
</rss>

