<?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: Access-Control-Allow-Origin and 3.0 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-control-allow-origin-and-3-0/m-p/326546#M30128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ignoring this warning doesn't work if you call a buffer task:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/78905-GeometryServic-Buffer-Task-amp-Access-Control-Allow-Origin?p=277900#post277900"&gt;http://forums.arcgis.com/threads/78905-GeometryServic-Buffer-Task-amp-Access-Control-Allow-Origin?p=277900#post277900&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why would this happen with a geometry service? I'm running API version 3.2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Mar 2013 14:30:12 GMT</pubDate>
    <dc:creator>AaronConnolly</dc:creator>
    <dc:date>2013-03-04T14:30:12Z</dc:date>
    <item>
      <title>Access-Control-Allow-Origin and 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-control-allow-origin-and-3-0/m-p/326542#M30124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm finding that when using 3.0, I get the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;XMLHttpRequest cannot load &lt;/SPAN&gt;&lt;A href="http://server.arcgisonline.com/ArcGIS/rest/info?f=json"&gt;http://server.arcgisonline.com/ArcGIS/rest/info?f=json&lt;/A&gt;&lt;SPAN&gt;. Origin &lt;/SPAN&gt;&lt;A href="http://localhost"&gt;http://localhost&lt;/A&gt;&lt;SPAN&gt; is not allowed by Access-Control-Allow-Origin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Simply switching the API back to 2.8 eliminates the problem.&amp;nbsp; I've tried configuring both CORS and the proxyUrl, but neither helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone please provide me some guidance here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--john&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 03:19:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-control-allow-origin-and-3-0/m-p/326542#M30124</guid>
      <dc:creator>JohnCartwright</dc:creator>
      <dc:date>2012-06-20T03:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Access-Control-Allow-Origin and 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-control-allow-origin-and-3-0/m-p/326543#M30125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi John,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can safely ignore these errors. There's info about this in the doc for &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/namespace_esri.htm#request"&gt;esri.request&lt;/A&gt;&lt;SPAN&gt; (specifically, the bullet for 3.0).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kelly also posted about this a couple of days ago:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/59988-Issue-Upgrading-to-version-3.0?p=207055&amp;amp;viewfull=1#post207055"&gt;http://forums.arcgis.com/threads/59988-Issue-Upgrading-to-version-3.0?p=207055&amp;amp;viewfull=1#post207055&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 04:54:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-control-allow-origin-and-3-0/m-p/326543#M30125</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-06-20T04:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Access-Control-Allow-Origin and 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-control-allow-origin-and-3-0/m-p/326544#M30126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Derek, I had not seen Kelly's message on this topic.&amp;nbsp; I'm surprised though that &lt;/SPAN&gt;&lt;A href="http://enable-cors.org/"&gt;http://enable-cors.org/&lt;/A&gt;&lt;SPAN&gt; reports that sservices.arcgisonline.com is a CORS-enabled site.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--john&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 15:04:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-control-allow-origin-and-3-0/m-p/326544#M30126</guid>
      <dc:creator>JohnCartwright</dc:creator>
      <dc:date>2012-06-20T15:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Access-Control-Allow-Origin and 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-control-allow-origin-and-3-0/m-p/326545#M30127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Glad to help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached is what I see when I used enable-cors.org to check if CORS is supported on services.arcgisonline.com. That server is not set up for CORS.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 15:39:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-control-allow-origin-and-3-0/m-p/326545#M30127</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-06-20T15:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Access-Control-Allow-Origin and 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-control-allow-origin-and-3-0/m-p/326546#M30128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ignoring this warning doesn't work if you call a buffer task:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/78905-GeometryServic-Buffer-Task-amp-Access-Control-Allow-Origin?p=277900#post277900"&gt;http://forums.arcgis.com/threads/78905-GeometryServic-Buffer-Task-amp-Access-Control-Allow-Origin?p=277900#post277900&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why would this happen with a geometry service? I'm running API version 3.2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 14:30:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-control-allow-origin-and-3-0/m-p/326546#M30128</guid>
      <dc:creator>AaronConnolly</dc:creator>
      <dc:date>2013-03-04T14:30:12Z</dc:date>
    </item>
  </channel>
</rss>

