private async Task LoginAsync(ETeamSettings settings) { LoginRequest loginRequest = new LoginRequest(settings.Username, settings.Password); string soapRequest = loginRequest.CreateSoapRequest(); try { string soapResponse = await _client.LoginAsync(soapRequest); LoginResponse loginResponse = new LoginResponse(); loginResponse.LoadFromXml(soapResponse); } catch (ApiException exception) { throw new SoapFaultException(exception); } }