2 Replies Latest reply on Oct 1, 2009 10:00 AM by RedJuly

    Loading Policy File with Auto Generated WSDL Code

    RedJuly

      I'm trying to connect my flex application with some webservices hosted on tomcat.  The owner of the web services put their crossdomain.xml file off the root directory (ex: http://www.example.com/webservice/crossdomain.xml).  I found the Security.loadPolicyFile() function that should let me access the xml file in the custom location, but my app uses the auto generated code from flex builder web service manager.  I couldn't find any examples online of where to put loadPolicyFile in the nested objects that flex creates or if there was a way to set this in the root mxml file.

       

      Any help or pointers would be appreciated.