<?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 Query operation with amf output does not run when Rest service directory is disabled. in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-operation-with-amf-output-does-not-run-when/m-p/429611#M2060</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have quite a few map services on our ArcGIS server 10 Sp2 which are consumed in our custom Flex App. We disabled the Rest services directory, so as prevent casual users from accessing the map services from their web browsers. Our App works fine, except for one major problem. We are running query operations, and getting the result back in amf format. We found that this fails, with a 403 error, whenever the services directory is disabled.&amp;nbsp; Enabling the rest services directory through the rest admin, makes the same query run successfully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We could reproduce this on our development as well as production machine.&amp;nbsp; Is this a known bug? Is there any workaround?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2012 13:44:33 GMT</pubDate>
    <dc:creator>DevdattaTengshe1</dc:creator>
    <dc:date>2012-03-20T13:44:33Z</dc:date>
    <item>
      <title>Query operation with amf output does not run when Rest service directory is disabled.</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-operation-with-amf-output-does-not-run-when/m-p/429611#M2060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have quite a few map services on our ArcGIS server 10 Sp2 which are consumed in our custom Flex App. We disabled the Rest services directory, so as prevent casual users from accessing the map services from their web browsers. Our App works fine, except for one major problem. We are running query operations, and getting the result back in amf format. We found that this fails, with a 403 error, whenever the services directory is disabled.&amp;nbsp; Enabling the rest services directory through the rest admin, makes the same query run successfully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We could reproduce this on our development as well as production machine.&amp;nbsp; Is this a known bug? Is there any workaround?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 13:44:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-operation-with-amf-output-does-not-run-when/m-p/429611#M2060</guid>
      <dc:creator>DevdattaTengshe1</dc:creator>
      <dc:date>2012-03-20T13:44:33Z</dc:date>
    </item>
  </channel>
</rss>

