Yii Framework Forum: CWebServiceAction and soapserver persistance problems - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

CWebServiceAction and soapserver persistance problems Rate Topic: -----

#1 User is offline   Urga 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 21-June 10

Posted 01 September 2010 - 03:41 AM

hi folks,

im using CWebServiceAction as described here: http://yiiframework....pics.webservice

and it works pretty well so far.

but when i set persistence via
public function actions() {
		return array(
			'api'=>array(
				'class'=>'CWebServiceAction',
				'serviceOptions' => array ('persistence' => SOAP_PERSISTENCE_REQUEST), //  SOAP_PERSISTENCE_SESSION),


the soapserver initialization crashes in CWebservice::run()
			
if($this->persistence!==null)
  $server->setPersistence($this->persistence);
// code here is not executed anymore
// even not the code following the catch statement.

when calling a function from the soapclient.

what i tried so far:
* calling $server->setObject($provider); before the setPersistence()
* moving session_start(); from CHttpSession::open() into CWebservice::run() (btw. session_start is called at least 4 times)

anyone got any idea?
PHP 5.3.1 (cli) (built: Nov 20 2009 17:26:32)
yii-1.1.3
0

#2 User is offline   Urga 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 21-June 10

Posted 07 September 2010 - 04:03 AM

problem persists with 1.1.4 ...
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users