<?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: Accessing map service through API in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/accessing-map-service-through-api/m-p/479898#M10945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nadeem,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You do realize that you have http twice in the url right?..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a link to the documentation on using crossdomain.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/concepts/017p/017p0000001w000000.htm"&gt;http://resources.arcgis.com/en/help/flex-api/concepts/017p/017p0000001w000000.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Aug 2012 11:16:30 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2012-08-22T11:16:30Z</dc:date>
    <item>
      <title>Accessing map service through API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/accessing-map-service-through-api/m-p/479894#M10941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have built an application using flex API under flush builder 4.6. This application uses the map service published on the server.&amp;nbsp; I run the application and it works fine on my labtop and i can see the url address in the browser:&lt;/SPAN&gt;&lt;A href="http://149.157.138.198/testflushproject-debug/testflushproject.html"&gt;http://149.157.138.198/testflushproject-debug/testflushproject.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ARCGIS server, Internet information server all lies on the same laptop. Now i use this url on the other laptop which is connected to this network. however when i enter this url&amp;nbsp; the page is opened showing me the user interface but the map is not shown on the other laptop. I can see the other&amp;nbsp; things like cross hair and other userinterface control however the map is not visible any idea......&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;esri:Map id="mymap" x="-2" y="14" crosshairVisible="true" level="3" load="OnMapLoad()"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;esri:ArcGISDynamicMapServiceLayer url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost/ArcGIS_Server/rest/services/davesite/MapServer" rel="nofollow" target="_blank"&gt;http://localhost/ArcGIS_Server/rest/services/davesite/MapServer&lt;/A&gt;&lt;SPAN&gt;"/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;esri:GraphicsLayer id="graphicsLayer"/&amp;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;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;s:RichEditableText id="lbl_mapscale" x="172" y="22" text="1:{mymap.scale.toFixed(0)} (level {mymap.level})"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;s:Label x="54" y="22" text="Current map scale"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;s:HGroup x="494" y="10" width="200" height="200"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;s:RichEditableText id="mousecoords"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; editable="false"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text="Move the mouse over the map to see its current coordinates..."/&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/s:HGroup&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 11:03:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/accessing-map-service-through-api/m-p/479894#M10941</guid>
      <dc:creator>NadeemQazi</dc:creator>
      <dc:date>2012-08-21T11:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing map service through API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/accessing-map-service-through-api/m-p/479895#M10942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nadeem,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You can nor mix localhost (the url of your ArcGISDynamicMapService) and then use the IP address to access the application with out using a crossdomain.xml. The easy fix in your case is to quit using different urls. If you are going to use the IP address then use it every where.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;esri:ArcGISDynamicMapServiceLayer url="http://149.157.138.198/ArcGIS_Server/rest/services/davesite/MapServer"/&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 11:12:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/accessing-map-service-through-api/m-p/479895#M10942</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-08-21T11:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing map service through API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/accessing-map-service-through-api/m-p/479896#M10943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Nadeem,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; You can nor mix localhost (the url of your ArcGISDynamicMapService) and then use the IP address to access the application with out using a crossdomain.xml. The easy fix in your case is to quit using different urls. If you are going to use the IP address then use it every where.&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;esri:ArcGISDynamicMapServiceLayer url="http://149.157.138.198/ArcGIS_Server/rest/services/davesite/MapServer"/&amp;gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanx robert, in case i wish to use to use the crossdomain.xml to solve this problem than what should be the entry in the crossdomain.xml and where will should i placed that file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;nadeem&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 09:07:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/accessing-map-service-through-api/m-p/479896#M10943</guid>
      <dc:creator>NadeemQazi</dc:creator>
      <dc:date>2012-08-22T09:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing map service through API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/accessing-map-service-through-api/m-p/479897#M10944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;thanx robert, in case i wish to use to use the crossdomain.xml to solve this problem than what should be the entry in the crossdomain.xml and where will should i placed that file.&lt;BR /&gt;regards&lt;BR /&gt;nadeem&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually when i tried to used with the ipaddress in the url than the map did not show at all even on local laptop. i think there is some configuration need to be done at&amp;nbsp; ARCGIS server to allow the map to be seen remotely. but I am not sure how to do this. I used following code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;esri:ArcGISDynamicMapServiceLayer url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://http://149.157.138.198/ArcGIS_Server/rest/services/aiportMoneve_Activeonlu/MapServer" rel="nofollow" target="_blank"&gt;http://http://149.157.138.198/ArcGIS_Server/rest/services/aiportMoneve_Activeonlu/MapServer&lt;/A&gt;&lt;SPAN&gt;"/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 09:41:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/accessing-map-service-through-api/m-p/479897#M10944</guid>
      <dc:creator>NadeemQazi</dc:creator>
      <dc:date>2012-08-22T09:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing map service through API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/accessing-map-service-through-api/m-p/479898#M10945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nadeem,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You do realize that you have http twice in the url right?..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a link to the documentation on using crossdomain.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/concepts/017p/017p0000001w000000.htm"&gt;http://resources.arcgis.com/en/help/flex-api/concepts/017p/017p0000001w000000.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 11:16:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/accessing-map-service-through-api/m-p/479898#M10945</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-08-22T11:16:30Z</dc:date>
    </item>
  </channel>
</rss>

