question

robert22s avatar image
robert22s asked

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
alexa voice service
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

robert22s avatar image
robert22s answered
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!
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Gautam@Amazon avatar image
Gautam@Amazon answered
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
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.