Joke Collection Website - Public benefit messages - ASP.NET realizes mobile phone to send short message sinamessage. smswsendmessage = new sinamessage. smswws (); Missing reference
ASP.NET realizes mobile phone to send short message sinamessage. smswsendmessage = new sinamessage. smswws (); Missing reference
Right-click references > add service reference
Enter:/ws/SMS webservice0101.wsdl in the address box, and then click Go (the following namespace name defaults to ServiceReference 1).
You will see the content displayed in the white box of the service.
Click OK and wait for a while, thus adding a service reference.
Note that the calling method is different.
Reference the previous namespace.
Use? SendMsg。 servicereference 1;
Protected void btnSend_Click (object sender, EventArgs e)
{
SMSWebServiceSoapPortClient send msg = newsmwebservicesoapportclient();
SendMsg? . sendXml("Sina ",this.txtUserid.Text,this.txtPassword.Text,this.txtMobilenumber.Text,this.txtContent.Text," new ");
}
I hope I can help you. If you are satisfied, please accept it.
- Previous article:IPhone 5c cannot send SMS urgently.
- Next article:Charging monsters is really disgusting.
- Related articles
- What is the entrance of official website, Shandong Province?
- Love of permanent short message discourse
- CCB temporarily raised the quota several times, but this time it refused to switch to manual audit without seconds. What does that mean?
- On November 1, Changsha City Disease Control and Prevention issued an epidemic prevention reminder (Changsha CDC issued an epidemic prevention reminder)
- My best friend's mother wants to send a message to wish her something on her birthday.
- What do you mean by "package and fixed fee" in China Mobile's bill query? Why is it different every month?
- Does the rookie post station earn money for 1000 a day?
- How much does it cost to open the SMS reminder service of postal savings bank card?
- Why can't I receive the network verification code?
- Urgent for the Dragon Boat Festival to send a blessing message to government leaders.