Jan 05
Problem: When you try to call 2 or more services at the same time, it's possible that AMFPHP will return an error saying that the class of the service you're using is not known to the gateway.
no class named yourService is known to the gateway
Solution: Check the setBaseClassPath() method in your gateway.php file. It should use and absolute path instead of a relative path. You can change it like this.
PHP:
-
//before
-
$gateway->setBaseClassPath("./services/");
-
-
//after
After this change you should be able to call 2 or more services at the same time.
Add to Bloglines - Digg This! - del.icio.us - Stumble It! - Twit This! - Technorati links - Share on Facebook - Feedburner
Christophe Herreman is a software developer living in Belgium. He's working on high-end Flex and AIR solutions at
Recent Comments