Esempio n. 1
0
 public int SendSms(string username, string password, SMSJobHandler.SMSService.ArrayOfString to, string from, string text, bool isflash, string udh, ref SMSJobHandler.SMSService.ArrayOfLong recId, ref byte[] status)
 {
     SMSJobHandler.SMSService.SendSmsRequest inValue = new SMSJobHandler.SMSService.SendSmsRequest();
     inValue.Body          = new SMSJobHandler.SMSService.SendSmsRequestBody();
     inValue.Body.username = username;
     inValue.Body.password = password;
     inValue.Body.to       = to;
     inValue.Body.from     = from;
     inValue.Body.text     = text;
     inValue.Body.isflash  = isflash;
     inValue.Body.udh      = udh;
     inValue.Body.recId    = recId;
     inValue.Body.status   = status;
     SMSJobHandler.SMSService.SendSmsResponse retVal = ((SMSJobHandler.SMSService.SendSoap)(this)).SendSms(inValue);
     recId  = retVal.Body.recId;
     status = retVal.Body.status;
     return(retVal.Body.SendSmsResult);
 }
Esempio n. 2
0
 SMSJobHandler.SMSService.SendSmsResponse SMSJobHandler.SMSService.SendSoap.SendSms(SMSJobHandler.SMSService.SendSmsRequest request)
 {
     return(base.Channel.SendSms(request));
 }