public EnvianceAccess() { try { config = AppConfiguration.Current; authService = new AuthService(); authService.Url = config.EnvianceAuthenticationServiceURL; dataService = new EnvianceDataSubmissionService.DataService(); dataService.Url = config.EnvianceDataServiceURL; treeService = new TreeService(); treeService.Url = config.EnvianceTreeServiceURL; Authenticate(); } catch (Exception e) { throw new Exception(e.Message); } }
public EnvianceServices() { config = AppConfiguration.Current; }