webservice soap error

Hi,

Am facing an issue with SOAP, the function are listing thorugh


print_r($client->__getFunctions()); 

and when I trying to call


print_r($client->testWebService()); 

the errorr occured as internal server error.

The server error logs shows that ,

"Premature end of script headers:index.php"




public function actionIndex() {

ini_set ( 'soap.wsdl_cache_enable' , 0 ); 

ini_set ( 'soap.wsdl_cache_ttl' , 0 );




$client = new SoapClient( 'http://192.168.1.105/YiiProjects/Central/webservice/membernew/init');

print_r($client->__getFunctions());

print_r($client->testWebService());


}

[size="4"]fixed the issue with updated the php version, issue related to the [/size][size="4"]PHP Version 5.4.28 . [/size]