bonjour,
j'ai connecté mon application flex au service php,
mais quand j'ai essayé de tester la fonction qui existe dans la classe du fichier php, il me signal cette erreur :
voici le contenu de ma classe
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 InvocationTargetException:There was an error while invoking the operation. Check your server settings and try invoking the operation again. Reason: Server error Class "MonServicePHP" does not exist: Plugin by name 'MonServicePHP' was not found in the registry; used paths: : C:/wamp/www/ #0 C:\wamp\www\ZendFramework\library\Zend\Amf\Server.php(553): Zend_Amf_Server->_dispatch('showMessage', Array, 'MonServicePHP') #1 C:\wamp\www\ZendFramework\library\Zend\Amf\Server.php(629): Zend_Amf_Server->_handle(Object(Zend_Amf_Request_Http)) #2 C:\wamp\www\gateway.php(69): Zend_Amf_Server->handle() #3 {main}
D:\projects\web\servicephp\services\MonServicePHP.php:
output folder de l'application flex : D:\projects\web\servicephp\myOutput\
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 <?php class MonServicePHP { public function showMessage ($message) { return $message; } } ?>
comment ce fait-t-il qu'il trouve la classe(puisqu'il l'affiche mais il la trouve pas (quand j'essaye de tester) ??
Partager