public SendSmsRequestBody(string username, string password, SMSJobHandler.SMSService.ArrayOfString to, string from, string text, bool isflash, string udh, SMSJobHandler.SMSService.ArrayOfLong recId, byte[] status) { this.username = username; this.password = password; this.to = to; this.from = from; this.text = text; this.isflash = isflash; this.udh = udh; this.recId = recId; this.status = status; }
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); }