Hi.
I defined a webservice following the guide and everything works fine for 4 methods, when I add the fifth I cannot seem to use it!
The declaration is the same as the working ones
class GAWebserviceController extends CController
{
public function actions()
{
return array(
'index'=>array('class'=>'CWebServiceAction',),
);
}
/**
* Verifica la validita' delle credenziali fornite
*
* @param string Login hotspot
* @param string Password hotspot
* @param string Codice prepagata
* @param string Password prepagata
* @return array OK se credenziali valide
* @soap
*/
public function checkCredenziali($u, $p, $utente, $password)
{
return array (
'result'=>'TEST',
);
}
[...]
some other methods
[...]
/**
* @param string Login hotspot
* @return string OK
* @soap
*/
public function test($u)
{
return "CIAO";
}
}
when I try to consume the "test" function I get:
SoapFault exception: [Client] Function ("test") is not a valid method for this service in protected/commands/YserverCommand.php:58
anyone knows why? thanks