def connect(self):
try:
self.__client = SoapClient(self.__url + "/xmds.php?WSDL&v=" + str(self.__ver))
except exceptions.IOError, err:
log.error(err)
self.__client = None
return self.__client is not None