首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

Ruby透过SOAP调用webservice发送短信

2012-09-01 
Ruby通过SOAP调用webservice发送短信?url http://lxt.esms360.com/ws/LinkWS.asmx?WSDLsoap_client

Ruby通过SOAP调用webservice发送短信

?

url = 'http://lxt.esms360.com/ws/LinkWS.asmx?WSDL'soap_client = SOAP::WSDLDriverFactory.new(url).create_rpc_driver# send 是 短信网管提供的接口soap_client.Send({:CorpID => "user_name", : Pwd => "passwod", :Mobile => phone, :Content => msg, :Cell => nil, :SendTime => nil})
?

?

?

热点排行