示例#1
0
 public string SendSMS(string username, string userpwd, string TelNumber, string sms)
 {
     wwwroot.SMSWebServiceReference.SendSMSRequest inValue = new wwwroot.SMSWebServiceReference.SendSMSRequest();
     inValue.Body           = new wwwroot.SMSWebServiceReference.SendSMSRequestBody();
     inValue.Body.username  = username;
     inValue.Body.userpwd   = userpwd;
     inValue.Body.TelNumber = TelNumber;
     inValue.Body.sms       = sms;
     wwwroot.SMSWebServiceReference.SendSMSResponse retVal = ((wwwroot.SMSWebServiceReference.ServiceSoap)(this)).SendSMS(inValue);
     return(retVal.Body.SendSMSResult);
 }
示例#2
0
 wwwroot.SMSWebServiceReference.SendSMSResponse wwwroot.SMSWebServiceReference.ServiceSoap.SendSMS(wwwroot.SMSWebServiceReference.SendSMSRequest request)
 {
     return(base.Channel.SendSMS(request));
 }