예제 #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
예제 #2
0
파일: Program.cs 프로젝트: mil-oss/fgsms
 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);
     }
 }