资源简介
适用于大中小型企业、商场、酒店等,面向企事业单位开发的短信收发系统。
主要提供短信网关,短信接口, 网站接口以及 OA 、 CRM 、 ERP 、 SCM 、等系统及B2B大型网站平台使用。
接入方式可灵活使用,24小时发送,多条通道备用。保证客户短信的下发速度和质量

代码片段和文件信息
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using woxpcn;
using System.IO;
using System.xml;
using System.Text;
/*采用web Service接口实现短信收发
* 本程序适合网关版本v1.0开发
本演示代码由星幻科技提供.如有其它问题请与我们联系.
* 如果发送失败原因与通道有关.可能是由于某些原因导致通道关闭.请切换其它通道使用
* 短信通道发送出现延时比较长.建议切换通道发送.[任何短信网关都会出现短信延时.请谅解]
* -----------------------------------------------------------------
* 本演示代码由[星幻科技 www.woxp.cn]提供最新接口请登陆会员中心查看
* -----------------------------------------------------------------
*/
public partial class _Default : System.Web.UI.Page
{
private string g_uid = ““;//登陆账户
private string g_eid = ““;//企业ID代码
private string g_pwd = ““; //登陆密码.明文
private string g_gate_id = ““;//使用通道
protected void Page_Load(object sender EventArgs e)
{
this.Label1.Text = “当前余额:0.00“;
g_uid = this.h_uid.Value.ToString().Trim();
g_eid = this.h_eid.Value.ToString().Trim();
g_pwd = this.h_pwd.Value.ToString().Trim();
g_gate_id = this.h_gate_id.Value.ToString().Trim();
if (g_uid == ““ || g_eid == ““ || g_pwd == ““ || g_gate_id == ““)
{
Response.Write(“参数不全!“);
return;
}
}
protected void Button1_Click(object sender EventArgs e)
{
WebSMS wsm = new WebSMS();
if (wsm == null)
{
Response.Write(“ript>alert(‘网关初始化失败!‘);window.location=‘Default.aspx‘; ript>“);
return;
}
string strIdentity = wsm.GetIdentityMark(Int32.Parse(g_eid) g_uid g_pwdInt32.Parse(g_gate_id));
if (strIdentity == null || strIdentity == ““)
{
Response.Write(“ript>alert(‘获取标识串失败!‘);window.location=‘Default.aspx‘; ript>“);
return;
}
if (this.t_sendNo.Text.ToString().Trim() == ““ || this.t_sendMemo.Text.ToString().Trim() == ““)
{
Response.Write(“ript>alert(‘接收号码或者短信内容没有输入!‘);window.location=‘Default.aspx‘; ript>“);
return;
}
if (this.t_sendTime.Text.ToString().Trim() != ““)
{
DateTime dt;
if (!DateTime.TryParse(this.t_sendTime.Text.ToString().Trim() out dt))
{
Response.Write(“ript>alert(‘定时格式错误!‘);window.location=‘Default.aspx‘; ript>“);//51@aspx
return;
}
if (dt <= DateTime.Now)
{
Response.Write(“ript>alert(‘定时时间必须大于当前时间!‘);window.location=‘Default.aspx‘; ript>“);
return;
}
}
//快速发送.直接提交到运营商网关
SendResult status = wsm.FastSend(strIdentity this.t_sendNo.Text.ToString().Trim() this.t_sendMemo.Text.ToString().Trim() this.t_sendTime.Text.ToString().Tr
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 7500 2009-10-18 13:02 smsWebForm\api_files\index_03.gif
文件 378 2009-10-18 13:02 smsWebForm\api_files\index_06.gif
文件 1121 2009-10-18 13:02 smsWebForm\api_files\index_10.gif
文件 399 2009-10-18 13:02 smsWebForm\api_files\index_11.gif
文件 285 2009-10-18 13:02 smsWebForm\api_files\index_13.gif
文件 1147 2009-10-18 13:02 smsWebForm\api_files\index_16.gif
文件 8741 2009-10-18 16:12 smsWebForm\api_files\sfs.css
文件 1932 2009-10-18 13:02 smsWebForm\api_files\showtab.js
文件 733 2008-11-26 09:21 smsWebForm\App_WebReferences\woxpcn\WebSMS.disco
文件 594 2008-11-26 09:21 smsWebForm\App_WebReferences\woxpcn\WebSMS.discomap
文件 32672 2008-11-26 09:21 smsWebForm\App_WebReferences\woxpcn\WebSMS.wsdl
文件 5076 2009-10-18 15:55 smsWebForm\Default.aspx
文件 6625 2009-10-26 10:15 smsWebForm\Default.aspx.cs
文件 4945 2007-07-18 09:38 smsWebForm\from.gif
文件 1655 2008-11-26 09:19 smsWebForm\Web.Config
文件 1575 2009-10-26 10:14 smsWebForm\WebForm.sln
..A..H. 8192 2009-10-26 10:21 smsWebForm\WebForm.suo
目录 0 2009-06-01 22:27 smsWebForm\App_WebReferences\woxpcn
目录 0 2009-10-26 10:16 smsWebForm\api_files
目录 0 2008-06-11 10:53 smsWebForm\App_Data
目录 0 2009-06-01 22:27 smsWebForm\App_WebReferences
目录 0 2009-10-27 08:50 smsWebForm
----------- --------- ---------- ----- ----
83570 22
相关资源
- 云平台-阿里云详细介绍
- 家校通
- GPRS(MC35型号)的发送短信程序
- 短信测试软件
- 单片机AT89s52控制GSM模块TC35i发短信,
- 手机短信api接口(源代码)
- 创龙C66x平台GigE工业相机图像采集案例
- 通用数据传输平台GTP
- 建立在Sun平台上的高性能计算基础设
- 360态势感知与安全运营平台产品技术
- Cisco ONS 15600 多服务交换平台
- 利用ASON构建可运营的流媒体网络平台
- 海洋平台水上监测集成系统设计
- Oxford Industries 采用 Microsoft.NET 平台实
- 广东核电大亚湾数据中心统一存储平
- 嵌入式智能平台为城市一卡通打造智
- 研祥“EVOC”嵌入式智能平台在
- SAC型液压支架控制器检测平台的设计
- 曙光TC2600:打出教育科研平台高效能
- 图行天下LBS系统在Sun平台上的成功应
- 东大金智身份认证系统在Sun平台上的
- 根鑫证券集中交易系统在Sun平台上的
- 建立在Sun平台上的格林威治大学校园
- 神州数码协同管理平台
- 平台革命:改变世界的商业模式
- 中油财务采用Sun ONE搭建电子商务平台
- Sun ONE架构在IATA电子政务平台中的应用
- Sun 整合平台助力欧洲大型石油公司节
- 建立在Sun平台上的分层式存储管理系
- 2018双十一阿里供应链服务平台讲座
评论
共有 条评论