<?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: Cross Origin Resource Sourcing (CORS) with Safari 5.1.7 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cross-origin-resource-sourcing-cors-with-safari-5/m-p/498296#M46315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: sjones&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Derek &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks for getting back to me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please could you cast some suggestions what should be enabled between the server - both are configured for anaonymous and windows authentication. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The site works for IE 8 and 9 but fails with Safari 5.1.7 (I'd expect exactly the opposite). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is lots of reports on the subject but very little to test against in Ajax.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, the example with Arcgisonline works for me. I have it set up as a startup page in the same browser. I agree - it is something on ourproduction and development servers. Cannot pin point it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems to be with the http request (nothing is returned)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTTP/1.1 405 Method Not Allowed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cache-Control: private&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Allow: GET&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Content-Length: 1565&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Content-Type: text/html; charset=utf-8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Server: Microsoft-IIS/7.5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;X-AspNet-Version: 4.0.30319&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;X-Powered-By: ASP.NET&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Date: Fri, 18 May 2012 05:17:38 GMT&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for taking an interest&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Susan&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can you test with our CORS samples and confirm they work with Safari in your set up:&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/exp_cors_buffer.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/exp_cors_buffer.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/exp_cors_edit_points.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/exp_cors_edit_points.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I have a feeling it's a matter of getting your server configured correctly�?? support should be able to help with this. Please post back and let us know how this progresses.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 May 2012 04:24:02 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2012-05-18T04:24:02Z</dc:date>
    <item>
      <title>Cross Origin Resource Sourcing (CORS) with Safari 5.1.7</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cross-origin-resource-sourcing-cors-with-safari-5/m-p/498293#M46312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: sjones&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi All&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found an issue with the Javascript RIA Viewer when run against non-IE browsers (Safari 5.1.7). I don't think it is an ESRI thing because the same web viewer works fine with Internet Explorer 8 and Internet Explorer 9.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have managed to narrow the issue down to CORS (Cross Origin Resource Sharing), which is supported by ESRI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2011/09/23/version-2-5-of-the-arcgis-api-for-javascript-released-today/"&gt;http://blogs.esri.com/esri/arcgis/2011/09/23/version-2-5-of-the-arcgis-api-for-javascript-released-today/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The workaround for flex and Silverlight RIA's&amp;nbsp; has been to ensure crossdomain.xml and clientaccesspolicy.xml exists in the www root of the server. This implementation does not work for the javascript viewer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tested Platforms&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been testing on Windows Safari, a Mini Mac and an IPAD.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Javascript Viewer handles the security with Internet explorer on the same windows machine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error Messaging returns the following.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to load resource: the server responded with a status of 405 (Method Not Allowed)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;XMLHttpRequest cannot load &lt;/SPAN&gt;&lt;A href="http://vm-svr155/HBRC.EV.RESTServices/Config/Download/HBRC"&gt;http://vm-svr155/HBRC.EV.RESTServices/Config/Download/HBRC&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;Further debugging from Fiddler show&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This request did not send any cookie data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have set up my web.config to include the client access policies and the requests to include Access-Control-Allow-Origin to be �??*�?�. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Apple devices are becoming popular field devices and should really need to be supported. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You�??ll see the html request is formed differently between the internet explorer and non-IE version. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Internet Explorer 9 �?? All Good&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Safari 5.17 �?? Fails with Windows, Mini Mac and iPad&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(Attached are the request logs from Fiddler)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Susan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 22:22:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cross-origin-resource-sourcing-cors-with-safari-5/m-p/498293#M46312</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-05-16T22:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Origin Resource Sourcing (CORS) with Safari 5.1.7</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cross-origin-resource-sourcing-cors-with-safari-5/m-p/498294#M46313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: sjones&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a real showstopper for the ESRI Javascript 2.5 api.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/exp_cors_edit_points.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/exp_cors_edit_points.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it seems ESRI Have tested Safari against secure (and unsecure services in this case).&amp;nbsp; but it still does not work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;have opened a call with local ESRI Support but heard nothing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 22:17:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cross-origin-resource-sourcing-cors-with-safari-5/m-p/498294#M46313</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-05-17T22:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Origin Resource Sourcing (CORS) with Safari 5.1.7</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cross-origin-resource-sourcing-cors-with-safari-5/m-p/498295#M46314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you test with our CORS samples and confirm they work with Safari in your set up:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/exp_cors_buffer.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/exp_cors_buffer.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/exp_cors_edit_points.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/exp_cors_edit_points.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a feeling it's a matter of getting your server configured correctly�?? support should be able to help with this. Please post back and let us know how this progresses.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 04:12:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cross-origin-resource-sourcing-cors-with-safari-5/m-p/498295#M46314</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-05-18T04:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Origin Resource Sourcing (CORS) with Safari 5.1.7</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cross-origin-resource-sourcing-cors-with-safari-5/m-p/498296#M46315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: sjones&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Derek &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks for getting back to me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please could you cast some suggestions what should be enabled between the server - both are configured for anaonymous and windows authentication. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The site works for IE 8 and 9 but fails with Safari 5.1.7 (I'd expect exactly the opposite). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is lots of reports on the subject but very little to test against in Ajax.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, the example with Arcgisonline works for me. I have it set up as a startup page in the same browser. I agree - it is something on ourproduction and development servers. Cannot pin point it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems to be with the http request (nothing is returned)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTTP/1.1 405 Method Not Allowed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cache-Control: private&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Allow: GET&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Content-Length: 1565&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Content-Type: text/html; charset=utf-8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Server: Microsoft-IIS/7.5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;X-AspNet-Version: 4.0.30319&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;X-Powered-By: ASP.NET&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Date: Fri, 18 May 2012 05:17:38 GMT&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for taking an interest&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Susan&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can you test with our CORS samples and confirm they work with Safari in your set up:&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/exp_cors_buffer.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/exp_cors_buffer.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/exp_cors_edit_points.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/exp_cors_edit_points.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I have a feeling it's a matter of getting your server configured correctly�?? support should be able to help with this. Please post back and let us know how this progresses.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 04:24:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cross-origin-resource-sourcing-cors-with-safari-5/m-p/498296#M46315</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-05-18T04:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Origin Resource Sourcing (CORS) with Safari 5.1.7</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cross-origin-resource-sourcing-cors-with-safari-5/m-p/498297#M46316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you elaborate on how you enabled CORS on your server? What specific things did you do?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 12:20:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cross-origin-resource-sourcing-cors-with-safari-5/m-p/498297#M46316</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-05-18T12:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Origin Resource Sourcing (CORS) with Safari 5.1.7</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cross-origin-resource-sourcing-cors-with-safari-5/m-p/498298#M46317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: sjones&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have set CORS-related parameters as&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;system.webServer&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;httpProtocol&amp;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;lt;customHeaders&amp;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;lt;add name="Access-Control-Allow-Origin" value="*" /&amp;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;lt;add name="Access-Control-Allow-Methods" value="POST, GET, OPTIONS, HEAD" /&amp;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;lt;/customHeaders&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/httpProtocol&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/system.webServer&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 01:21:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cross-origin-resource-sourcing-cors-with-safari-5/m-p/498298#M46317</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-05-21T01:21:36Z</dc:date>
    </item>
  </channel>
</rss>

