Hi,
i’ve successfully implemented simple webservice, based on this link:
yiiframework.ru/doc/guide/en/topics.webservice.
It works fine!
However, i use config/main.php in order to have nice urls:
'urlManager'=>array(
'urlFormat'=>'path',
'showScriptName'=>false,
// 'urlSuffix'=>'.html',
'rules'=>array(
'<controller:\w+>/<id:\d+>'=>'<controller>/view',
'<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>',
'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
And the problem is, that after this “url configuration” my webservice stops working
When i use client, like this:
$client = new SoapClient('path/contoler/quote', array('trace' => 1));
echo $client->getPrice('GOOGLE');
it doesn’t work. i’ve got Maximum execution time error.
I’ tried use ‘serviceUrl’=>‘myurl’, but a few possibilities doesn’t make it works.
Can anybody help me a little bit?
Thanks in advance…