Follow the instruction given below to create a client application that can send an SMS 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 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 provided by this website. For example, you can find out weather of a city in a country, check the validity of an email address etc.