Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            // http://localhost:8080/HelloWcfService/mex
            SignServiceClient client =
                new SignServiceClient("BasicHttpBinding_ISignService");

            SignModel model = new SignModel();

            model.Email    = "*****@*****.**";
            model.Password = "******";

            var r = client.SignIn(model);

            Console.WriteLine(r);
        }
Ejemplo n.º 2
0
        public static void Main(string[] args)
        {
            client    = new SignServiceClient();
            writetext = new StreamWriter("log.txt");
            writeToFile("Application started");

            foreach (String test in tests)
            {
                performTest(test);
            }

            writeToFile("\nApplication ended, all logs recorded in log.txt");
            writetext.Close();
            client.Close();
            String filePath = Console.ReadLine();
        }