Hi,
Trying to run CWebservice action from a controller
Here is what i tried to do
Controller:
public function actions(){
return array(
'soap' => array(
'class' => 'application.actions.Test'
));
}
action:
class Test extends CWebServiceAction
{
/**
* @return string
* @soap
*/
public function test(){
$a = "test runninggg";
return $a;
}
}
it’s not giving me a soap envelope
thank you for your help…