I am testing a messaging web service, in which I created a windows form app. Added the service reference, and now try to use a method from it. But has troubles in calling it.
The reference class is something like this:
namespace WindowsFormsApp1.ServiceReference1 {
...
public interface SendWebServiceSoap {
WindowsFormsApp1.ServiceReference1.SendSMS_SingleResponse SendSMS_Single(WindowsFormsApp1.ServiceReference1.SendSMS_SingleRequest request);
...
}
}
In which the SendSMS_Single is in the SendWebServiceSoap interface. In my Form.cs I used something like ServiceReference1.SendSMS_Single but did not work. How should I call it?