private void button1_Click(object sender, EventArgs e) { HarryPotterBooksSoapClient client = new HarryPotterBooksSoapClient(); lblResult.Text = client.BookName(textBox1.Text); }