<?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 Executing a flex application from Tomcat _ beginner in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/executing-a-flex-application-from-tomcat-beginner/m-p/715748#M15903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am a beginner to ArcGis for Flex API. I used a simple application from Esri Web site (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/index.html#/Dynamic_Map/01nq0000003m000000"&gt;http://help.arcgis.com/en/webapi/flex/samples/index.html#/Dynamic_Map/01nq0000003m000000&lt;/A&gt;&lt;SPAN&gt;). I am using Flash builder 4.5 IDE. I am trying to execute my local Web service (published with ArcGis server 10) instead of the Esri one. I only modified the URL of the Web service (&lt;/SPAN&gt;&lt;A href="http://local:8399/arcgis/rest/services/geoprocessing/nouvMapService1/MapServer"&gt;http://local:8399/arcgis/rest/services/geoprocessing/nouvMapService1/MapServer&lt;/A&gt;&lt;SPAN&gt;). The execution goes successfully from the Flash builder environment. However, when I try to execute the resulting html file (that wraps the swf) from the Tomcat Web server, it works for the Esri Web service, but not for my local one. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. I added the crossdomain.xml file (found in &lt;/SPAN&gt;&lt;A href="http://server.arcgisonline.com/crossdomain.xml"&gt;http://server.arcgisonline.com/crossdomain.xml&lt;/A&gt;&lt;SPAN&gt;) in the same directory where my service is stored (C:\Program Files (x86)\ArcGIS\Server10.0\server\user\cfg\geoprocessing). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you help me figure out what I need to do ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thx.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tarek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Dec 2011 16:25:52 GMT</pubDate>
    <dc:creator>TarakSbouai</dc:creator>
    <dc:date>2011-12-01T16:25:52Z</dc:date>
    <item>
      <title>Executing a flex application from Tomcat _ beginner</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/executing-a-flex-application-from-tomcat-beginner/m-p/715748#M15903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am a beginner to ArcGis for Flex API. I used a simple application from Esri Web site (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/index.html#/Dynamic_Map/01nq0000003m000000"&gt;http://help.arcgis.com/en/webapi/flex/samples/index.html#/Dynamic_Map/01nq0000003m000000&lt;/A&gt;&lt;SPAN&gt;). I am using Flash builder 4.5 IDE. I am trying to execute my local Web service (published with ArcGis server 10) instead of the Esri one. I only modified the URL of the Web service (&lt;/SPAN&gt;&lt;A href="http://local:8399/arcgis/rest/services/geoprocessing/nouvMapService1/MapServer"&gt;http://local:8399/arcgis/rest/services/geoprocessing/nouvMapService1/MapServer&lt;/A&gt;&lt;SPAN&gt;). The execution goes successfully from the Flash builder environment. However, when I try to execute the resulting html file (that wraps the swf) from the Tomcat Web server, it works for the Esri Web service, but not for my local one. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. I added the crossdomain.xml file (found in &lt;/SPAN&gt;&lt;A href="http://server.arcgisonline.com/crossdomain.xml"&gt;http://server.arcgisonline.com/crossdomain.xml&lt;/A&gt;&lt;SPAN&gt;) in the same directory where my service is stored (C:\Program Files (x86)\ArcGIS\Server10.0\server\user\cfg\geoprocessing). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you help me figure out what I need to do ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thx.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tarek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 16:25:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/executing-a-flex-application-from-tomcat-beginner/m-p/715748#M15903</guid>
      <dc:creator>TarakSbouai</dc:creator>
      <dc:date>2011-12-01T16:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Executing a flex application from Tomcat _ beginner</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/executing-a-flex-application-from-tomcat-beginner/m-p/715749#M15904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I should put crossdomain.xml to &amp;lt;ArcGIS_Server_Install_Location&amp;gt;\ArcGIS\java\manager\web_output&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tarek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 11:54:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/executing-a-flex-application-from-tomcat-beginner/m-p/715749#M15904</guid>
      <dc:creator>TarakSbouai</dc:creator>
      <dc:date>2011-12-05T11:54:06Z</dc:date>
    </item>
  </channel>
</rss>

