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

snelson’s picture

Category: bug » feature
Status: Active » Closed (won't fix)

I 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