static void Main(string[] args)
        {
            // for debugging purposes
            1.Delay();

            var proxy = new ChannelFactory<IService>("*").CreateChannel();

            try
            {
                Console.WriteLine("Total: 4000");
                proxy.PlaceOrder(new Order() { Total = 4000 });
                Console.WriteLine("OK");

                Console.WriteLine("Total: 6000");
                proxy.PlaceOrder(new Order() { Total = 6000 });
                Console.WriteLine("OK");
            }
            catch (SecurityAccessDeniedException)
            {
                Console.WriteLine("Access Denied");
            }
        }