Jason's blog
We have so many needs in our life, but at the end of the day, all we need is...to be needed.
发现一些web资源,留下来,将来备查,现在还少,就不分类了。待将来多了再做分类
1、国内的web服务资源,有不少好资源
    http://www.webxml.com.cn/zh_cn/index.aspx
2、Twitter的资源搜索,(留着吧,不知道有没有用)
3、国外的web服务资源
4、新浪短信服务

该Web Service就只有一个方法,即string sendXml(carrier,userid,password,mobilenumber,content,msgtype)。各个参数全部为string类型,其含义基本如下(可能不正确)。

  • carrier:运营商名称,这里面可以随便输,不过似乎没有任何显示,不知道里面有没有其它奥秘。
  • userid:您在新浪无线上注册的手机ID,即http://sms.sina.com.cn
  • password:您在新浪无线上注册手机时所使用的密码。
  • mobilenumber:对方的手机号码;
  • content:发送短消息的内容;
  • msgtype:发送短消息的类型,估计支持彩信,不过我目前仅使用文本短信方式,似乎随便输什么都可以,我使用的是“Text”。

示例如下:

Sina.SMSWS ws = new Sina.SMSWS();
   string result = ws.sendXml(“Sina”,textBox1.Text,textBox2.Text,textBox3.Text,textBox4.Text,”new”);

 

 


通过 Wiz 发布


posted on 2011-04-27 18:23  Jason .Z  阅读(274)  评论(0)    收藏  举报