<?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 Proxy specific map services instead of all map services in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-specific-map-services-instead-of-all-map/m-p/275936#M25469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For my map viewer, I am using a proxy page with token authentication. When I set "alwaysUseProxy=true", every time i add a map service as a new layer to my base map, the proxy page is called. Is there a way to proxy specific map services instead of all of them? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a scenario: if I want my base map to use a map service from my ArcGIS server, then my map viewer should call the proxy page to retrieve a token so it can display the base map. Then I want to add a layer using a map service from ArcGISOnline. During this event, I do not want the proxy page to get called. After that, I want to add another layer using a map service from my ArcGIS server. This means that the proxy should get called again to retrieve another token.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know if this is possible.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Mar 2012 22:10:04 GMT</pubDate>
    <dc:creator>DanielLi</dc:creator>
    <dc:date>2012-03-19T22:10:04Z</dc:date>
    <item>
      <title>Proxy specific map services instead of all map services</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-specific-map-services-instead-of-all-map/m-p/275936#M25469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For my map viewer, I am using a proxy page with token authentication. When I set "alwaysUseProxy=true", every time i add a map service as a new layer to my base map, the proxy page is called. Is there a way to proxy specific map services instead of all of them? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a scenario: if I want my base map to use a map service from my ArcGIS server, then my map viewer should call the proxy page to retrieve a token so it can display the base map. Then I want to add a layer using a map service from ArcGISOnline. During this event, I do not want the proxy page to get called. After that, I want to add another layer using a map service from my ArcGIS server. This means that the proxy should get called again to retrieve another token.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know if this is possible.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 22:10:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-specific-map-services-instead-of-all-map/m-p/275936#M25469</guid>
      <dc:creator>DanielLi</dc:creator>
      <dc:date>2012-03-19T22:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy specific map services instead of all map services</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-specific-map-services-instead-of-all-map/m-p/275937#M25470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;your services pass to proxy ( esri.config.defaults.io.alwaysUseProxy = true; it is need if you have service protect) but in proxy you decide what do you want to do (if service isn't protect you don't need ask a token).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 07:40:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-specific-map-services-instead-of-all-map/m-p/275937#M25470</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2012-03-21T07:40:39Z</dc:date>
    </item>
  </channel>
</rss>

