Flex2 and SabreAMF article on Adobe Dev Center
November 6th, 2006
I am excited to announce the release of an article on Adobe’s Dev Center, “Using Flex 2 RemoteObject and SabreAMF”.
I would like to thank Amy Wong, Adobe editor, and Evert Pot, developer of SabreAMF, for all the help making this article happen.
Entry Filed under: Adobe Flex, Flex,AMF,PHP, PHP, Rich Internet Applications



4 Comments Add your own
1. luchyx | 2006-11-07 at 2.24 pm
Excellent renaun.!
Nice to see you on Adobe. ;)
Good article to getting started with sabreAMF.
Best
2. Michał Małaj | 2006-11-20 at 2.50 pm
I tried your code on this article on Windows.
I noticed that code in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\sabreamf\services\com\renaun\samples\services\UserService.php
has wrong include
include_once( "com/renaun/samples/vo/UserVO.php" );
I change it
include_once( "C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\sabreamf\\services\\com\\renaun\\samples\\vo\\UserVO.php" );
When I compile your file simple_sabreamf.mxml
then I have compiled files with information about fault
RPC Fault: Could not locate class com.renaun.samples.services. UserService
Whot I do in this situation?
Probably an error is in
source=”com.renaun.samples.services.UserService”
because PHP on Windows don`t understand this path
I`m afraid of code in file DataServicesServer.php is valid for Linux not Windows
Who help me fix it?
3. Renaun Erickson | 2006-11-20 at 3.15 pm
These examples where tested on Windows and Linux using Apache and PHP. There is something in your web server configuration that is not allowing it to find the correct path.
The RPC fault would have to do something with the SabreAMF setup and proper configuration of the services folder under the folder in the webroot.
source=”com.renaun.samples.services.UserService” is a valid path that SabreAMF knows how to translate to the proper location of the UserService.php file.
Send me an email off line at renaun at renaun dot com with more details about your sabreamf and PHP installation and where the PHP files from the sample are located.
4. Daniel Summers | 2007-09-10 at 11.51 am
Also having the same problem as Renaun - was there a solution / common culprit?
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed