コード例 #1
0
        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);
        }
コード例 #2
0
 public async Task Logout(string sessionId)
 {
     await executor.ExecuteRequest(InformaticaWebRequestsTemplates.GetLogoutTemplate(sessionId));
 }
コード例 #3
0
        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"));
        }