Пример #1
0
 public int SendSMSAdvert(string account_name, string account_password, string Phonenumber, string Message, string SendFrom, string CommandCode, string RequestID)
 {
     TestConsole.VnptWs.SendSMSAdvertRequest inValue = new TestConsole.VnptWs.SendSMSAdvertRequest();
     inValue.Body = new TestConsole.VnptWs.SendSMSAdvertRequestBody();
     inValue.Body.account_name     = account_name;
     inValue.Body.account_password = account_password;
     inValue.Body.Phonenumber      = Phonenumber;
     inValue.Body.Message          = Message;
     inValue.Body.SendFrom         = SendFrom;
     inValue.Body.CommandCode      = CommandCode;
     inValue.Body.RequestID        = RequestID;
     TestConsole.VnptWs.SendSMSAdvertResponse retVal = ((TestConsole.VnptWs.SendMT2Soap)(this)).SendSMSAdvert(inValue);
     return(retVal.Body.SendSMSAdvertResult);
 }
Пример #2
0
 TestConsole.VnptWs.SendSMSAdvertResponse TestConsole.VnptWs.SendMT2Soap.SendSMSAdvert(TestConsole.VnptWs.SendSMSAdvertRequest request)
 {
     return(base.Channel.SendSMSAdvert(request));
 }