WebServices not work

I created WebServices exactly such as in "The Definite Guide to Yii" and when I try call a method in server I get error

Server:




class TestWSController extends CController

{

    public function actions()

    {

        return array(

            'quote'=>array(

                'class'=>'CWebServiceAction',

            ),

        );

    }


    /**

     * 

     * @return str

     * @soap

     */

    public function test(){

    	return 'test ok';

    }

}



Client:




$client = new SoapClient('http://192.168.1.2/SRPSP/index.php/testWS/quote');

		

		$val = $client->test();

		echo "WS: $val";



Client and server are in local network.

I use Win7 / apache 2.2/ php 5.2.13 / yii 1.1.4

??

The problem has solved.

On php server I change default_socket_timeout=0 to default_socket_timeout=5 and now it works :)

Got the same error, but it caused by basic access authentication on the server.

The same error is described in this topic.

Yuga