示例#1
0
        protected void saludar(Object sender, EventArgs e)
        {
            String nombre = txt1.Text;

            ServiceReference.WebS1SoapClient wbServiceCliente =
                new ServiceReference.WebS1SoapClient();
            lb3.Text = wbServiceCliente.saludo(nombre);
        }
示例#2
0
 protected void helloWord(Object sender, EventArgs e)
 {
     ServiceReference.WebS1SoapClient wbServiceCliente =
         new ServiceReference.WebS1SoapClient();
     lb1.Text = wbServiceCliente.HelloWorld();
 }
示例#3
0
 protected void obtenerFecha(Object sender, EventArgs e)
 {
     ServiceReference.WebS1SoapClient wbServiceCliente =
         new ServiceReference.WebS1SoapClient();
     lb2.Text = wbServiceCliente.obtainDate();
 }