1/11/2011 10:53:40 PM
Title:
Reply early ,About AMFPHP and flex Remote object
Hello I am new to flex.
I am using amfphp with remote object in flex
Whenever i give a path "http://localhost/../gateway.php " to endpoint property of rem object then it will forkm fine.
Now I copy amfphp folder to server and when i try to access the gateway.php from sever by giving its ip address like http://serverip/../gateway.php
I am not able to access the services
PLEASE HELP ME ,
i need to show demo to client.
1/11/2011 11:50:51 PM
It seems security issue.Place crossdomain policy file in your website root and permit all the websites or your server ip to access service.
1/12/2011 5:50:48 AM
guy if u are using flash debug player then it will through security exception when calling a external page i.e webservice or httpservice. Which means simply you need to place a policy xml file to permit service to be accessed from flash file.
But the best practice is to always use exception handlers while making external calls.