private static void ForgotPass(ServiceReference2.StaticClient client) { var user = new User(); // user.UserName = "******"; user.Email = "*****@*****.**"; var forgot = client.ForgotPassword(user); }