Select to view content in your preferred language

Executing a flex application from Tomcat _ beginner

602
1
12-01-2011 08:25 AM
TarakSbouai
Emerging Contributor
Hello,
I am a beginner to ArcGis for Flex API. I used a simple application from Esri Web site (http://help.arcgis.com/en/webapi/flex/samples/index.html#/Dynamic_Map/01nq0000003m000000). 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 (http://local:8399/arcgis/rest/services/geoprocessing/nouvMapService1/MapServer). 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.
P.S. I added the crossdomain.xml file (found in http://server.arcgisonline.com/crossdomain.xml) in the same directory where my service is stored (C:\Program Files (x86)\ArcGIS\Server10.0\server\user\cfg\geoprocessing).
Could you help me figure out what I need to do ?
Thx.
 
Tarek
Tags (2)
0 Kudos
1 Reply
TarakSbouai
Emerging Contributor
I should put crossdomain.xml to <ArcGIS_Server_Install_Location>\ArcGIS\java\manager\web_output

Tarek
0 Kudos