如何使用wcf服务发送移动文本消息? [英] how to send Mobile text Message using wcf services ?

查看:68
本文介绍了如何使用wcf服务发送移动文本消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用wcf服务和C#发送短信。

但是没有想法如何开发此代码......?

任何人都可以帮助我......

所以plz help

I'm trying to send text message using wcf services and C# .
but no Idea how to develop this code ......?
anybody can help me....
so plz help

推荐答案

发送短信取决于你用来发送文字的API或硬件消息。例如,有Texting API提供谁给Web服务或REST api发送短信,你需要购买他们的服务并获得他们的API访问权限。有时这些API提供程序可能有针对特定语言(如php,c#等)编写的示例项目。您可以参考并实现自己的应用程序。

这里没有与WCF有关的特殊要求。只有你需要了解的是wcf服务需要有接受文本消息数据的方法(如手机号码和消息内容),并执行文本消息API调用或你自己的方法。
Sending text message is depend on the API or hardware which you use to send text messages. for example there are Texting API provides who giving web service or REST api to send sms messages, you need to buy their service and get access to their API. sometimes those API providers may have sample projects written for specific languages like php, c# etc.. which you can refer and implement your own application.
There is nothing special related to WCF here with your requirement. Only thing you need to understand is wcf service need to have method which accept text message data( like mobile number and message content) and execute text message API call or your own method.


这篇关于如何使用wcf服务发送移动文本消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆