<?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: Crossdomain query in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/crossdomain-query/m-p/526442#M11931</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ben,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; The issue with the crossdomain.xml on the secured server would appear to be the missing secure attribute:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;allow-access-from domain="*" secure="false"/&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a similar thread:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/102094-Crossdomain-issue-when-using-a-secured-service"&gt;http://forums.arcgis.com/threads/102094-Crossdomain-issue-when-using-a-secured-service&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Feb 2014 12:18:00 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2014-02-20T12:18:00Z</dc:date>
    <item>
      <title>Crossdomain query</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/crossdomain-query/m-p/526441#M11930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am accessing a secured service from a third party.&amp;nbsp; The service is published on https, and when I try to open a test flex viewer with the service in it I am asked for login credentials as expected, but the service does not display - instead I get the error 'Channel.Security.Error'.&amp;nbsp; The login details are definitely correct - they work with opening the rest endpoint of the service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems to be some kind of issue with the crossdomain file.&amp;nbsp; It is secured using the same credentials and looking at the response to the crossdomain request in fiddler it seems to be being accessed without any error.&amp;nbsp; I can also open the file directly in my browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am guessing that it is something to do with the content of the crossdomain (copied below).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"&amp;gt;
&amp;lt;cross-domain-policy&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;site-control permitted-cross-domain-policies="all"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;allow-access-from domain="*"/&amp;gt;
&amp;lt;/cross-domain-policy&amp;gt;
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My viewer is on an intranet location and not secured.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 03:14:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/crossdomain-query/m-p/526441#M11930</guid>
      <dc:creator>BenScott1</dc:creator>
      <dc:date>2014-02-20T03:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Crossdomain query</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/crossdomain-query/m-p/526442#M11931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ben,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; The issue with the crossdomain.xml on the secured server would appear to be the missing secure attribute:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;allow-access-from domain="*" secure="false"/&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a similar thread:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/102094-Crossdomain-issue-when-using-a-secured-service"&gt;http://forums.arcgis.com/threads/102094-Crossdomain-issue-when-using-a-secured-service&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 12:18:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/crossdomain-query/m-p/526442#M11931</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-02-20T12:18:00Z</dc:date>
    </item>
  </channel>
</rss>

