Closed (won't fix)
Project:
AMFPHP
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Oct 2008 at 08:49 UTC
Updated:
15 Feb 2009 at 01:30 UTC
We planned to follow a classic pattern in naming our functions since we plan to have a bunch of them with something like:
namespace.object.method
When you try to access such a method with the AMFPHP driver, it cuts the namespace value and try to invoke object.method instead, which lead to an undefined method error.
(using xmlrpc driver works fine since they kinda use the method names as a key, while amfphp is *trying* to load the corresponding php file namespace/object.php)
Since i didn't find any precise documentation on that, is there a way to follow our convention, without just removing the namespace element ?
Guess i am missing something....
Comments
Comment #1
snelson commentedI was able to get a test working locally by doing this for a service called "test.service.ping".
* My remote object source is "test" with id "test"
* I call the service by doing: test.getOperation('service.ping').send();
This works as expected. If you are trying to accomplish this another way, please post.
Thanks,
Scott