Add crossdomain.xml to enable requests from Flash/Silverlight clients
In order to enable calls to the speech recognizer from browser clients, the Access-Control-Allow-Origin header is properly set in the AVS responses. I am building an app prototype using the AVS with Silverlight, but unfortunately this plugin uses its own method to validate crossdomain requests by looking for a crossdomain.xml-file on the Alexa server. However this file doesn't seem to exist at the
https://access-alexa-na.amazon.com/crossdomain.xml URL. Because this is a road blocker for me right now, are there any chances that you could create such a crossdomain.xml file? I know the time for these plugins is somehow over, but maybe you can help me here in the short term. :) Thanks a lot! Best, Robert
In my development environment, I got around this using the AutoResponder feature of the Fiddler tool: It intercepts requests to
https://access-alexa-na.amazon.com/clientaccesspolicy.xml and returns the following content. I couldn't get Silverlight to play with a crossdomain.xml file. So for my prototyping needs, I found a solution, but official support for this would still be great!
Hi Robert, As you called out, we currently don't have official support for Flash/Silverlight. I will share this feature request with our product owners, but I am unable to share specifics on a release timeline. ~ Gautam