How to develop SMS applications using Delphi and Web Services:
When it comes to application development based on Web Services technology, the first development tool that most people think of is Vs.net. In fact, as the leader of rapid application development tools (RAD), Delphi has supported the development and application of Web Services since 6.0. This article Using Delphi 7.0 to call Sina's Web Service for sending SMS messages to develop SMS applications. This example introduces in detail how to develop an application system based on Web Services in Delphi.
The first step is to prepare and understand Sina SMS Web Service. Sina's Web Service address for sending text messages is http://smsinter.sina.com.cn/ws/smswebservice0101.wsdl. This Web Service has only one method, string sendXml(carrier,userid,password,mobilenumber,content,msgtype) . All parameters are of string type, and their meanings are basically as follows (may be incorrect).
Carrier: Carrier name. It seems that you can enter it casually. It is recommended to enter Sina. If you enter other values, the message will be sent very slowly;
Userid: Your mobile phone ID registered on Sina Wireless. If you have not registered your mobile phone on http://sms.sina.com.cn, you cannot use this Web Service to send text messages;
Password: the password you used when registering your phone on Sina Wireless;
Mobilenumber: the other party’s mobile phone number;
Content: the content of the short message sent;
Msgtype: The type of sending short messages. I think it supports MMS, but I don’t know how to use it. It seems that you can enter anything you want. I use Text.
Please refer to the relevant instructions on the Sina Wireless website for the tariff standard. It should be one dime per line, but it may also be two dimes per line. The specifics are not clear. Since the message queue mechanism may be used in the background, there may be a long delay during busy times.