I have an old Webservice (.asmx) created long ago. I want to use it in a vs2013 c# winforms app.
In the old days, I added a webreference ie "TheService" and an proxy object was created and added and a just used it myApp.TheService
The old Code:
private ADStudent GetStudentWebService()
{
AdStudent.ADStudent ws = new AdStudent.ADStudent();
ws.Url = comboBox_WebServiceUrl.SelectedItem.ToString();
return ws;
}
In 2013 I added a service reference, but no proxy object was created, so how do I call methods on the service, I can find examples of calling a wcf data service, but not an old school Soap (.asmx) webserivce.
Is there example code anywhere?