c# sms using web services
-
vendredi 8 avril 2011 10:32
Hi All,
I want to develop for sending SMS using Asp.net with C#.net.
please help Me.
Thanks in advance.
Regards
Abdhesh
Toutes les réponses
-
vendredi 8 avril 2011 13:31
HI
what exactly ur requirement ,,
I think you r in wrong place .
-
vendredi 8 avril 2011 21:24
There is no SMS support in .Net. You need to talk to the people who support them, the telecom carriers, to see what kind of API they offer. The carriers would likely offer different APIs and may or may not choose web service as the communication protocol of the API.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP -
mardi 12 avril 2011 09:20
There are many way you can send SMS from C#.
If it is for commercial use you just google and seelct a sms provider bassed on cost and uses. Provider will give you API or a web service with sample code on how to use to send SMS.
If it is just for a POC or fun best approach is to use some free web service or caling a web page with query string.
If you know how to consume .net .asmx web service you can use below web service
http://www.aswinanand.com/sendsms.php?wsdl
Step 1: Add Web Reference :
http://www.aswinanand.com/sendsms.php?wsdlStep 2: Create a Object "SendWay2Sms smsobj = new SendWay2Sms();"
Step 3:
string strResult = smsobj.sendSmsSpiritsSoft("UserName", "Password", "Number", "message");
strResult : Recieving the Result from WebserviceNB: You need to create a user name and password in www.way2sms.com and pass on Step2.
Lingaraj Mishra -
mardi 12 avril 2011 13:43
Ok
I will try and confirm to you.
Regards
Abdhesh
Abdhesh Kr. Mishra Software Developer(.Net(C#, ASP.Net, SQL, Java Script)) Information Technology -
vendredi 15 avril 2011 03:19ModérateurHow can anyone possibly help you when you refuse to say what's wrong? "not working this" is not a description of a problem.
John Saunders
WCF is Web Services. They are not two separate things.
Use WCF for All New Web Service Development, instead of legacy ASMX or obsolete WSE
Use File->New Project to create Web Service Projects -
vendredi 15 avril 2011 05:58
Hi all,
My problem is all code run proper but not receive any message after complete all process.
Abdhesh Kr. Mishra Software Developer(.Net(C#, ASP.Net, SQL, Java Script)) Information Technology -
vendredi 15 avril 2011 06:13Contact the MMS API provider to check the status of your message.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP -
vendredi 15 avril 2011 14:08ModérateurYou should also use a tool like Fiddler to watch the network traffic between you and the MMS provider. This may tell you what the problem is.
John Saunders
WCF is Web Services. They are not two separate things.
Use WCF for All New Web Service Development, instead of legacy ASMX or obsolete WSE
Use File->New Project to create Web Service Projects -
mardi 26 avril 2011 09:17
Hello,
1)first you need to gave a path to receive the message Like http://198.25.36.2/Services/Admin/cinema.ashx?sms=here comes the sms
&Mobile=9744667684 like that the provider will send u the message in this format.....
2)second for sending the sms Provider will gave you one path like
http://XXXXXXXX.com/hhhhhhh.aspx?USERID=XXXXX&PASSWORD=XXXXXX&SENDERID=XXXXXX&TO={0}&MESSAGE={1}";
in that {0}=Whom You want to send ,And {1}=the sms you need to send
Good Judgment Comes From Experience, And Experience Comes From Bad Judgment
-
dimanche 11 mars 2012 09:30I got a website where you can read and send hindi sms ...(hindi and english font)
www.hindismsinhindi.com

