public function setWebservice($alias, $webservice)
    {
        $connection = $this->getConnection();
        if (!$connection) {
            throw new UnexpectedDriverException(__('No driver has been defined for this endpoint'));
        }

        $connection->setWebservice($alias, $webservice);
        $this->_webservice = $connection->getWebservice($alias);

        return $this;
    }