复制代码 代码如下: <?php class MyFramework_Soap_server extends Zend_Soap_Server { protected $_login = ”; protected $_password = ”; public function __construct($wsdl = null, array $options = null) { parent::__construct($wsdl,$options); if(isset($options[‘login’])){ $this->_login=$options[‘login’]; $this->