On the Web Service doc page, second example, the Post model is shown as:
class Post extends CActiveRecord {
/**
* @var integer post ID
* @soap
*/
public $id;
/**
* @var string post title
* @soap
*/
public $title;
}
I suggest adding the following mandatory line:
public static function model($className=__CLASS__) {
return parent::model($className);
}
I just got tripped up with this. Although it was useful learning how to debug SOAP in Yii.