/** * Init Soap client - connect to SOAP service * * @param string $endpoint * @throws Zend_Service_LiveDocx_Exception * @return void * @since LiveDocx 1.2 */ protected function _initSoapClient($endpoint) { try { #require_once 'Zend/Soap/Client.php'; $this->_soapClient = new Zend_Soap_Client(); $this->_soapClient->setWsdl($endpoint); } catch (Zend_Soap_Client_Exception $e) { #require_once 'Zend/Service/LiveDocx/Exception.php'; throw new Zend_Service_LiveDocx_Exception('Cannot connect to LiveDocx service at ' . $endpoint, 0, $e); } }