public function setAsActive()
    {
        if ( ! $this->exists() ) {
            throw new FileExistException('Remote template does not exist');
        }

        try {
            $this->getSoapClient()->SetRemoteTemplate(['filename' => $this->getName() ]);
            $this->isActive = true;

            return $this;
        } catch ( SoapException $ex ) {
            throw new ActiveException('Error while setting the remote template as the active template' , $ex);
        }
    }