7 Replies Latest reply on Jun 24, 2013 6:46 AM by Flex harUI

    Error accessing Flex application via proxy server (IBM HTTPServer)

    cyberix12

      Currently I have this situation, I have a Flex application and a java webservice application (2 seperate war file) running in a IBM Websphere Application Server (version 8). The Flex application consume the java webservices through the WebService component in the Flex SDK. The client machine browser is able to load and run the Flex application successfully (on Flash Player 10 IE9). However, when a proxy server (IBM HTTPServer) is introduced, a "security error accessing url" is encountered, crossdomain.xml doesn't seem to help, appreciate is someone can help.

       

      Thankyou very much.

       

       

      Webservice location

      http://XX.XX.XX.100:9080/myServer/services/My_Svc.port?wsdl

       

      Accessing Flex directly on IBM Web Application Server is working

      http://XX.XX.XX.100:9080/myFlexApp/

       

      Accessing Flex via a IBM HTTPWeb Server (proxy) is not working

      http://XX.XX.XX.70/myFlexApp/

       

      Cross Domain Policy File as below

       

      <?xml version="1.0"?>
      <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
      <cross-domain-policy>
      <allow-access-from domain="*" secure="false"/>
      </cross-domain-policy>