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})
相关推荐
朱建伟 2019-12-14
87214156 2018-02-13
zhangyayun0 2019-06-30
幸运小侯子 2019-06-30
Adolphlwq 2015-08-13
zhyue 2015-04-16
Chydar 2019-06-30
dzwcom 2014-05-17
智能的世界 2012-12-06
AMEPRE 2013-11-08
xieyixiao 2020-04-16
草原孤狼 2020-03-03
beibeijia 2020-02-27
forliberty 2015-05-04
Glassborken 2011-05-29
hedongli 2011-07-10
架构师技术联盟 2014-07-18