//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version: 1.1.4322.2300 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ // // 此源代码是由 Microsoft.VSDesigner 1.1.4322.2300 版自动生成。 // namespace MWSeviceDemo.MW { using System.Diagnostics; using System.Xml.Serialization; using System; using System.Web.Services.Protocols; using System.ComponentModel; using System.Web.Services; /// [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name="wmgwSoap", Namespace="http://tempuri.org/")] public class wmgw : System.Web.Services.Protocols.SoapHttpClientProtocol { /// public wmgw() { this.Url = "http://demo.montnets.com/yds/wmgw.asmx"; } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/TestService", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string TestService() { object[] results = this.Invoke("TestService", new object[0]); return ((string)(results[0])); } /// public System.IAsyncResult BeginTestService(System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("TestService", new object[0], callback, asyncState); } /// public string EndTestService(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string)(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Test", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string Test(string parm1, string parm2) { object[] results = this.Invoke("Test", new object[] { parm1, parm2}); return ((string)(results[0])); } /// public System.IAsyncResult BeginTest(string parm1, string parm2, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("Test", new object[] { parm1, parm2}, callback, asyncState); } /// public string EndTest(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string)(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateConnect", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public int MongateConnect(string uid, string pwd) { object[] results = this.Invoke("MongateConnect", new object[] { uid, pwd}); return ((int)(results[0])); } /// public System.IAsyncResult BeginMongateConnect(string uid, string pwd, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateConnect", new object[] { uid, pwd}, callback, asyncState); } /// public int EndMongateConnect(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateQueryBalance", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public int MongateQueryBalance(string userId, string password) { object[] results = this.Invoke("MongateQueryBalance", new object[] { userId, password}); return ((int)(results[0])); } /// public System.IAsyncResult BeginMongateQueryBalance(string userId, string password, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateQueryBalance", new object[] { userId, password}, callback, asyncState); } /// public int EndMongateQueryBalance(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateQueryUsed", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public int MongateQueryUsed(string userId, string password) { object[] results = this.Invoke("MongateQueryUsed", new object[] { userId, password}); return ((int)(results[0])); } /// public System.IAsyncResult BeginMongateQueryUsed(string userId, string password, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateQueryUsed", new object[] { userId, password}, callback, asyncState); } /// public int EndMongateQueryUsed(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateChangePwd", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public int MongateChangePwd(string userId, string password, string NewPassWord) { object[] results = this.Invoke("MongateChangePwd", new object[] { userId, password, NewPassWord}); return ((int)(results[0])); } /// public System.IAsyncResult BeginMongateChangePwd(string userId, string password, string NewPassWord, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateChangePwd", new object[] { userId, password, NewPassWord}, callback, asyncState); } /// public int EndMongateChangePwd(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateSendSms", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public int MongateSendSms(string userId, string password, string ToPhone, string msg) { object[] results = this.Invoke("MongateSendSms", new object[] { userId, password, ToPhone, msg}); return ((int)(results[0])); } /// public System.IAsyncResult BeginMongateSendSms(string userId, string password, string ToPhone, string msg, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateSendSms", new object[] { userId, password, ToPhone, msg}, callback, asyncState); } /// public int EndMongateSendSms(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateCsSendSms", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public int MongateCsSendSms(string userId, string password, string pszMobis, string pszMsg, int iMobiCount, out string pszSN) { object[] results = this.Invoke("MongateCsSendSms", new object[] { userId, password, pszMobis, pszMsg, iMobiCount}); pszSN = ((string)(results[1])); return ((int)(results[0])); } /// public System.IAsyncResult BeginMongateCsSendSms(string userId, string password, string pszMobis, string pszMsg, int iMobiCount, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateCsSendSms", new object[] { userId, password, pszMobis, pszMsg, iMobiCount}, callback, asyncState); } /// public int EndMongateCsSendSms(System.IAsyncResult asyncResult, out string pszSN) { object[] results = this.EndInvoke(asyncResult); pszSN = ((string)(results[1])); return ((int)(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateCsSendSmsEx", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string MongateCsSendSmsEx(string userId, string password, string pszMobis, string pszMsg, int iMobiCount) { object[] results = this.Invoke("MongateCsSendSmsEx", new object[] { userId, password, pszMobis, pszMsg, iMobiCount}); return ((string)(results[0])); } /// public System.IAsyncResult BeginMongateCsSendSmsEx(string userId, string password, string pszMobis, string pszMsg, int iMobiCount, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateCsSendSmsEx", new object[] { userId, password, pszMobis, pszMsg, iMobiCount}, callback, asyncState); } /// public string EndMongateCsSendSmsEx(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string)(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateCsSPSendSmsEx", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string MongateCsSPSendSmsEx(string userId, string password, string pszMobis, string pszMsg, int iMobiCount, string pszSubPort) { object[] results = this.Invoke("MongateCsSPSendSmsEx", new object[] { userId, password, pszMobis, pszMsg, iMobiCount, pszSubPort}); return ((string)(results[0])); } /// public System.IAsyncResult BeginMongateCsSPSendSmsEx(string userId, string password, string pszMobis, string pszMsg, int iMobiCount, string pszSubPort, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateCsSPSendSmsEx", new object[] { userId, password, pszMobis, pszMsg, iMobiCount, pszSubPort}, callback, asyncState); } /// public string EndMongateCsSPSendSmsEx(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string)(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateCsSPSendSms", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public int MongateCsSPSendSms(string userId, string password, string pszMobis, string pszMsg, int iMobiCount, string pszSubPort, out string pszSN) { object[] results = this.Invoke("MongateCsSPSendSms", new object[] { userId, password, pszMobis, pszMsg, iMobiCount, pszSubPort}); pszSN = ((string)(results[1])); return ((int)(results[0])); } /// public System.IAsyncResult BeginMongateCsSPSendSms(string userId, string password, string pszMobis, string pszMsg, int iMobiCount, string pszSubPort, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateCsSPSendSms", new object[] { userId, password, pszMobis, pszMsg, iMobiCount, pszSubPort}, callback, asyncState); } /// public int EndMongateCsSPSendSms(System.IAsyncResult asyncResult, out string pszSN) { object[] results = this.EndInvoke(asyncResult); pszSN = ((string)(results[1])); return ((int)(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateVasSendSms", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public int MongateVasSendSms(string userId, string password, string pszFeeCode, string pszServiceNo, string pszOperCode, string pszMatchNo, string pszMobis, string pszMsg) { object[] results = this.Invoke("MongateVasSendSms", new object[] { userId, password, pszFeeCode, pszServiceNo, pszOperCode, pszMatchNo, pszMobis, pszMsg}); return ((int)(results[0])); } /// public System.IAsyncResult BeginMongateVasSendSms(string userId, string password, string pszFeeCode, string pszServiceNo, string pszOperCode, string pszMatchNo, string pszMobis, string pszMsg, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateVasSendSms", new object[] { userId, password, pszFeeCode, pszServiceNo, pszOperCode, pszMatchNo, pszMobis, pszMsg}, callback, asyncState); } /// public int EndMongateVasSendSms(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateVasGetSms", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public int MongateVasGetSms(string userId, string password, out string[] strMsg) { object[] results = this.Invoke("MongateVasGetSms", new object[] { userId, password}); strMsg = ((string[])(results[1])); return ((int)(results[0])); } /// public System.IAsyncResult BeginMongateVasGetSms(string userId, string password, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateVasGetSms", new object[] { userId, password}, callback, asyncState); } /// public int EndMongateVasGetSms(System.IAsyncResult asyncResult, out string[] strMsg) { object[] results = this.EndInvoke(asyncResult); strMsg = ((string[])(results[1])); return ((int)(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateCsGetSms", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public int MongateCsGetSms(string userId, string password, out string[] strMsg) { object[] results = this.Invoke("MongateCsGetSms", new object[] { userId, password}); strMsg = ((string[])(results[1])); return ((int)(results[0])); } /// public System.IAsyncResult BeginMongateCsGetSms(string userId, string password, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateCsGetSms", new object[] { userId, password}, callback, asyncState); } /// public int EndMongateCsGetSms(System.IAsyncResult asyncResult, out string[] strMsg) { object[] results = this.EndInvoke(asyncResult); strMsg = ((string[])(results[1])); return ((int)(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateCsGetStatusReport", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public int MongateCsGetStatusReport(string userId, string password, out string[] Msg) { object[] results = this.Invoke("MongateCsGetStatusReport", new object[] { userId, password}); Msg = ((string[])(results[1])); return ((int)(results[0])); } /// public System.IAsyncResult BeginMongateCsGetStatusReport(string userId, string password, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateCsGetStatusReport", new object[] { userId, password}, callback, asyncState); } /// public int EndMongateCsGetStatusReport(System.IAsyncResult asyncResult, out string[] Msg) { object[] results = this.EndInvoke(asyncResult); Msg = ((string[])(results[1])); return ((int)(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateCsGetStatusReportEx", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string MongateCsGetStatusReportEx(string userId, string password) { object[] results = this.Invoke("MongateCsGetStatusReportEx", new object[] { userId, password}); return ((string)(results[0])); } /// public System.IAsyncResult BeginMongateCsGetStatusReportEx(string userId, string password, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateCsGetStatusReportEx", new object[] { userId, password}, callback, asyncState); } /// public string EndMongateCsGetStatusReportEx(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string)(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateCsGetSmsEx", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string MongateCsGetSmsEx(string userId, string password) { object[] results = this.Invoke("MongateCsGetSmsEx", new object[] { userId, password}); return ((string)(results[0])); } /// public System.IAsyncResult BeginMongateCsGetSmsEx(string userId, string password, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateCsGetSmsEx", new object[] { userId, password}, callback, asyncState); } /// public string EndMongateCsGetSmsEx(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string)(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateRecharge", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public int MongateRecharge(string userId, string password, string pszCardNo, string pszCardPwd) { object[] results = this.Invoke("MongateRecharge", new object[] { userId, password, pszCardNo, pszCardPwd}); return ((int)(results[0])); } /// public System.IAsyncResult BeginMongateRecharge(string userId, string password, string pszCardNo, string pszCardPwd, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateRecharge", new object[] { userId, password, pszCardNo, pszCardPwd}, callback, asyncState); } /// public int EndMongateRecharge(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateCsSendSmsExEx", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string[] MongateCsSendSmsExEx(string userId, string password, string pszMobis, string pszMsg, int iMobiCount) { object[] results = this.Invoke("MongateCsSendSmsExEx", new object[] { userId, password, pszMobis, pszMsg, iMobiCount}); return ((string[])(results[0])); } /// public System.IAsyncResult BeginMongateCsSendSmsExEx(string userId, string password, string pszMobis, string pszMsg, int iMobiCount, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateCsSendSmsExEx", new object[] { userId, password, pszMobis, pszMsg, iMobiCount}, callback, asyncState); } /// public string[] EndMongateCsSendSmsExEx(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string[])(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateCsGetSmsExEx", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string[] MongateCsGetSmsExEx(string userId, string password) { object[] results = this.Invoke("MongateCsGetSmsExEx", new object[] { userId, password}); return ((string[])(results[0])); } /// public System.IAsyncResult BeginMongateCsGetSmsExEx(string userId, string password, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateCsGetSmsExEx", new object[] { userId, password}, callback, asyncState); } /// public string[] EndMongateCsGetSmsExEx(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string[])(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateCsGetStatusReportExEx", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string[] MongateCsGetStatusReportExEx(string userId, string password) { object[] results = this.Invoke("MongateCsGetStatusReportExEx", new object[] { userId, password}); return ((string[])(results[0])); } /// public System.IAsyncResult BeginMongateCsGetStatusReportExEx(string userId, string password, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateCsGetStatusReportExEx", new object[] { userId, password}, callback, asyncState); } /// public string[] EndMongateCsGetStatusReportExEx(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string[])(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MongateCsSPSendSmsExEx", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string[] MongateCsSPSendSmsExEx(string userId, string password, string pszMobis, string pszMsg, string pszSubPort) { object[] results = this.Invoke("MongateCsSPSendSmsExEx", new object[] { userId, password, pszMobis, pszMsg, pszSubPort}); return ((string[])(results[0])); } /// public System.IAsyncResult BeginMongateCsSPSendSmsExEx(string userId, string password, string pszMobis, string pszMsg, string pszSubPort, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("MongateCsSPSendSmsExEx", new object[] { userId, password, pszMobis, pszMsg, pszSubPort}, callback, asyncState); } /// public string[] EndMongateCsSPSendSmsExEx(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string[])(results[0])); } } }