def __GetServiceVersionDescription(protocol, server, port, path, sslContext):
 tree = __GetElementTree(protocol, server, port, (path + '/vimServiceVersions.xml'), sslContext)
 if (tree is not None):
  return tree
 tree = __GetElementTree(protocol, server, port, (path + '/vimService.wsdl'), sslContext)
 return tree

def __GetServiceVersionDescription ( protocol , server , port , path , sslContext ) : tree = __GetElementTree ( protocol , server , port , ( path + '/vimServiceVersions.xml' ) , sslContext ) if ( tree is not None ) : return tree tree = __GetElementTree ( protocol , server , port , ( path + '/vimService.wsdl' ) , sslContext ) return tree
private method that returns a root from an elementtree describing the api versions supported by the specified server .