crossdomain.xml - Can't access Google Geocode API
-
29-10-2019 - |
Question
I'm experiencing the popular Security Sandbox violation...
I use Google Maps Flex API and now i want to access the Google Geocoding API . For this , i use the HTTPService :
<s:HTTPService id="geo_req" url="http://maps.googleapis.com/maps/api/geocode/xml?address={i_address}" result="geo_req_resultHandler(event)" />
But i got Sandbox Security violation . So i've created crossdomain.xml as :
<cross-domain-policy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.adobe.com/xml/schemas/PolicyFile.xsd">
<allow-access-from domain="*" secure="false" />
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>
I use WAMP server and can access the file by typing http://localhost/crossdomain.xml ... Still i can't access the url.
How can i get rid of this ?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow