cristallium commented on issue #1064:
URL: https://github.com/apache/royale-asjs/issues/1064#issuecomment-766784945


   Hi,
   
   Yes, I succefully used Remote object with AMFPHP (see this post : 
[https://stackoverflow.com/questions/58241175/how-to-use-amfphp-with-apache-royale](https://stackoverflow.com/questions/58241175/how-to-use-amfphp-with-apache-royale))
 .
   
   I also tried it with an old Fluorine (.NET). It is working
   
   I'm not sure that  XML config file - services-config.xml is supported in 
ApacheRoyale. The best is to set it in AS3 code.
   
   If you use `registerClassAlias("YOUR_CLASS", ApacheRoyale_Class);` you must 
put this line everytime before calling service. (In FlexAir, put it on Class 
scope worked, but in Royale, it seem to have only a local fonction scope)
   
   Be careful with CORS.
   
   I'm not sure your endpoint is OK. Calling 
https://www.mywebsite.com/services/gateway.php via web doesn't show amfphp  
message: "amfphp and this gateway are installed correctly"
   
   If it can help, here is my class code to access Php or Fluorine services :
   
[ServiceCaller.txt](https://github.com/apache/royale-asjs/files/5866471/ServiceCaller.txt)
   
   If you have issues, feel free to post screenshoot of network packets (from 
dev tools in web navigator)
   
   Regards
   
   
   
   
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to