public async Task <string> Login(string domain, string repository, string login, string password) { Dispose(); string result = await executor.ExecuteRequest(InformaticaWebRequestsTemplates.GetLoginTemplate(domain, repository, login, password)); string sessionId = ValuesSoapXml.GetValueOnElement(result, "SessionId"); _sessionId = sessionId; return(sessionId); }
public async Task Logout(string sessionId) { await executor.ExecuteRequest(InformaticaWebRequestsTemplates.GetLogoutTemplate(sessionId)); }
public async Task <string> GetSessionLog(string sessionId, string folderName, string workflowName, string taskInstancePath, int timeout = 60) { var result = await executor.ExecuteRequest(InformaticaWebRequestsTemplates.GetSessionLogTemplate(sessionId, folderName, workflowName, taskInstancePath, _serviceInfo, timeout)); return(ValuesSoapXml.GetValueOnElement(result, "Buffer")); }