文檔簡介
//接口類型:互億無線觸發(fā)短信接口,支持發(fā)送驗證碼短信、訂單通知短信等。//賬戶注冊:請通過該地址開通賬戶/new/register.html//注意事項://(1)調試期間,請使用用系統(tǒng)默認的短信內容:您的驗證碼是:【變量】。請不要把驗證碼泄露給其他人。//(2)請使用用戶名及APIkey來調用接口,APIkey在會員中心可以獲?。?/(3)該代碼僅供接入互億無線短信接口參考使用,客戶可根據實際需要自行編寫;//************************************************************************////Thetypesdeclaredinthisfileweregeneratedfromdatareadfromthe//WSDLFiledescribedbelow://WSDL:http://106./webservice/sms.php?wsdl//>Import:http://106./webservice/sms.php?wsdl:0//Encoding:utf-8//Version:1.0//(2013/11/2610:37:24--$Rev:10138$)//************************************************************************//unitsms;interfaceusesInvokeRegistry,SOAPHTTPClient,Types,XSBuiltIns;constIS_OPTN=$0001;IS_REF=$0080;type//************************************************************************////Thefollowingtypes,referredtointheWSDLdocumentarenotbeingrepresented//inthisfile.Theyareeitheraliases[@]ofothertypesrepresentedorwerereferred//tobutnever[!]declaredinthedocument.Thetypesfromthelattercategory//typicallymaptopredefined/knownXMLorBorlandtypes;however,theycouldalso//indicateincorrectWSDLdocumentsthatfailedtodeclareorimportaschematype.//************************************************************************////!:int-"/2001/XMLSchema"[Gbl]//!:string-"/2001/XMLSchema"[Gbl]//!:srting-"/2001/XMLSchema"[Gbl]SubmitResult=class;{"http://106./"[GblCplx]}ChangePasswordResult=class;{"http://106./"[GblCplx]}GetNumResult=class;{"http://106./"[GblCplx]}VersionInfoResult=class;{"http://106./"[GblCplx]}//************************************************************************////XML:SubmitResult,global,//Namespace:http://106.///************************************************************************//SubmitResult=class(TRemotable)privateFcode:Integer;Fmsg:WideString;Fsmsid:Integer;publishedpropertycode:IntegerreadFcodewriteFcode;propertymsg:WideStringreadFmsgwriteFmsg;propertysmsid:IntegerreadFsmsidwriteFsmsid;end;//************************************************************************////XML:ChangePasswordResult,global,//Namespace:http://106.///************************************************************************//ChangePasswordResult=class(TRemotable)privateFcode:Integer;Fmsg:WideString;publishedpropertycode:IntegerreadFcodewriteFcode;propertymsg:WideStringreadFmsgwriteFmsg;end;//************************************************************************////XML:GetNumResult,global,//Namespace:http://106.///************************************************************************//GetNumResult=class(TRemotable)privateFcode:Integer;Fmsg:WideString;Fnum:Integer;publishedpropertycode:IntegerreadFcodewriteFcode;propertymsg:WideStringreadFmsgwriteFmsg;propertynum:IntegerreadFnumwriteFnum;end;//************************************************************************////XML:VersionInfoResult,global,//Namespace:http://106.///************************************************************************//VersionInfoResult=class(TRemotable)privateFmsg:WideString;publishedpropertymsg:WideStringreadFmsgwriteFmsg;end;//************************************************************************////Namespace:http://106.///soapAction:http://106./%operationName%//transport:/soap/http//style:document//binding:smsSoap//service:sms//port:smsSoap//URL:http://106./webservice/sms.php?smsService//************************************************************************//smsSoap=interface(IInvokable)['{228902AE-4B53-39C9-05CA-F389FEE82174}']functionSubmit(constaccount:WideString;constpassword:WideString;constmobile:WideString;constcontent:WideString):SubmitResult;stdcall;functionChangePassword(constaccount:WideString;constpassword:WideString;constnewpassword:WideString):ChangePasswordResult;stdcall;functionGetNum(constaccount:WideString;constpassword:WideString):GetNumResult;stdcall;functionVersionInfo:VersionInfoResult;stdcall;end;functionGetsmsSoap(UseWSDL:Boolean=System.False;Addr:string='';HTTPRIO:THTTPRIO=nil):smsSoap;implementationusesSysUtils;functionGetsmsSoap(UseWSDL:Boolean;Addr:string;HTTPRIO:THTTPRIO):smsSoap;constdefWSDL='http://106./webservice/sms.php?wsdl';defURL='http://106./webservice/sms.php?smsService';defSvc='sms';defPrt='smsSoap';varRIO:THTTPRIO;beginResult:=nil;if(Addr='')thenbeginifUseWSDLthenAddr:=defWSDLelseAddr:=defURL;end;ifHTTPRIO=nilthenRIO:=THTTPRIO.Create(nil)elseRIO:=HTTPRIO;tryResult:=(RIOassmsSoap);ifUseWSDLthenbeginRIO.WSDLLocation:=Addr;RIO.Service:=defSvc;RIO.Port:=defPrt;endelseRIO.URL:=Addr;finallyif(Result=nil)and(HTTPRIO=nil)thenRIO.Free;end;end
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年滬科版九年級地理下冊階段測試試卷含答案
- 2025年新科版必修2歷史下冊月考試卷
- 二零二五版模具維修與翻新服務合同4篇
- 二零二五年度智慧城市建設年薪制合同4篇
- 2025年度養(yǎng)老康復派遣員工康復治療合同4篇
- 2025年度面包烘焙原料綠色認證采購合同3篇
- 2025年度設施農業(yè)專用化肥農藥定制配送合同4篇
- 2024版離婚債務解決方案合同范例一
- 二零二五年度煤炭期貨交易居間代理合同3篇
- 2025年度農業(yè)科技園區(qū)建設與管理合同范例4篇
- 撂荒地整改協(xié)議書范本
- 國際貿易地理 全套課件
- GB/T 20878-2024不銹鋼牌號及化學成分
- 診所負責人免責合同范本
- 2024患者十大安全目標
- 印度與阿拉伯的數學
- 會陰切開傷口裂開的護理查房
- 實驗報告·測定雞蛋殼中碳酸鈣的質量分數
- 部編版小學語文五年級下冊集體備課教材分析主講
- 電氣設備建筑安裝施工圖集
- 《工程結構抗震設計》課件 第10章-地下建筑抗震設計
評論
0/150
提交評論