Hi All
I have developed a little flex application which does some web service calls, retrieves some data and returns the data to the application.
Everything works fine as long as I am working inside Flex Builder (eclipse) or as long as I run it from the ProjectName\bin-debug.
Once I try to deploy it (run it from ProjectName\bin-release or on a web server) it stops working and I get an error stating: - Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://127.0.0.1/TimeSheet/TimeSheets.wsdl)
I have created a cross domain file which I think is correct and placed it in the root folder of IIS C:\inetpub\wwwroot (I have also just to be safe copied the file to C:\inetpub and C:\inetpub\wwwroot\TimeSheet)
<?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="*"/>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="*" secure="false"/>
<allow-http-request-headers-from domain="*"/>
</cross-domain-policy>
I have also after reading the internet tried modifying the compilation properties Project -> Properties -> Flex Compiler by changing the -use-network= property to both true and false and the -debug property.
I believe that if I can get the bin-release working then it will all work.
What is the difference?