Esempio n. 1
0
        static void Main()
        {
            Settings settings = new Settings().SetDefaults(s_hostname);

            void log(string value) => Console.WriteLine(value);

            ClientLogic.CallUsingWcf(settings, log);

            string rawSoapResponse = ClientLogic.CallUsingWebRequest(settings.basicHttpAddress);

            Console.WriteLine($"Http SOAP Response:\n{rawSoapResponse}");

            Console.WriteLine("Hit enter to exit");
            Console.ReadLine();
        }