<?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: PrintTask using Proxy does not work with secured layers in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550363#M15832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Miri Eshel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Have you added the useproxy tag to your PrintWidget.xml? Documentation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Print_widget_tags/01m30000001n000000/"&gt;http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Print_widget_tags/01m30000001n000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 May 2014 12:07:38 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2014-05-22T12:07:38Z</dc:date>
    <item>
      <title>PrintTask using Proxy does not work with secured layers</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550362#M15831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to build an application that points to a secured layer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I use proxy that gets a token for the secured layer so that the user does not have to type user &amp;amp;password.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to print the map using the Ptint widget, it gives me an error, no matter if I use the proxy in the Print widget or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Enclosed with&amp;nbsp; the Print error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The proxy and the Print task service are on the same machine so the PrintTask should recognize the proxy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to use the Print widget to print a secured layer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When the layer is not secured, it works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the text that I put in proxy.config:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serverItem url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://serverName/arcgis/rest/services" rel="nofollow" target="_blank"&gt;http://serverName/arcgis/rest/services&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matchAll="true" tokenUrl="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://serverName/arcgis/tokens" rel="nofollow" target="_blank"&gt;http://serverName/arcgis/tokens&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; username="user" password="password" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timeout="60" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Moreover, if I don't use the proxy and the&amp;nbsp; user has to type user &amp;amp; password in the beginning, it also works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Only the combination of Proxy &amp;amp; Print service &amp;amp; and secured service does not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use Flex Viewer version 3.6.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Miri&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 12:05:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550362#M15831</guid>
      <dc:creator>MiriEshel</dc:creator>
      <dc:date>2014-05-22T12:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask using Proxy does not work with secured layers</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550363#M15832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Miri Eshel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Have you added the useproxy tag to your PrintWidget.xml? Documentation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Print_widget_tags/01m30000001n000000/"&gt;http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Print_widget_tags/01m30000001n000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 12:07:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550363#M15832</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-05-22T12:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask using Proxy does not work with secured layers</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550364#M15833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I wrote, when I use either useProxy="true" or useProxy="false" it does not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is that what you mean?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Miri&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 13:28:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550364#M15833</guid>
      <dc:creator>MiriEshel</dc:creator>
      <dc:date>2014-05-22T13:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask using Proxy does not work with secured layers</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550365#M15834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did someone ever try it? It is really easy to reproduce:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Secure a service with a token&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Add the next lines to the proxy.config (replace the servername with a real name):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;serverItem url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://serverName/arcgis/rest/services" rel="nofollow" target="_blank"&gt;http://serverName/arcgis/rest/services&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt; matchAll="true" tokenUrl="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://serverName/arcgis/tokens" rel="nofollow" target="_blank"&gt;http://serverName/arcgis/tokens&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; username="user" password="password" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; timeout="60" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Add&amp;nbsp; the proxy URL in Settings&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Use the Print widget with whatever Print service you choose.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Miri&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 13:35:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550365#M15834</guid>
      <dc:creator>MiriEshel</dc:creator>
      <dc:date>2014-05-22T13:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask using Proxy does not work with secured layers</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550366#M15835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Did someone ever try it? It is really easy to reproduce:&lt;BR /&gt;&lt;BR /&gt;1. Secure a service with a token&lt;BR /&gt;&lt;BR /&gt;2. Add the next lines to the proxy.config (replace the servername with a real name):&lt;BR /&gt;&lt;BR /&gt;&amp;lt;serverItem url="http://serverName/arcgis/rest/services"&lt;BR /&gt; matchAll="true" tokenUrl="http://serverName/arcgis/tokens" &lt;BR /&gt; username="user" password="password" &lt;BR /&gt; timeout="60" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;3. Add&amp;nbsp; the proxy URL in Settings&lt;BR /&gt;&lt;BR /&gt;4. Use the Print widget with whatever Print service you choose.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Miri&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Post your exact config.xml, printwidget.xml, and proxy.config with fake credentials.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 14:24:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550366#M15835</guid>
      <dc:creator>GISDev1</dc:creator>
      <dc:date>2014-05-22T14:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask using Proxy does not work with secured layers</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550367#M15836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Robert,&lt;BR /&gt;&lt;BR /&gt;As I wrote, when I use either useProxy="true" or useProxy="false" it does not work.&lt;BR /&gt;Is that what you mean?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Miri&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Miri,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Maybe your issue is that all attributes/tags in the ArcGIS Viewer for Flex are lower case. It is important to read the documentation as the useproxy is a tag element and not an attribute as you have posted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;useproxy&amp;gt;true&amp;lt;/useproxy&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 15:16:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550367#M15836</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-05-22T15:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask using Proxy does not work with secured layers</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550368#M15837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Miri,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Actually after reading the documentation further. I see that the useproxy tag in the print widget xml is for when your print service is secure. So that is unlikely your issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is some help documentation for print secure services:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000005q3000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000005q3000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and another thread on this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/67400-token-based-security-and-10.1-printing-gp-service"&gt;http://forums.arcgis.com/threads/67400-token-based-security-and-10.1-printing-gp-service&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't use secure services (except in test for forum post) so I don't have much experience in this area.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 15:50:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550368#M15837</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-05-22T15:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask using Proxy does not work with secured layers</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550369#M15838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exactly. I don't need the useProxy tag in the print widget since the print service is not secured.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I read the links but couldn't find a solution to my problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess I will have no choice other than avoid using proxy for the secured layers and let the user typr user &amp;amp; password in the beginning.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In this case it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pity....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Miri&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 06:30:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550369#M15838</guid>
      <dc:creator>MiriEshel</dc:creator>
      <dc:date>2014-05-23T06:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask using Proxy does not work with secured layers</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550370#M15839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Miri,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; A call to esri tech support is your best avenue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 10:54:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550370#M15839</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-05-23T10:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask using Proxy does not work with secured layers</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550371#M15840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Were you able to find a solution to this issue? I am facing a similar problem and am trying to find a better work-around than what I have now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alexei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Sep 2014 20:11:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printtask-using-proxy-does-not-work-with-secured/m-p/550371#M15840</guid>
      <dc:creator>AlexeiB</dc:creator>
      <dc:date>2014-09-28T20:11:36Z</dc:date>
    </item>
  </channel>
</rss>

