<?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: Secure services - printing - 4 years on and still no luck in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/secure-services-printing-4-years-on-and-still-no/m-p/720224#M66861</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it fails with different error depending on if the PrintService is set to sync or async - I'll try to read up on how to code for async.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Dec 2015 09:26:30 GMT</pubDate>
    <dc:creator>AdrianMarsden</dc:creator>
    <dc:date>2015-12-18T09:26:30Z</dc:date>
    <item>
      <title>Secure services - printing - 4 years on and still no luck</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/secure-services-printing-4-years-on-and-still-no/m-p/720222#M66859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Every few years I make an attempt to lock my services down, every few years I fail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I go round in the same circles, but do make a little progress each time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've now go most things working.&amp;nbsp; The Proxy page passes through a user name and password for the services.&amp;nbsp; this even works for my loop which gets extra stuff using an esri.request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bit that fails now is Printing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've followed &lt;A href="http://resources.arcgis.com/en/help/main/10.2/#/Printing_maps_that_contain_secured_services/0154000005q3000000/" title="http://resources.arcgis.com/en/help/main/10.2/#/Printing_maps_that_contain_secured_services/0154000005q3000000/"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt;&amp;nbsp; but now get &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: Unable to complete operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I take the URL that I see in Fiddler, it is something like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://emap2_dev/proxy/proxy.ashx?http://eddc-gis2/arcgis/rest/services/ExportWebMap2/GPServer/Export%20Web%20Map/execute" title="http://emap2_dev/proxy/proxy.ashx?http://eddc-gis2/arcgis/rest/services/ExportWebMap2/GPServer/Export%20Web%20Map/execute"&gt;http://My Domain for the applciation/proxy/proxy.ashx?http://My ArcGIS Server server/arcgis/rest/services/ExportWebMap2/GPServer/Export%20Web%20Map/execut…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to work - I get &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="formTable"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;PRE class="jive-pre"&gt;{ "results": [{ "paramName": "Output_File", "dataType": "GPDataFile", "value": {"url": ""} }], "messages": [] }&lt;/PRE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I set the Print Service to asynchronous I get similar issues to her &lt;A href="http://stackoverflow.com/questions/12431283/esri-javascript-asynchronous-print" title="http://stackoverflow.com/questions/12431283/esri-javascript-asynchronous-print"&gt;http://stackoverflow.com/questions/12431283/esri-javascript-asynchronous-print&lt;/A&gt;&amp;nbsp; - but I'm not sure how to tweak the printTask.execute for aync&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help much appreciated - this is one of my tasks I am trying to use to fill in time before the holidays.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ACM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 15:22:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/secure-services-printing-4-years-on-and-still-no/m-p/720222#M66859</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2015-12-17T15:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Secure services - printing - 4 years on and still no luck</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/secure-services-printing-4-years-on-and-still-no/m-p/720223#M66860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think i don't understand your Question? Does the Printtask work or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Miriam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 09:16:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/secure-services-printing-4-years-on-and-still-no/m-p/720223#M66860</guid>
      <dc:creator>MiriamBrockmann</dc:creator>
      <dc:date>2015-12-18T09:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Secure services - printing - 4 years on and still no luck</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/secure-services-printing-4-years-on-and-still-no/m-p/720224#M66861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it fails with different error depending on if the PrintService is set to sync or async - I'll try to read up on how to code for async.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 09:26:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/secure-services-printing-4-years-on-and-still-no/m-p/720224#M66861</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2015-12-18T09:26:30Z</dc:date>
    </item>
  </channel>
</rss>

