Monday, November 16, 2009

FlashPlayer and Flex Security Restrictions When Consuming a Webservice

Here our system configuration (scenario):
  • Server A: hosts your Flex application
  • Server B: hosts a webservice consumed by your Flex application
 In order for your Flex application to be able to consume the webservice in above scenario, you have two options:
  • Place in the root of the application server on Server B a crossdomain.xml file specifying: allow-access-from-domain: server-A-domain, or
  • Use the Proxy service on Server A, which is part of LCDS and BlazeDS dataservices.

No comments: