<?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: ArcGIS Javascript API - Proxy Page in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/arcgis-javascript-api-proxy-page/m-p/666052#M4551</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kristian, I shall give your suggestions a try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Mar 2015 20:48:11 GMT</pubDate>
    <dc:creator>PeterHunt3</dc:creator>
    <dc:date>2015-03-31T20:48:11Z</dc:date>
    <item>
      <title>ArcGIS Javascript API - Proxy Page</title>
      <link>https://community.esri.com/t5/developers-questions/arcgis-javascript-api-proxy-page/m-p/666046#M4545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm developing a Web Application that is using the ArcGIS Javascript API.&amp;nbsp; When adding a Feature Layer I'm using the setDefinitionExpression to limit the features that are returned.&amp;nbsp; The expression used can be quite large (greater than 2000 in length).&lt;/P&gt;&lt;P&gt;Because the expression can be large, I am attempting to use the Proxy page, however I am seeing unusual results.&amp;nbsp; I am finding that the proxy page is not always used, even though I am using the exact same query expression.&amp;nbsp; I have conformed this by utilizing IE's debugger tool and also using Fiddler.&lt;/P&gt;&lt;P&gt;In my application if I add 2 layers (Tiled and Dynamic) prior to adding the Feature Layer I consistently see that the Proxy page is not being used. I can see via the debugging tools that a POST is being performed directly to my REST service.&amp;nbsp; The content-length is over 6000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I add just the Tiled layer prior to adding the Feature Layer, I can see that an attempt is made to use the Proxy page.&amp;nbsp; The proxy page is having issues, therefore my Feature Layer does not get added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please explain why the Proxy page is not always used even though it would seem that it should be, given the length of the query string used in the setDefinitionExpession.&amp;nbsp; I am very confused as to why layers added prior to adding a Feature Layer would affect the use of the proxy. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 18:39:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcgis-javascript-api-proxy-page/m-p/666046#M4545</guid>
      <dc:creator>PeterHunt3</dc:creator>
      <dc:date>2015-03-31T18:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API - Proxy Page</title>
      <link>https://community.esri.com/t5/developers-questions/arcgis-javascript-api-proxy-page/m-p/666047#M4546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just curious - what happens if you always enable the proxy?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;esriConfig&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;defaults&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;io&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;alwaysUseProxy &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; true&lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #333333; font-weight: bold;"&gt;&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 19:02:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcgis-javascript-api-proxy-page/m-p/666047#M4546</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-03-31T19:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API - Proxy Page</title>
      <link>https://community.esri.com/t5/developers-questions/arcgis-javascript-api-proxy-page/m-p/666048#M4547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I set &lt;SPAN style="color: #595959; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;alwaysUseProxy = true&lt;/SPAN&gt;, an attempt is made to use the proxy, in the scenario where it was not previously used.&amp;nbsp; So setting alwaysUseProxy to true would seem to force it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interestingly the first layer I add is from server.arcgisonline.com.&amp;nbsp; I added the url in the Proxy config (see below), however it fails.&amp;nbsp; Below are the errors I see in the console.&amp;nbsp; I get the same errors when the Proxy is used to access my own service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proxy.config:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;serverUrls&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serverUrl url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://server.arcgisonline.com/ArcGIS/rest/services" rel="nofollow" target="_blank"&gt;http://server.arcgisonline.com/ArcGIS/rest/services&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; matchAll="true"/&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/serverUrls&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Errors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SEC7120: Origin &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:3042" rel="nofollow" target="_blank"&gt;http://localhost:3042&lt;/A&gt;&lt;SPAN&gt; not found in Access-Control-Allow-Origin header. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;RequestError: Unable to load &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://phunt-pc/EsriProxy/proxy.ashx?http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer?f=json" rel="nofollow" target="_blank"&gt;http://phunt-pc/EsriProxy/proxy.ashx?http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer?f=json&lt;/A&gt;&lt;SPAN&gt; status: 0 &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 19:34:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcgis-javascript-api-proxy-page/m-p/666048#M4547</guid>
      <dc:creator>PeterHunt3</dc:creator>
      <dc:date>2015-03-31T19:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API - Proxy Page</title>
      <link>https://community.esri.com/t5/developers-questions/arcgis-javascript-api-proxy-page/m-p/666049#M4548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/35951"&gt;Peter Hunt&lt;/A&gt;​ Can you post code snippets/examples of how you're using the proxy inside your app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 19:44:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcgis-javascript-api-proxy-page/m-p/666049#M4548</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2015-03-31T19:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API - Proxy Page</title>
      <link>https://community.esri.com/t5/developers-questions/arcgis-javascript-api-proxy-page/m-p/666050#M4549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have very little code dealing with the proxy.&amp;nbsp; Before I create the map (using my own dojo class), I set the esriConfig.defaults.io.proxyUrl.&amp;nbsp; See below.&amp;nbsp; Normally the alwaysUseProxy is set to false.&lt;/P&gt;&lt;P&gt;Below I have also included the values from my esriConfig.defaults.io&lt;/P&gt;&lt;P&gt;The only reason I started using the proxy was that I started getting inconsistent failures and in the console there was an error complaining that the proxyUrl was null.&amp;nbsp; I assumed this was the result of an attempt e to use the proxy, due to the large query string I was using.&amp;nbsp; I therefore installed the proxy and added the settings below.&amp;nbsp; My issue with the null proxyUrl went away and so did my inconsistent failures.&lt;/P&gt;&lt;P&gt;Recently I changed the services I was using to get different data, and I ran into another issue.&amp;nbsp; While investigating I found that my proxy was in fact not being used even when there was a large query string (&amp;gt; 2000).&amp;nbsp; I could see a POST being performed directly to my service.&amp;nbsp; So I am now confused about when the proxy gets used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;require(["tps/map",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/config",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/domReady!"],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function (tpsMap, esriConfig) {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Setup Esri Config&lt;/P&gt;&lt;P&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; esriConfig.defaults.io.proxyUrl = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://phunt-pc/EsriProxy/proxy.ashx" rel="nofollow" target="_blank"&gt;http://phunt-pc/EsriProxy/proxy.ashx&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esriConfig.defaults.io.alwaysUseProxy = true;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Create and display Map&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tpsMap = new tpsMap(oMapConfiguration);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tpsMap.mapQuery = oMapQuery;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tpsMap.createMap("divMap");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;esriConfig.defaults.io&lt;/P&gt;&lt;P&gt;{...}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Methods]: {...}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [prototype]: {...}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; alwaysUseProxy: true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; corsDetection: true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; corsEnabledServers: [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; corsStatus: {...}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; maxRequestWorkers: 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; postLength: 2000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; proxyRules: []&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; proxyUrl: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://phunt-pc/EsriProxy/proxy.ashx" rel="nofollow" target="_blank"&gt;http://phunt-pc/EsriProxy/proxy.ashx&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; timeout: 60000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; useCors: true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; useWorkers: "on-request"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; webTierAuthServers: []&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 20:17:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcgis-javascript-api-proxy-page/m-p/666050#M4549</guid>
      <dc:creator>PeterHunt3</dc:creator>
      <dc:date>2015-03-31T20:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API - Proxy Page</title>
      <link>https://community.esri.com/t5/developers-questions/arcgis-javascript-api-proxy-page/m-p/666051#M4550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are a couple of options you can try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The error you mentioned above (&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;SEC7120: Origin &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:3042/" rel="nofollow noopener noreferrer" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #287433;" target="_blank"&gt;http://localhost:3042&lt;/A&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; not found in Access-Control-Allow-Origin header&lt;/SPAN&gt;) looks like a CORS issue. When consuming services that aren't hosted on a CORS enabled server, you can push them to esriConfig.defaults.io.corsEnabledServers. &lt;A class="jive-link-external-small" href="http://server.arcgisonline.com/ArcGIS/rest/services" rel="nofollow noopener noreferrer" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #287433;" target="_blank"&gt;http://server.arcgisonline.com/ArcGIS/rest/services&lt;/A&gt;​ should work though since "server.arcgisonline.com" already exists in that array. I typically use "services.arcgisonline.com" instead for my applications and it has always worked fine for me. So you could try swapping it out in your app and proxy config file. I would also exclude the "/ArcGIS/rest/services" from the url in the config file. Again, it shouldn't really matter either way, but it could make a difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You can also use urlUtils.addProxyRule() to set up proxy rules within the app. This is the method I prefer. You can replace the snippet above with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Setup Esri Config&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esriConfig.defaults.io.proxyUrl = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://phunt-pc/EsriProxy/proxy.ashx" rel="nofollow noopener noreferrer" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #287433;" target="_blank"&gt;http://phunt-pc/EsriProxy/proxy.ashx&lt;/A&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esriConfig.defaults.io.alwaysUseProxy = true;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;require(["esri/urlUtils", ... ], function(urlUtils, ...){

&amp;nbsp; ...
&amp;nbsp; ...

&amp;nbsp; urlUltils.addProxyRule({
&amp;nbsp;&amp;nbsp;&amp;nbsp; urlPrefix: "server.arcgisonline.com",&amp;nbsp;&amp;nbsp;&amp;nbsp; //whatever you have in your config file here
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; proxyUrl: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://phunt-pc/EsriProxy/proxy.ashx" rel="nofollow noopener noreferrer" target="_blank"&gt;http://phunt-pc/EsriProxy/proxy.ashx&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;
&amp;nbsp; });

&amp;nbsp;&amp;nbsp; ...
&amp;nbsp;&amp;nbsp; ...
});&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:08:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcgis-javascript-api-proxy-page/m-p/666051#M4550</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2021-12-12T04:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API - Proxy Page</title>
      <link>https://community.esri.com/t5/developers-questions/arcgis-javascript-api-proxy-page/m-p/666052#M4551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kristian, I shall give your suggestions a try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 20:48:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcgis-javascript-api-proxy-page/m-p/666052#M4551</guid>
      <dc:creator>PeterHunt3</dc:creator>
      <dc:date>2015-03-31T20:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API - Proxy Page</title>
      <link>https://community.esri.com/t5/developers-questions/arcgis-javascript-api-proxy-page/m-p/666053#M4552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried your suggestions Kristian, but still got the same issue.&lt;/P&gt;&lt;P&gt;I did some further investigation into the SEC7120 issue and I was able to resolve it by adding the entry beow in the proxy Web.config.&amp;nbsp; This initially fixed my issue.&amp;nbsp; Unfortunately I still do not get my layer consistently added.&amp;nbsp; I now get an SEC7123 error (see below).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;system.webServer&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;httpProtocol&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;customHeaders&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name="Access-Control-Allow-Origin" value="*" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/customHeaders&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/httpProtocol&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/system.webServer&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SEC7123: Request header content-type was not present in the Access-Control-Allow-Headers list. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 22:51:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcgis-javascript-api-proxy-page/m-p/666053#M4552</guid>
      <dc:creator>PeterHunt3</dc:creator>
      <dc:date>2015-03-31T22:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API - Proxy Page</title>
      <link>https://community.esri.com/t5/developers-questions/arcgis-javascript-api-proxy-page/m-p/666054#M4553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've stumbled across some issues with the proxy in the past - if you run into any further issues, have a look at the following, if helpful:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/118773"&gt;Basic Viewer Print Widget in IE&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 14:07:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcgis-javascript-api-proxy-page/m-p/666054#M4553</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-04-02T14:07:01Z</dc:date>
    </item>
  </channel>
</rss>

