public WebService(Uri uri, string user, string password) { restService = new RestService(); try { restService.Connect(uri, user, password); } catch (Exception) { Console.WriteLine("Unable to contact services"); } }