<?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 Re: Printing with secure wmts layer using Export Web Map in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/printing-with-secure-wmts-layer-using-export-web/m-p/1088905#M30905</link>
    <description>&lt;P&gt;Since it works with agol print service, I'd say please upgrade to 10.9.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Aug 2021 15:27:38 GMT</pubDate>
    <dc:creator>TanuHoque</dc:creator>
    <dc:date>2021-08-13T15:27:38Z</dc:date>
    <item>
      <title>Printing with secure wmts layer using Export Web Map</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/printing-with-secure-wmts-layer-using-export-web/m-p/1088875#M30903</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using the print widget to export the current map but get different results if I use the ArcGIS Online utility service compared to my own ArcGIS Server instance (I have tried both 10.6 and 10.7.1). The map contains a secured wmts. If I use&amp;nbsp;&lt;A href="https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task" target="_blank" rel="noopener"&gt;https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task&lt;/A&gt;&amp;nbsp;then the job executes sucessfully. When I swop the endpoint to my own ArcGIS Server print service the job fails. I can see from the logs:&lt;/P&gt;&lt;P&gt;Error executing tool. Export Web Map Task : Failed to create layer from service at &lt;A href="https://xxxxxxxxxxx/xxx/xx/wmts" target="_blank" rel="noopener"&gt;https://xxxxxxxxxxx/xxx/xx/wmts&lt;/A&gt;. Failed to execute (Export Web Map). Failed to execute (Export Web Map Task)&lt;/P&gt;&lt;P&gt;I can see the request&amp;nbsp;&lt;STRONG&gt;Web_Map_as_JSON={"operationalLayers":[{"type":"wmts","customLayerParameters":null,"customParameters":{"key":"XXXXXXXXXXXXXXXXXXXXXXXXXXX"}&amp;nbsp;&lt;/STRONG&gt;....etc&amp;nbsp; includes the key but wonder why the arcgis online utility seems successful in using it whilst ArcGIS Server seems to fail to access the layer.&lt;/P&gt;&lt;P&gt;Do I need to upgrade Server to 10.9 or do I need to look at other options such as a custom print task?&lt;/P&gt;&lt;P&gt;Any thoughts would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 14:26:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/printing-with-secure-wmts-layer-using-export-web/m-p/1088875#M30903</guid>
      <dc:creator>DaveAdams</dc:creator>
      <dc:date>2021-08-13T14:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Printing with secure wmts layer using Export Web Map</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/printing-with-secure-wmts-layer-using-export-web/m-p/1088905#M30905</link>
      <description>&lt;P&gt;Since it works with agol print service, I'd say please upgrade to 10.9.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 15:27:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/printing-with-secure-wmts-layer-using-export-web/m-p/1088905#M30905</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2021-08-13T15:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Printing with secure wmts layer using Export Web Map</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/printing-with-secure-wmts-layer-using-export-web/m-p/1088930#M30906</link>
      <description>&lt;P&gt;Many thanks Tanu, I will try that and post the outcome.&lt;/P&gt;&lt;P&gt;At the moment though I am blocked as I have upgraded a Server to 10.9 but the print service fails to start (all the rest are fine) - I have tried repair installation etc. I may need to start a new post for that issue.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="esriNoteDisplayHeader"&gt;Service failed to start&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="esriNoteDisplayBody"&gt;Utilities.PrintingTools.GPServer: java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 16:03:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/printing-with-secure-wmts-layer-using-export-web/m-p/1088930#M30906</guid>
      <dc:creator>DaveAdams</dc:creator>
      <dc:date>2021-08-13T16:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Printing with secure wmts layer using Export Web Map</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/printing-with-secure-wmts-layer-using-export-web/m-p/1090390#M30966</link>
      <description>&lt;P&gt;After doing a clean re-install I have now tested the webmap json which contains the wmts and custom key parameter against 10.9 and it worked fine. There must have been some changes vs older ArcGIS Server printing services.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 14:58:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/printing-with-secure-wmts-layer-using-export-web/m-p/1090390#M30966</guid>
      <dc:creator>DaveAdams</dc:creator>
      <dc:date>2021-08-19T14:58:41Z</dc:date>
    </item>
  </channel>
</rss>

