static void Main(string[] args) { localhost.Service1 svc = new HelloWorldESMHttpModTester.localhost.Service1(); svc.Url = @"http://localhost:55801/Service1.asmx"; try { Console.Out.WriteLine( svc.HelloWorld()); } catch (Exception ex) { Console.Out.WriteLine(ex.Message); } } // end Main
static void Main(string[] args) { localhost.Service1 svc = new HelloWorldESMHttpModTester.localhost.Service1(); svc.Url = @"http://localhost:55801/Service1.asmx"; try { Console.Out.WriteLine( svc.HelloWorld()); } catch (Exception ex) { Console.Out.WriteLine(ex.Message); } }