9 Replies Latest reply on Apr 15, 2011 5:57 AM by mattcom

    Flex Mobile + crossdomain.xml

    mattcom

      Ok, so, here's a fun one for you.

       

      I have a webservice that the mobile app calls.  This works fine on a http://localhost/.... run, but when testing on the device, the device can't interpret localhost.

       

      Which means that I have to:

       

      1.) put the webservice on a domain (done)

      2.) do a crossdomain.xml file?

       

           <?xml version="1.0"?>
           <cross-domain-policy>  
                 <site-control permitted-cross-domain-policies="master-only"/>
                 <allow-access-from domain="*"/>
           </cross-domain-policy>

       

      I mean, the domain has to be "*" because mobile apps can be anywhere....

       

       

      Anyone have any insight on this?  I've tried using the webservice on my domain server, but to no avail.