Select to view content in your preferred language

Security Error on public USGS map service

2351
2
Jump to solution
02-01-2012 11:38 AM
JonFisher
Emerging Contributor
Hi all,

I'm trying to add this map service: http://gis1.usgs.gov/arcgis/rest/services/nfhap/nfhap_public_huc12/MapServer to a Flex map. When I do, I get an error message ("Risk of Current Aquatic Habitat Degradation layer failed to load: Fault code: Channel.Security.Error Fault info: Security error accessing url Fault details: Destination: DefaultHTTP"). I checked and found that the USGS crossdomain.xml file appears to only allow requests from .gov servers: http://gis1.usgs.gov/crossdomain.xml

Am I correct in interpreting that to mean that while I could view the map service via a javascript map (like the one on arcgis.com), there's no way to view it via Flex without them changing that file? It seems odd that USGS would set up a map service for public consumption and then prevent it from being used in a flex map by anyone not on a government server.

Any insight appreciated! Thanks,

Jon
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
DasaPaddock
Esri Regular Contributor
0 Kudos
2 Replies
DasaPaddock
Esri Regular Contributor
0 Kudos
JonFisher
Emerging Contributor
Thanks Dasa, much appreciated!
0 Kudos