I'm trying to figure out how WCF services work, and am trying to follow some work that was half done.
A web service was already written, and I successfully called it into a Windows forms application. This application should validate banking details.
The code behind the validate button is here:
private void button1_Click(object sender, EventArgs e)
var proxy = new bnk.BankingClient("BasicHttpBinding_IBanking");
var result = new bnk.CDVResult();
//result = proxy.Validate(0987654, 1, 2000001, "A Person");
//result = proxy.Validate(0323453, 6, 2000002, "S Smith");
//Bank details invalid
result = proxy.Validate(0121245, 1, 200003, "T Mark");
What do I need to do in order to get the result to actually produce a result on the screen? What am I missing?