Beispiel #1
0
 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
Beispiel #2
0
 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);
     }
 }