Follow the instruction given below to create a client application that can send an SMS message to any mobile phone in India using a web service.
http://www.webservicex.net/SendSMS.asmx?wsdl
Once the above process is through, VS.NET creates a proxy for the given web service. Follow the steps given below to create a web form that takes required input - mobile number and message, and send SMS using the proxy for the web service.
protected void Button1_Click(object sender, EventArgs e)
{
webservicex.SendSMS s = new webservicex.SendSMS(); // create object of proxy
s.SendSMSToIndia(TextBox1.Text,"srikanthpragada@yahoo.com", TextBox2.Text); // send message.
Label1.Text = "Message Sent Successfully!";
}
There are some more interesting web services provide by this website. For example, you can find out weather for a city in a country, check the validity of an email address etc.
If you find any other interesting web services of this kind, please share the information with me. Have anything to say about this blog, please provide your opinion using Feedback Form . Srikanth.