<?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <site-control permitted-cross-domain-policies="all"/> <allow-access-from domain="*"/> </cross-domain-policy>
Could this be a crossdomain.xml issue? I had the same issue when setting up my flex map. The operational layers code was written correctly, but I was still unable to view the REST service in my flex app. After I placed a copy of the crossdomain.xml file in the inetpub-->wwwroot directory of the server running ArcServer, my app worked properly. Good luck!
<operationallayers> <layer label="test" type="dynamic" visible="true" url="http://myserver/arcgis/rest/services/myservice_wgs84wm/MapServer/" /> </operationallayers>
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.