Exemplo n.º 1
0
 static void Main(string[] args)
 {
     ServiceReference1.Service1SoapClient client = new ServiceReference1.Service1SoapClient();
     Console.WriteLine(client.HelloWorld());
 }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            ServiceReference1.Service1SoapClient service = new ServiceReference1.Service1SoapClient();

            MessageBox.Show(service.HelloWorld());
        }