<?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: Secured Printing Service in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271386#M8149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick reposne!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am publishing my print service using same method you have provided and as given in below url but no sucess&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//0154000005q3000000" title="http://resources.arcgis.com/en/help/main/10.2/index.html#//0154000005q3000000"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried looking into my JSON string and i find that it is not prepending the proxy url against map services, is that the issue? Because when i manually put proxy url as a prefix , gp seems to returning blank pdf?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN lang=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"exportOptions":{"dpi":96},"mapOptions":{"extent":{"xmax":19154.03163255061,"ymin":43083.54582798357,"xmin":15539.81607078615,"ymax":43964.610090112095,"spatialReference":{"wkid":3414}}},"layoutOptions":{"titleText":"er","copyrightText":"Copyright ©2015 Public Utilities Board (PUB). All rights reserved.","authorText":"GERI","legendOptions":{"operationalLayers":[{"id":"BWAS"},{"id":"BQ Polygon"},{"id":"BQ Segment"},{"id":"HDB Dwellings &amp;amp; Water Efficiency"}]}},"operationalLayers":[{"id":"Street View","maxScale":250,"title":"Street View","url":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gisdevqa1/egisqa/rest/services/GERI_Geospace/streetdirectorycache/MapServer" rel="nofollow" target="_blank"&gt;http://gisdevqa1/egisqa/rest/services/GERI_Geospace/streetdirectorycache/MapServer&lt;/A&gt;&lt;SPAN&gt;","minScale":250000},{"id":"Water Property Critical","visibleLayers":[0],"maxScale":0,"title":"Water Property Critical","url":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gisdevqa1/egisqa/rest/services/GERI_WSN/wsnwaterpropertycritical/MapServer" rel="nofollow" target="_blank"&gt;http://gisdevqa1/egisqa/rest/services/GERI_WSN/wsnwaterpropertycritical/MapServer&lt;/A&gt;&lt;SPAN&gt;","minScale":0}]}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2015 02:56:06 GMT</pubDate>
    <dc:creator>SaurabhGupta5</dc:creator>
    <dc:date>2015-03-27T02:56:06Z</dc:date>
    <item>
      <title>Secured Printing Service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271384#M8147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using ArcGIS Server 10.2.2 default printing service gp service but it is not working for secured services. All the services are secured using ArcGIS Builtin security model and i am also using proxy page in between to talk to these services but when i am using printing gp service it is not working. what could be the issue. please help.&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, 26 Mar 2015 03:04:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271384#M8147</guid>
      <dc:creator>SaurabhGupta5</dc:creator>
      <dc:date>2015-03-26T03:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Secured Printing Service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271385#M8148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ArcCatalog, copy the "Export Web Map" tool and paste in a new toolbox with a name like "Secure Printing". Right-click on the copied tool and select "Edit". Click the "Add" (the plus sign) and choose an ArcGIS Server connection that has the rights / privileges to the secure service you're wanting to print from. Click "OK". Now, run the tool and leave the "Web Map as JSON" blank, select your template and layout (if you want). When the tool is completed, in the "Geoprocessing Results" window, right-click the "Export Web Map" result and choose "Share As" --&amp;gt; Geoprocessing Service. When you're finished uploading that service, it can now be used to print from the secured web map / service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 14:45:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271385#M8148</guid>
      <dc:creator>JimFaulkner</dc:creator>
      <dc:date>2015-03-26T14:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Secured Printing Service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271386#M8149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick reposne!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am publishing my print service using same method you have provided and as given in below url but no sucess&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//0154000005q3000000" title="http://resources.arcgis.com/en/help/main/10.2/index.html#//0154000005q3000000"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried looking into my JSON string and i find that it is not prepending the proxy url against map services, is that the issue? Because when i manually put proxy url as a prefix , gp seems to returning blank pdf?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN lang=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"exportOptions":{"dpi":96},"mapOptions":{"extent":{"xmax":19154.03163255061,"ymin":43083.54582798357,"xmin":15539.81607078615,"ymax":43964.610090112095,"spatialReference":{"wkid":3414}}},"layoutOptions":{"titleText":"er","copyrightText":"Copyright ©2015 Public Utilities Board (PUB). All rights reserved.","authorText":"GERI","legendOptions":{"operationalLayers":[{"id":"BWAS"},{"id":"BQ Polygon"},{"id":"BQ Segment"},{"id":"HDB Dwellings &amp;amp; Water Efficiency"}]}},"operationalLayers":[{"id":"Street View","maxScale":250,"title":"Street View","url":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gisdevqa1/egisqa/rest/services/GERI_Geospace/streetdirectorycache/MapServer" rel="nofollow" target="_blank"&gt;http://gisdevqa1/egisqa/rest/services/GERI_Geospace/streetdirectorycache/MapServer&lt;/A&gt;&lt;SPAN&gt;","minScale":250000},{"id":"Water Property Critical","visibleLayers":[0],"maxScale":0,"title":"Water Property Critical","url":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gisdevqa1/egisqa/rest/services/GERI_WSN/wsnwaterpropertycritical/MapServer" rel="nofollow" target="_blank"&gt;http://gisdevqa1/egisqa/rest/services/GERI_WSN/wsnwaterpropertycritical/MapServer&lt;/A&gt;&lt;SPAN&gt;","minScale":0}]}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 02:56:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271386#M8149</guid>
      <dc:creator>SaurabhGupta5</dc:creator>
      <dc:date>2015-03-27T02:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Secured Printing Service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271387#M8150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears to be a problem with both the proxy url and the fact that I do not see the token being passed to the gp service. Whenever you use a secured service, you have to pass the token to the GP service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 14:46:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271387#M8150</guid>
      <dc:creator>JimFaulkner</dc:creator>
      <dc:date>2015-03-31T14:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Secured Printing Service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271388#M8151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is what I post to my secure printing service through a proxy url:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE cellpadding="0" cellspacing="0" class="netInfoPostParamsTable"&gt;&lt;TBODY class=" "&gt;&lt;TR class=" "&gt;&lt;TD class="netInfoParamName"&gt;&lt;SPAN class=" "&gt;Format&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="netInfoParamValue"&gt;&lt;CODE class="subFocusRow focusRow"&gt;PDF&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=" "&gt;&lt;TD class="netInfoParamName"&gt;&lt;SPAN class=" "&gt;Web_Map_as_JSON&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="netInfoParamValue"&gt;&lt;CODE class="subFocusRow focusRow"&gt;{"layoutOptions":{"customTextElements":[{"mapTitle":"Map Test"}]},"operationalLayers":[{"url":"http:&lt;/CODE&gt;&lt;CODE class="subFocusRow focusRow"&gt;//10.1.2.87:6080/arcgis/rest/services/water-resources/utility_basemap_manual_layers/MapServer","visibility"&lt;/CODE&gt;&lt;CODE class="subFocusRow focusRow"&gt;:true,"visibleLayers":[0,12,21,24,25,26,27,28,29,30,31,32,33,34,35,36]},null],"exportOptions":{"dpi"&lt;/CODE&gt;&lt;CODE class="subFocusRow focusRow"&gt;:96},"mapOptions":{"extent":{"xmin":393829.38643702905,"ymin":1559480.6243272335,"xmax":621170.6135629709&lt;/CODE&gt;&lt;CODE class="subFocusRow focusRow"&gt;,"ymax":1730519.3756727665},"scale":"227341.23"}}&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=" "&gt;&lt;TD class="netInfoParamName"&gt;&lt;SPAN class=" "&gt;f&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="netInfoParamValue"&gt;&lt;CODE class="subFocusRow focusRow"&gt;pjson&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=" "&gt;&lt;TD class="netInfoParamName"&gt;&lt;SPAN class=" "&gt;token&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="netInfoParamValue"&gt;&lt;CODE class="subFocusRow focusRow"&gt;dXTfSB7wlOUezjLVyAoEHm6kkGP0CUgrng77jdKM34ATLGQHyOMx-VpK3w4HxBo0wChP9zAuCdIhLsqvqg5bjA..&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=" "&gt;&lt;TD class="netInfoParamName"&gt;&lt;SPAN class=" "&gt;url&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="netInfoParamValue"&gt;&lt;CODE class="subFocusRow focusRow"&gt;&lt;A class="jive-link-external-small" href="http://10.1.2.87:6080/arcgis/rest/services/secure-print-services/SecureBOCCLandscapeTemplate/GPServer" rel="nofollow" target="_blank"&gt;http://10.1.2.87:6080/arcgis/rest/services/secure-print-services/SecureBOCCLandscapeTemplate/GPServer&lt;/A&gt;&lt;/CODE&gt;&lt;CODE class="subFocusRow focusRow"&gt;/Export Web Map/execute&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 14:52:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271388#M8151</guid>
      <dc:creator>JimFaulkner</dc:creator>
      <dc:date>2015-03-31T14:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Secured Printing Service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271389#M8152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick reply!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using standard proxy provided by ESRI and it is creating token internally while accessing any map services. I do not know why it is not appending token while calling gp , may be handling internally not sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell how are you doing in your case , i mean have you written code to append token while calling gp. if yes can you please provide me set of lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 11:50:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271389#M8152</guid>
      <dc:creator>SaurabhGupta5</dc:creator>
      <dc:date>2015-04-01T11:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Secured Printing Service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271390#M8153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wrote my own code using javascript, but, all I am doing is "POST"ing through my own proxy (very similar to the ESRI proxy). My proxy is: &lt;A href="http://gis.citrus.fl.us/media/feed.jsp" title="http://gis.citrus.fl.us/media/feed.jsp"&gt;http://my.domain.com/media/feed.jsp&lt;/A&gt;&amp;nbsp; and if you look at my previous reply, you'll see what I am posting. the "url" parameter is the GP service for printing my secure map services. I have created my own JavaScript library for getting / storing the token (using cookies). So, my post literally looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://my.domain.com/media/feed.jsp?url=" rel="nofollow" target="_blank"&gt;http://my.domain.com/media/feed.jsp?url=&lt;/A&gt;&lt;A href="http://10.1.2.87:6080/arcgis/rest/services/secure-print-services/SecureBOCCLandscapeTemplate/GPServer" title="http://10.1.2.87:6080/arcgis/rest/services/secure-print-services/SecureBOCCLandscapeTemplate/GPServer"&gt;http://10.1.2.87:6080/arcgis/rest/services/secure-print-services/SecureBOCCLandscapeTemplate/GPServer&amp;amp;Format=PDF&amp;amp;f=pjson&amp;amp;token=&lt;CODE class="subFocusRow focusRow"&gt;&amp;amp;dXTfSB7wlOUezjLVyAoEHm6kkGP0CUgrng77jdKM34ATLGQHyOMx-VpK3w4HxBo0wChP9zAuCdIhLsqvqg5bjA..&amp;amp;Web_Map_As_JSON=&lt;CODE class="subFocusRow focusRow"&gt;{"layoutOptions":{"customTextElements":[{"mapTitle":"Map Test"}]},"operationalLayers":[{"url":"http:&lt;/CODE&gt;&lt;CODE class="subFocusRow focusRow"&gt;//10.1.2.87:6080/arcgis/rest/services/water-resources/utility_basemap_manual_layers/MapServer","visibility"&lt;/CODE&gt;&lt;CODE class="subFocusRow focusRow"&gt;:true,"visibleLayers":[0,12,21,24,25,26,27,28,29,30,31,32,33,34,35,36]},null],"exportOptions":{"dpi"&lt;/CODE&gt;&lt;CODE class="subFocusRow focusRow"&gt;:96},"mapOptions":{"extent":{"xmin":393829.38643702905,"ymin":1559480.6243272335,"xmax":621170.6135629709&lt;/CODE&gt;&lt;CODE class="subFocusRow focusRow"&gt;,"ymax":1730519.3756727665},"scale":"227341.23"}}&lt;/CODE&gt;&lt;/CODE&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 12:13:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271390#M8153</guid>
      <dc:creator>JimFaulkner</dc:creator>
      <dc:date>2015-04-01T12:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Secured Printing Service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271391#M8154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;As per your comment i have modified my url like this and trying it manually means copying and pasting to my browser , just to see whether it returns anything or not. is this correct way to check ? I mean manually passing this complete url to IE amd press enter should return sth?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Token also i have generated myself using &lt;A href="http://gisdevqa1/egisqa/tokens/generateToken" title="http://gisdevqa1/egisqa/tokens/generateToken"&gt;http://servername/egisqa/tokens/generateToken&lt;/A&gt; and passing '&lt;A href="http://gisdevqa1/egisqa/rest/services" title="http://gisdevqa1/egisqa/rest/services"&gt;http://gisdevqa1/egisqa/rest/services&lt;/A&gt; &lt;/STRONG&gt;' in http referrer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://gisdevqa1/Proxy/proxy.ashx?url=http://gisdevqa1/egisqa/rest/services/ExportWebMap/GPServer&amp;amp;Format=PDF&amp;amp;f=pjson&amp;amp;token=OdvOcdKGQp-4EY6pxumVJUKLyuwvuDTBtigQWSmUyBv0vRaD6_P94SeZ5BNP7gOHFzSmjEfmlbbTchJYD3GXtOmN-O7clGZd-qW7nzuM3WY&amp;amp;Web_Map_As_JSON==" rel="nofollow" target="_blank"&gt;http://gisdevqa1/Proxy/proxy.ashx?url=http://gisdevqa1/egisqa/rest/services/ExportWebMap/GPServer&amp;amp;Format=PDF&amp;amp;f=pjson&amp;amp;token=OdvOcdKGQp-4EY6pxumVJUKLyuwvuDTBtigQWSmUyBv0vRaD6_P94SeZ5BNP7gOHFzSmjEfmlbbTchJYD3GXtOmN-O7clGZd-qW7nzuM3WY&amp;amp;Web_Map_As_JSON==&lt;/A&gt;&lt;SPAN&gt;{"layoutOptions":{"authorText":"GERI","titleText":"sg","legendOptions":{"operationalLayers":[{"id":"Others"},{"id":"Clouds Over Time"},{"id":"GEOSPACE"},{"id":"Geometric Network (Network Trace)"},{"id":"CWD Notification System"},{"id":"Drainage Map (DIMS)"},{"id":"Water Quality &amp;amp; Contract Boundary"},{"id":"Planning Boundary"},{"id":"WRN Notification Map"},{"id":"Sewerage Map (SIMS)"},{"id":"Potable Water Supply Zones"},{"id":"Demand Zones"},{" id":"BQ Segment"},{"id":"HDB Dwellings &amp;amp; Water Efficiency"}]},"copyrightText":"Copyright ©2015 Public Utilities Board (PUB). All rights reserved."},"exportOptions":{"dpi":96},"mapOptions":{"extent":{"spatialReference":{"wkid":3414},"xmax":71930.5746856367,"ymin":23128.63091815375,"xmin":-18424.81435847472,"ymax":45750.55116199424}},"operationalLayers":[{"id":"Street View","maxScale":250,"title":"Street View","url":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gisdevqa1/egisqa/rest/services/GERI_Geospace/streetdirectorycache/MapServer" rel="nofollow" target="_blank"&gt;http://gisdevqa1/egisqa/rest/services/GERI_Geospace/streetdirectorycache/MapServer&lt;/A&gt;&lt;SPAN&gt;","minScale":250000},{"id":"Water Property Critical","visibleLayers":[0],"maxScale":0,"title":"Water Property Critical","url":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gisdevqa1/egisqa/rest/services/GERI_WSN/wsnwaterpropertycritical/MapServer" rel="nofollow" target="_blank"&gt;http://gisdevqa1/egisqa/rest/services/GERI_WSN/wsnwaterpropertycritical/MapServer&lt;/A&gt;&lt;SPAN&gt;","minScale":0}]}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Infact i am getting following error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{error: {code: Forbidden,message:"Proxy is being used for an unsupported &lt;/P&gt;&lt;P&gt;service: &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;url=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gisdevqa1/egisqa/rest/services/ExportWebMap/GPServer&amp;amp;Format=PDF&amp;amp;f=pjson&amp;amp;token=OdvOcdKGQp-4EY6pxumVJUKLyuwvuDTBtigQWSmUyBv0vRaD6_P94SeZ5BNP7gOHFzSmjEfmlbbTchJYD3GXtOmN-O7clGZd-qW7nzuM3WY&amp;amp;Web_Map_As_JSON==%7B%22layoutOptions%22:%7B%22authorText%22:%22GERI%22,%22titleText%22:%22sg%22,%22legendOptions%22:%7B%22operationalLayers%22:%5B%7B%22id%22:%22Others%22%7D,%7B%22id%22:%22Clouds%20Over%20Time%22%7D,%7B%22id%22:%22GEOSPACE%22%7D,%7B%22id%22:%22Geometric%20Network%20(Network%20Trace)%22%7D,%7B%22id%22:%22CWD%20Notification%20System%22%7D,%7B%22id%22:%22Drainage%20Map%20(DIMS)%22%7D,%7B%22id%22:%22Water%20Quality%20&amp;amp;%20Contract%20Boundary%22%7D,%7B%22id%22:%22Planning%20Boundary%22%7D,%7B%22id%22:%22WRN%20Notification%20Map%22%7D,%7B%22id%22:%22Sewerage%20Map%20(SIMS)%22%7D,%7B%22id%22:%22Potable%20Water%20Supply%20Zones%22%7D,%7B%22id%22:%22Demand%20Zones%22%7D,%7B%22%20id%22:%22BQ%20Segment%22%7D,%7B%22id%22:%22HDB%20Dwellings%20&amp;amp;%20Water%20Efficiency%22%7D%5D%7D,%22copyrightText%22:%22Copyright%20%EF%BF%BD2015%20Public%20Utilities%20Board%20(PUB).%20All%20rights%20reserved.%22%7D,%22exportOptions%22:%7B%22dpi%22:96%7D,%22mapOptions%22:%7B%22extent%22:%7B%22spatialReference%22:%7B%22wkid%22:3414%7D,%22xmax%22:71930.5746856367,%22ymin%22:23128.63091815375,%22xmin%22:-18424.81435847472,%22ymax%22:45750.55116199424%7D%7D,%22operationalLayers%22:%5B%7B%22id%22:%22Street%20View%22,%22maxScale%22:250,%22title%22:%22Street%20View%22,%22url%22:%22http://gisdevqa1/egisqa/rest/services/GERI_Geospace/streetdirectorycache/MapServer%22,%22minScale%22:250000%7D,%7B%22id%22:%22Water%20Property%20Critical%22,%22visibleLayers%22:%5B0%5D,%22maxScale%22:0,%22title%22:%22Water%20Property%20Critical%22,%22url%22:%22http://gisdevqa1/egisqa/rest/services/GERI_WSN/wsnwaterpropertycritical/MapServer%22,%22minScale%22:0%7D%5D%7D" rel="nofollow" target="_blank"&gt;http://gisdevqa1/egisqa/rest/services/ExportWebMap/GPServer&amp;amp;Format=PDF&amp;amp;f=pjson&amp;amp;token=OdvOcdKGQp-4EY6pxumVJUKLyuwvuDTBtigQWSmUyBv0vRaD6_P94SeZ5BNP7gOHFzSmjEfmlbbTchJYD3GXtOmN-O7clGZd-qW7nzuM3WY&amp;amp;Web_Map_As_JSON==%7B%22layoutOptions%22:%7B%22authorText%22:%22GERI%22,%22titleText%22:%22sg%22,%22legendOptions%22:%7B%22operationalLayers%22:%5B%7B%22id%22:%22Others%22%7D,%7B%22id%22:%22Clouds%20Over%20Time%22%7D,%7B%22id%22:%22GEOSPACE%22%7D,%7B%22id%22:%22Geometric%20Network%20(Network%20Trace)%22%7D,%7B%22id%22:%22CWD%20Notification%20System%22%7D,%7B%22id%22:%22Drainage%20Map%20(DIMS)%22%7D,%7B%22id%22:%22Water%20Quality%20&amp;amp;%20Contract%20Boundary%22%7D,%7B%22id%22:%22Planning%20Boundary%22%7D,%7B%22id%22:%22WRN%20Notification%20Map%22%7D,%7B%22id%22:%22Sewerage%20Map%20(SIMS)%22%7D,%7B%22id%22:%22Potable%20Water%20Supply%20Zones%22%7D,%7B%22id%22:%22Demand%20Zones%22%7D,%7B%22%20id%22:%22BQ%20Segment%22%7D,%7B%22id%22:%22HDB%20Dwellings%20&amp;amp;%20Water%20Efficiency%22%7D%5D%7D,%22copyrightText%22:%22Copyright%20%EF%BF%BD2015%20Public%20Utilities%20Board%20(PUB).%20All%20rights%20reserved.%22%7D,%22exportOptions%22:%7B%22dpi%22:96%7D,%22mapOptions%22:%7B%22extent%22:%7B%22spatialReference%22:%7B%22wkid%22:3414%7D,%22xmax%22:71930.5746856367,%22ymin%22:23128.63091815375,%22xmin%22:-18424.81435847472,%22ymax%22:45750.55116199424%7D%7D,%22operationalLayers%22:%5B%7B%22id%22:%22Street%20View%22,%22maxScale%22:250,%22title%22:%22Street%20View%22,%22url%22:%22http://gisdevqa1/egisqa/rest/services/GERI_Geospace/streetdirectorycache/MapServer%22,%22minScale%22:250000%7D,%7B%22id%22:%22Water%20Property%20Critical%22,%22visibleLayers%22:%5B0%5D,%22maxScale%22:0,%22title%22:%22Water%20Property%20Critical%22,%22url%22:%22http://gisdevqa1/egisqa/rest/services/GERI_WSN/wsnwaterpropertycritical/MapServer%22,%22minScale%22:0%7D%5D%7D&lt;/A&gt;&lt;SPAN&gt;"}}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 13:02:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271391#M8154</guid>
      <dc:creator>SaurabhGupta5</dc:creator>
      <dc:date>2015-04-01T13:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Secured Printing Service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271392#M8155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error you're getting is because you need to test it doing an http "post", not a "get". If you make a test web page with a form and a submit button, you should be able to get it to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;form action="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://youproxyurl/" rel="nofollow" target="_blank"&gt;http://youproxyurl/&lt;/A&gt;&lt;SPAN&gt;" method="post"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input type="hidden" name="Format" value="PDF" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input type="hidden" name="token" value="token value here" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input type="hidden" name="f" value="pjson" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input type="hidden name="&lt;SPAN class=" "&gt;&lt;SPAN&gt;Web_Map_as_JSON" value="{'layoutOptions':{'authorText':'GERI','titleText':'sg','legendOptions':{'operationalLayers':[{'id':'Others'},{'id':'Clouds Over Time'},{'id':'GEOSPACE'},{'id':'Geometric Network (Network Trace)'},{'id':'CWD Notification System'},{'id':'Drainage Map (DIMS)'},{'id':'Water Quality &amp;amp; Contract Boundary'},{'id':'Planning Boundary'},{'id':'WRN Notification Map'},{'id':'Sewerage Map (SIMS)'},{'id':'Potable Water Supply Zones'},{'id':'Demand Zones'},{' id':'BQ Segment'},{'id':'HDB Dwellings &amp;amp; Water Efficiency'}]},'copyrightText':'Copyright ©2015 Public Utilities Board (PUB). All rights reserved.'},'exportOptions':{'dpi':96},'mapOptions':{'extent':{'spatialReference':{'wkid':3414},'xmax':71930.5746856367,'ymin':23128.63091815375,'xmin':-18424.81435847472,'ymax':45750.55116199424}},'operationalLayers':[{'id':'Street View','maxScale':250,'title':'Street View','url':'&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gisdevqa1/egisqa/rest/services/GERI_Geospace/streetdirectorycache/MapServer','minScale':250000" rel="nofollow" target="_blank"&gt;http://gisdevqa1/egisqa/rest/services/GERI_Geospace/streetdirectorycache/MapServer','minScale':250000&lt;/A&gt;&lt;SPAN&gt;},{'id':'Water Property Critical','visibleLayers':[0],'maxScale':0,'title':'Water Property Critical','url':'&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gisdevqa1/egisqa/rest/services/GERI_WSN/wsnwaterpropertycritical/MapServer','minScale':0" rel="nofollow" target="_blank"&gt;http://gisdevqa1/egisqa/rest/services/GERI_WSN/wsnwaterpropertycritical/MapServer','minScale':0&lt;/A&gt;&lt;SPAN&gt;}]}" /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=" "&gt; &amp;lt;input &lt;SPAN style="color: red;"&gt;type="submit" value="Submit"&lt;/SPAN&gt; /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/form&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;** Note: Make sure you replace the double quotes in the JSON with a single quote like I did above **&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 14:05:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271392#M8155</guid>
      <dc:creator>JimFaulkner</dc:creator>
      <dc:date>2015-04-01T14:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Secured Printing Service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271393#M8156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You were very helpfull but now getting different error by your way.i.e.&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt; "error": {&lt;/P&gt;&lt;P&gt;&amp;nbsp; "code": 498,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "message": "Invalid Token",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "details": []&lt;/P&gt;&lt;P&gt; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried generating token diffreent ways like http referrer , ip but no token seems to be working. I was using following url to generate token i.e. &lt;A href="http://gisdevqa1/egisqa/tokens/generateToken" title="http://gisdevqa1/egisqa/tokens/generateToken"&gt;http://servername/egisqa/tokens/generateToken&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on same&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, 02 Apr 2015 08:17:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271393#M8156</guid>
      <dc:creator>SaurabhGupta5</dc:creator>
      <dc:date>2015-04-02T08:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Secured Printing Service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271394#M8157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Can you try generating the token using the server's IP address instead of it's server name / domain name? ie., &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://192.168.1.1.egisqa/tokens/generateToken" rel="nofollow" target="_blank"&gt;http://192.168.1.1.egisqa/tokens/generateToken&lt;/A&gt;&lt;SPAN&gt; instead of: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://servername/egisqa/tokens/generateToken" rel="nofollow" target="_blank"&gt;http://servername/egisqa/tokens/generateToken&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Generally speaking, an error code of 498 indicates either an expired token (so, you might also need to look at the server's timeout settings for tokens) or an invalid token&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 12:23:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271394#M8157</guid>
      <dc:creator>JimFaulkner</dc:creator>
      <dc:date>2015-04-02T12:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Secured Printing Service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271395#M8158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using ip to generate tokens but no success &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 10:38:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271395#M8158</guid>
      <dc:creator>SaurabhGupta5</dc:creator>
      <dc:date>2015-04-03T10:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Secured Printing Service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271396#M8159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Token settings are also good &lt;IMG alt="token.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/81550_token.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 10:40:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271396#M8159</guid>
      <dc:creator>SaurabhGupta5</dc:creator>
      <dc:date>2015-04-03T10:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Secured Printing Service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271397#M8160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also attached the form i m using for testing.&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;form action="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gisdevqa1/Proxy/proxy.ashx?http://gisdevqa1/egisqa/rest/services/ExportWebMap/GPServer" rel="nofollow" target="_blank"&gt;http://gisdevqa1/Proxy/proxy.ashx?http://gisdevqa1/egisqa/rest/services/ExportWebMap/GPServer&lt;/A&gt;&lt;SPAN&gt;" method="post"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input type="hidden" name="Format" value="PDF" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input type="hidden" name="token" value="hE7QQ6SENW8cpXHnDTlgXpJsW-AoFRi9tPyxQvoz7JQCP1TVHYw_ylJdUFiWOM36" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input type="hidden" name="f" value="pjson" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input type="hidden" name="Web_Map_as_JSON" value="{'layoutOptions':{'authorText':'GERI','titleText':'sg','legendOptions':{'operationalLayers':[{'id':'Others'},{'id':'Clouds Over Time'},{'id':'GEOSPACE'},{'id':'Geometric Network (Network Trace)'},{'id':'CWD Notification System'},{'id':'Drainage Map (DIMS)'},{'id':'Water Quality &amp;amp; Contract Boundary'},{'id':'Planning Boundary'},{'id':'WRN Notification Map'},{'id':'Sewerage Map (SIMS)'},{'id':'Potable Water Supply Zones'},{'id':'Demand Zones'},&lt;BR /&gt;&lt;SPAN&gt;{' id':'BQ Segment'},{'id':'HDB Dwellings &amp;amp; Water Efficiency'}]},'copyrightText':'Copyright ©2015 Public Utilities Board (PUB). All rights reserved.'},'exportOptions':{'dpi':96},'mapOptions':{'extent':{'spatialReference':{'wkid':3414},'xmax':71930.5746856367,'ymin':23128.63091815375,'xmin':-18424.81435847472,'ymax':45750.55116199424}},'operationalLayers':[{'id':'Street View','maxScale':250,'title':'Street View','url':'&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gisdevqa1/egisqa/rest/services/GERI_Geospace/streetdirectorycache/MapServer','minScale':250000" rel="nofollow" target="_blank"&gt;http://gisdevqa1/egisqa/rest/services/GERI_Geospace/streetdirectorycache/MapServer','minScale':250000&lt;/A&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{'id':'Water Property Critical','visibleLayers':[0],'maxScale':0,'title':'Water Property Critical','url':'&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gisdevqa1/egisqa/rest/services/GERI_WSN/wsnwaterpropertycritical/MapServer','minScale':0" rel="nofollow" target="_blank"&gt;http://gisdevqa1/egisqa/rest/services/GERI_WSN/wsnwaterpropertycritical/MapServer','minScale':0&lt;/A&gt;&lt;SPAN&gt;}]}" /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;input type="submit" value="Submit" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/form&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 10:46:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271397#M8160</guid>
      <dc:creator>SaurabhGupta5</dc:creator>
      <dc:date>2015-04-03T10:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Secured Printing Service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271398#M8161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might need to put in a help ticket with ESRI then - I'm completely stumped&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 20:36:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271398#M8161</guid>
      <dc:creator>JimFaulkner</dc:creator>
      <dc:date>2015-04-06T20:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Secured Printing Service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271399#M8162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all your help jim.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try initiating ESRI ticket for same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 02:56:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271399#M8162</guid>
      <dc:creator>SaurabhGupta5</dc:creator>
      <dc:date>2015-04-07T02:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Secured Printing Service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271400#M8163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here i found the solution of this issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri,sans-serif;"&gt;look at the following page:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri,sans-serif;"&gt;&lt;A href="https://mail.hcl.com/owa/redir.aspx?C=oJbfkcy-Q0e7rnZorgDJUSEJIKuTT9IIZbVfT1UgYD0hFiEVJxBBDgU9wkRG-309UOoVUGRnRSI.&amp;amp;URL=https%3a%2f%2fgithub.com%2fdjarrard%2fWebmapWrappers%23webmap-wrapper-project" target="_blank"&gt;https://github.com/djarrard/WebmapWrappers#webmap-wrapper-project&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri,sans-serif;"&gt;It is provided as a workaround for such scenario. The &lt;BR /&gt;link provides a python file to download along with its project package. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri,sans-serif;"&gt;What it does is modifying the webmap JSON prior to &lt;BR /&gt;executing a print task. It is what's needed in the your scenario (Insert token &lt;BR /&gt;with printing secured services when the application uses a proxy page). &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri,sans-serif;"&gt;However, just like Jim mentioned in post, &lt;BR /&gt;the username and password to ArcGIS Server are configured explicitly, but this &lt;BR /&gt;time configured within the python script. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri,sans-serif;"&gt;Hope this will be helpfull for lot of developers working on version 10.2.2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri,sans-serif;"&gt;Saurabh&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 06:31:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271400#M8163</guid>
      <dc:creator>SaurabhGupta5</dc:creator>
      <dc:date>2015-04-21T06:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Secured Printing Service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271401#M8164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The customized python/github solution does work with both 10.2.2 and 10.3, but I thought I would add my two cents as I had the same issues too. Overall, the application and the Print Service should be thought of as completely separate items. The application can use the current Esri proxy for (short) tokens, or you can use a long token embed into application. Either will work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the Print Service, neither will work from the application if map services are secured (although access to the print service can be done both ways). The Esri Proxy short token includes a referer. However, the Print Service will make a new map request itself (based on the JSON strings already shown), but the Print Service doesn't include a referer with its request to the map service (assuming it's also secure). The map service will reject the token since there is no referer even if included in JSON unless you specifically create the token without a referer (or user enters the user/pw at prompt).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the help documentation for the "Long token approach" for the print service (embeds credentials in the Print service) while still using Esri proxy short tokens for map and print service connection. But the short token via Proxy doesn't work once the print service tries to create its own map - although I just heard from support that my enhancement request was accepted to make this more clear in the help &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an article that goes more in-depth on this (yes, full disclaimer I wrote it - but easier to refer to it than retype): &lt;A href="http://www.spatialtimes.com/2015/04/printing-with-arcgis-for-server-10-3/" title="http://www.spatialtimes.com/2015/04/printing-with-arcgis-for-server-10-3/"&gt;http://www.spatialtimes.com/2015/04/printing-with-arcgis-for-server-10-3/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it can help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 14:15:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/secured-printing-service/m-p/271401#M8164</guid>
      <dc:creator>BryanMc</dc:creator>
      <dc:date>2015-04-21T14:15:52Z</dc:date>
    </item>
  </channel>
</rss>

