3 Replies Latest reply on Nov 21, 2011 2:14 PM by Flex harUI

    Security Error Accessing url

    fech1985

      Hi,

       

      I've been browsing the forums and saw alot of postings with this error

       

      Security Error Accessing url

       

      I have a Flex application calling a webservice sitting on another server, on the tomcat server I'm running my flex app I have put the crossdomain.xml in the %TOMCAT_HOME%/ROOT folder so I can goto localhost:8400/crossdomain.xml without issue

       

      Inside my crossdomain.xml I have

       

      <?xml version="1.0" ?>

      <cross-domain-policy>

      <site-control permitted-cross-domain-policies="all"/>

      <allow-access-from domain="*" to-ports="*" />

      <allow-http-request-headers-from domain="*" headers="*"/>

      </cross-domain-policy>

       

      Everytime I load my flex app I see the 'Security Error Accessing url' error.

       

      Inside FlashBuilder 4 I try 'Connect to Web Service...'  using 'Directly from the client (requires crossdomain file)' and this produces the error

       

      'There was an error during service introspection.WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at '<url of webservice>'.: java.io.FileNotFoundException: This file was not found: <url>'

       

      I can access the URL via Internet Explorer, but in Fire Fox I run into a proxy issue, can this error just a network issue or is my crossdomain file still incorrect?