Exemplo n.º 1
0
 static void Main(string[] args)
 {
     HelloWorldServiceRef.HelloWorldServiceClient client =
         new HelloWorldServiceRef.HelloWorldServiceClient();
     Console.WriteLine(client.GetMessage("Mike Liu"));
 }
Exemplo n.º 2
0
 static void Main(string[] args)
 {
     HelloWorldServiceRef.HelloWorldServiceClient client = new HelloWorldServiceRef.HelloWorldServiceClient("NetTcpBinding_IHelloWorldService");
     Console.WriteLine(client.GetMessage("ABA DABA DU"));
     Console.ReadLine();
 }