<?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: Map Service not loading using Flex API in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544804#M12315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Scott,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Before you post this on other threads you need to understand that adding the /0 to the end of the url basically is saying use the first layer of the map service that is specified in the url. An ArcGISDynamicMapServiceLayer does not support the specification of a specific layer in it's url. A FeatureLayer however does support this as well as a QueryTask that is expecting an individual layer of a map service to be specified.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Feb 2011 12:40:55 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2011-02-10T12:40:55Z</dc:date>
    <item>
      <title>Map Service not loading using Flex API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544795#M12306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Friends,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new to ArcGIS and ArcGIS server. I created a service and used the arcgis manager to deploy a web application. So far so good. My goal is to use my .mxd file and use flex to view it on a web page and design my custom interface to interact with it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I used the code samples given online and ran it using my flash builder. These also work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue is when I try to use the map URL of my local ArcGIS server in my flash builder, it does not work. I see a blank screen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My Flex code&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;mx:Application xmlns:mx="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.adobe.com/2006/mxml" rel="nofollow" target="_blank"&gt;http://www.adobe.com/2006/mxml&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; layout="absolute" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:esri="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.esri.com/2008/ags" rel="nofollow" target="_blank"&gt;http://www.esri.com/2008/ags&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;esri:Map&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;esri:ArcGISImageServiceLayer url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://8HGXXXX:8399/arcgis/services/My_Map/MapServer" rel="nofollow" target="_blank"&gt;http://8HGXXXX:8399/arcgis/services/My_Map/MapServer&lt;/A&gt;&lt;SPAN&gt;" /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/esri:Map&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/mx:Application&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I shall be thankful if you can suggest me how to resolve this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: The numbers have been censored for security.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 13:46:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544795#M12306</guid>
      <dc:creator>VinayVyas</dc:creator>
      <dc:date>2011-01-26T13:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Map Service not loading using Flex API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544796#M12307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Vinay,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; The issue is that you do not have "rest" in your url.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;http://8HGXXXX:8399/arcgis/&lt;STRONG&gt;rest/&lt;/STRONG&gt;services/My_Map/MapServer&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 13:49:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544796#M12307</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-01-26T13:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Map Service not loading using Flex API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544797#M12308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the suggestion but it did not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The URL displayed is different in my arcgis manager, there is no "rest" in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a local map(mxd), created a service with the existing URL and I believe the maps online have the 'rest' directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anything else that might be wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vinay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 15:10:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544797#M12308</guid>
      <dc:creator>VinayVyas</dc:creator>
      <dc:date>2011-01-26T15:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Map Service not loading using Flex API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544798#M12309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am surprised, if I browse the URL formed by the addition of rest, then it does navigate to a page containing information. I am not sure why it is not working in Flex. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works with the sample code online.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here is my code again, do you find anything else wrong with it? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;mx:Application xmlns:mx="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.adobe.com/2006/mxml" rel="nofollow" target="_blank"&gt;http://www.adobe.com/2006/mxml&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; layout="absolute" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; xmlns:esri="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.esri.com/2008/ags" rel="nofollow" target="_blank"&gt;http://www.esri.com/2008/ags&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;esri:Map&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt; &amp;lt;esri:ArcGISImageServiceLayer url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://8HGXXXX:8399/arcgis/rest/services/map/MapServer" rel="nofollow" target="_blank"&gt;http://8HGXXXX:8399/arcgis/rest/services/map/MapServer&lt;/A&gt;&lt;SPAN&gt;" /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/esri:Map&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/mx:Application&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vinay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 15:14:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544798#M12309</guid>
      <dc:creator>VinayVyas</dc:creator>
      <dc:date>2011-01-26T15:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Map Service not loading using Flex API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544799#M12310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try using an ArcGISDynamicMapServiceLayer instead:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 16:18:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544799#M12310</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2011-01-26T16:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Map Service not loading using Flex API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544800#M12311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Dasa,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Its still not working. I am surprised what the problem is, it is showing similar behavior using the Javascript API. The map is also error-free. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vinay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 17:03:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544800#M12311</guid>
      <dc:creator>VinayVyas</dc:creator>
      <dc:date>2011-01-28T17:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Map Service not loading using Flex API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544801#M12312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you try a tool like HttpFox to see if it's trying to load: &lt;/SPAN&gt;&lt;A href="http://8HGXXXX:8399/crossdomain.xml"&gt;http://8HGXXXX:8399/crossdomain.xml&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, see if any other requests are failing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 17:32:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544801#M12312</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2011-01-28T17:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Map Service not loading using Flex API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544802#M12313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To add to Dasa's comment also check out this blog post: &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/arcobjectsdevelopment/archive/2009/05/21/ArcGIS-RIA-Developers_3A00_-A-brief-intro-to-HTTP-debugging-tools.aspx"&gt;http://blogs.esri.com/Dev/blogs/arcobjectsdevelopment/archive/2009/05/21/ArcGIS-RIA-Developers_3A00_-A-brief-intro-to-HTTP-debugging-tools.aspx&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 20:46:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544802#M12313</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2011-02-04T20:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Map Service not loading using Flex API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544803#M12314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Robert,&lt;BR /&gt;&lt;BR /&gt;I am surprised, if I browse the URL formed by the addition of rest, then it does navigate to a page containing information. I am not sure why it is not working in Flex. &lt;BR /&gt;&lt;BR /&gt;It works with the sample code online.&lt;BR /&gt;&lt;BR /&gt;here is my code again, do you find anything else wrong with it? &lt;BR /&gt;&lt;BR /&gt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; layout="absolute" &lt;BR /&gt;&amp;nbsp;&amp;nbsp; xmlns:esri="http://www.esri.com/2008/ags"&amp;gt;&lt;BR /&gt;&amp;lt;esri:Map&amp;gt;&lt;BR /&gt;&lt;BR /&gt; &amp;lt;esri:ArcGISImageServiceLayer url="http://8HGXXXX:8399/arcgis/rest/services/map/MapServer" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;/esri:Map&amp;gt;&lt;BR /&gt; &lt;BR /&gt;&amp;lt;/mx:Application&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Vinay&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Vinay, you may have already solved this, but if you add /0 at the end of the url it might work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;so yours would look like: url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://8HGXXXX:8399/arcgis/rest/services/map/MapServer/0" rel="nofollow" target="_blank"&gt;http://8HGXXXX:8399/arcgis/rest/services/map/MapServer/0&lt;/A&gt;&lt;SPAN&gt;" /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Scott&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 12:27:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544803#M12314</guid>
      <dc:creator>ScottEvenson</dc:creator>
      <dc:date>2011-02-10T12:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Map Service not loading using Flex API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544804#M12315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Scott,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Before you post this on other threads you need to understand that adding the /0 to the end of the url basically is saying use the first layer of the map service that is specified in the url. An ArcGISDynamicMapServiceLayer does not support the specification of a specific layer in it's url. A FeatureLayer however does support this as well as a QueryTask that is expecting an individual layer of a map service to be specified.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 12:40:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544804#M12315</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-02-10T12:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Map Service not loading using Flex API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544805#M12316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good point!&amp;nbsp; I couldn't tell if it was tiled, dynamic or feature from the post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Scott&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 14:36:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-service-not-loading-using-flex-api/m-p/544805#M12316</guid>
      <dc:creator>ScottEvenson</dc:creator>
      <dc:date>2011-02-10T14:36:55Z</dc:date>
    </item>
  </channel>
</rss>

