Solved! Go to Solution.
What would be the reason for being able to view the service in ArcGIS.com or ArcGIS Desktop, but not in a browser?
Stephanie,
Because ArcGIS.com use the JavaScript API and Desktop used a SOAP protocol and Flex has security setup that requires either a proxy or a crossdomain.xml be on the server that contains your ArcGIS Server.
So the question is do you have your crossdomain.xml be on the server that contains your ArcGIS Server?
Can you access it using http://<machinename>/crossdomain.xml?
Stephanie,
So you mention that you have web adaptor installed. So you are omitting :6080 from your urls then right? Can you get to the ArcGIS Server REST Endpoint for your layer using the web adaptor url (i.e. no :6080) from the other machine?
Stephanie,
It sounds like everythig should be fine then... Do you have the ability to use Fiddler or some other http traffic tool to see what http request is failing? I may be time for you to call tech support.
Stephanie,
solved the problem? I got the same issue?
Can you share the solution if you sort it out?
hope to hear form you
Beza
I am running into the same problem. ALready copied the crossdomain.xml files to the suggested locations. What is the workaround this issue? also what is the difference between using this:
<?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>
and this:
<?xml version="1.0" ?>
<cross-domain-policy>
<allow-access-from domain="*" secure="false"/>
<site-control permitted-cross-domain-policies="all"/>
<allow-http-request-headers-from domain="*" headers="*"/>
<allow-https-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>
...thanks a lot!