Esempio n. 1
0
        private static void Main()
        {
            Console.WriteLine("Client - wait for services");
            Console.ReadLine();
            var service = new DemoServiceClient();

            Console.WriteLine(service.GetData("HelloB"));
            Console.ReadLine();
        }
Esempio n. 2
0
        private static void Main(string[] args)
        {
            var client    = new DemoServiceClient();
            var data      = client.GetData(125);
            var composite = new CompositeType()
            {
                BoolValue = true
            };

            var type = client.GetDataUsingDataContract(composite);
        }