//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3603
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
//
// This source code was auto-generated by Microsoft.VSDesigner, Version 2.0.50727.3603.
//
#pragma warning disable 1591
namespace NopSolutions.NopCommerce.BusinessLogic.Clickatell{
using System.Diagnostics;
using System.Web.Services;
using System.ComponentModel;
using System.Web.Services.Protocols;
using System;
using System.Xml.Serialization;
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="PushServerWSBinding", Namespace="http://api.clickatell.com/soap/webservice")]
public partial class PushServerWS : System.Web.Services.Protocols.SoapHttpClientProtocol {
private System.Threading.SendOrPostCallback authOperationCompleted;
private System.Threading.SendOrPostCallback pingOperationCompleted;
private System.Threading.SendOrPostCallback sendmsgOperationCompleted;
private System.Threading.SendOrPostCallback querymsgOperationCompleted;
private System.Threading.SendOrPostCallback delmsgOperationCompleted;
private System.Threading.SendOrPostCallback getbalanceOperationCompleted;
private System.Threading.SendOrPostCallback routeCoverageOperationCompleted;
private System.Threading.SendOrPostCallback si_pushOperationCompleted;
private System.Threading.SendOrPostCallback ind_pushOperationCompleted;
private System.Threading.SendOrPostCallback token_payOperationCompleted;
private System.Threading.SendOrPostCallback startbatchOperationCompleted;
private System.Threading.SendOrPostCallback senditemOperationCompleted;
private System.Threading.SendOrPostCallback quicksendOperationCompleted;
private System.Threading.SendOrPostCallback endbatchOperationCompleted;
private System.Threading.SendOrPostCallback getmsgchargeOperationCompleted;
private bool useDefaultCredentialsSetExplicitly;
/// <remarks/>
public PushServerWS() {
this.Url = global::NopSolutions.NopCommerce.BusinessLogic.Properties.Settings.Default.Nop_BusinessLogic_Clickatell_PushServerWS;
if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
this.UseDefaultCredentials = true;
this.useDefaultCredentialsSetExplicitly = false;
}
else {
this.useDefaultCredentialsSetExplicitly = true;
}
}
public new string Url {
get {
return base.Url;
}
set {
if ((((this.IsLocalFileSystemWebService(base.Url) == true)
&& (this.useDefaultCredentialsSetExplicitly == false))
&& (this.IsLocalFileSystemWebService(value) == false))) {
base.UseDefaultCredentials = false;
}
base.Url = value;
}
}
public new bool UseDefaultCredentials {
get {
return base.UseDefaultCredentials;
}
set {
base.UseDefaultCredentials = value;
this.useDefaultCredentialsSetExplicitly = true;
}
}
/// <remarks/>
public event authCompletedEventHandler authCompleted;
/// <remarks/>
public event pingCompletedEventHandler pingCompleted;
/// <remarks/>
public event sendmsgCompletedEventHandler sendmsgCompleted;
/// <remarks/>
public event querymsgCompletedEventHandler querymsgCompleted;
/// <remarks/>
public event delmsgCompletedEventHandler delmsgCompleted;
/// <remarks/>
public event getbalanceCompletedEventHandler getbalanceCompleted;
/// <remarks/>
public event routeCoverageCompletedEventHandler routeCoverageCompleted;
/// <remarks/>
public event si_pushCompletedEventHandler si_pushCompleted;
/// <remarks/>
public event ind_pushCompletedEventHandler ind_pushCompleted;
/// <remarks/>
public event token_payCompletedEventHandler token_payCompleted;
/// <remarks/>
public event startbatchCompletedEventHandler startbatchCompleted;
/// <remarks/>
public event senditemCompletedEventHandler senditemCompleted;
/// <remarks/>
public event quicksendCompletedEventHandler quicksendCompleted;
/// <remarks/>
public event endbatchCompletedEventHandler endbatchCompleted;
/// <remarks/>
public event getmsgchargeCompletedEventHandler getmsgchargeCompleted;
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("http://api.clickatell.com/soap/webservice_vs.php/auth", RequestNamespace="http://api.clickatell.com/soap/webservice", ResponseNamespace="http://api.clickatell.com/soap/webservice")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public string auth(int api_id, string user, string password) {
object[] results = this.Invoke("auth", new object[] {
api_id,
user,
password});
return ((string)(results[0]));
}
/// <remarks/>
public void authAsync(int api_id, string user, string password) {
this.authAsync(api_id, user, password, null);
}
/// <remarks/>
public void authAsync(int api_id, string user, string password, object userState) {
if ((this.authOperationCompleted == null)) {
this.authOperationCompleted = new System.Threading.SendOrPostCallback(this.OnauthOperationCompleted);
}
this.InvokeAsync("auth", new object[] {
api_id,
user,
password}, this.authOperationCompleted, userState);
}
private void OnauthOperationCompleted(object arg) {
if ((this.authCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.authCompleted(this, new authCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("http://api.clickatell.com/soap/webservice_vs.php/ping", RequestNamespace="http://api.clickatell.com/soap/webservice", ResponseNamespace="http://api.clickatell.com/soap/webservice")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public string ping(string session_id) {
object[] results = this.Invoke("ping", new object[] {
session_id});
return ((string)(results[0]));
}
/// <remarks/>
public void pingAsync(string session_id) {
this.pingAsync(session_id, null);
}
/// <remarks/>
public void pingAsync(string session_id, object userState) {
if ((this.pingOperationCompleted == null)) {
this.pingOperationCompleted = new System.Threading.SendOrPostCallback(this.OnpingOperationCompleted);
}
this.InvokeAsync("ping", new object[] {
session_id}, this.pingOperationCompleted, userState);
}
private void OnpingOperationCompleted(object arg) {
if ((this.pingCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.pingCompleted(this, new pingCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("http://api.clickatell.com/soap/webservice_vs.php/sendmsg", RequestNamespace="http://api.clickatell.com/soap/webservice", ResponseNamespace="http://api.clickatell.com/soap/webservice")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public string[] sendmsg(
string session_id,
int api_id,
string user,
string password,
string[] to,
string from,
string text,
int concat,
int deliv_ack,
int msg_callback,
int deliv_time,
float max_credits,
int req_feat,
int queue,
int escalate,
int mo,
string cliMsgId,
int unicode,
string msg_type,
string udh,
string data,
int validity) {
object[] results = this.Invoke("sendmsg", new object[] {
session_id,
api_id,
user,
password,
to,
from,
text,
concat,
deliv_ack,
msg_callback,
deliv_time,
max_credits,
req_feat,
queue,
escalate,
mo,
cliMsgId,
unicode,
msg_type,
udh,
data,
validity});
return ((string[])(results[0]));
}
/// <remarks/>
public void sendmsgAsync(
string session_id,
int api_id,
string user,
string password,
string[] to,
string from,
string text,
int concat,
int deliv_ack,
int msg_callback,
int deliv_time,
float max_credits,
int req_feat,
int queue,
int escalate,
int mo,
string cliMsgId,
int unicode,
string msg_type,
string udh,
string data,
int validity) {
this.sendmsgAsync(session_id, api_id, user, password, to, from, text, concat, deliv_ack, msg_callback, deliv_time, max_credits, req_feat, queue, escalate, mo, cliMsgId, unicode, msg_type, udh, data, validity, null);
}
/// <remarks/>
public void sendmsgAsync(
string session_id,
int api_id,
string user,
string password,
string[] to,
string from,
string text,
int concat,
int deliv_ack,
int msg_callback,
int deliv_time,
float max_credits,
int req_feat,
int queue,
int escalate,
int mo,
string cliMsgId,
int unicode,
string msg_type,
string udh,
string data,
int validity,
object userState) {
if ((this.sendmsgOperationCompleted == null)) {
this.sendmsgOperationCompleted = new System.Threading.SendOrPostCallback(this.OnsendmsgOperationCompleted);
}
this.InvokeAsync("sendmsg", new object[] {
session_id,
api_id,
user,
password,
to,
from,
text,
concat,
deliv_ack,
msg_callback,
deliv_time,
max_credits,
req_feat,
queue,
escalate,
mo,
cliMsgId,
unicode,
msg_type,
udh,
data,
validity}, this.sendmsgOperationCompleted, userState);
}
private void OnsendmsgOperationCompleted(object arg) {
if ((this.sendmsgCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.sendmsgCompleted(this, new sendmsgCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("http://api.clickatell.com/soap/webservice_vs.php/querymsg", RequestNamespace="http://api.clickatell.com/soap/webservice", ResponseNamespace="http://api.clickatell.com/soap/webservice")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public string[] querymsg(string session_id, int api_id, string user, string password, string apimsgid, string climsgid) {
object[] results = this.Invoke("querymsg", new object[] {
session_id,
api_id,
user,
password,
apimsgid,
climsgid});
return ((string[])(results[0]));
}
/// <remarks/>
public void querymsgAsync(string session_id, int api_id, string user, string password, string apimsgid, string climsgid) {
this.querymsgAsync(session_id, api_id, user, password, apimsgid, climsgid, null);
}
/// <remarks/>
public void querymsgAsync(string session_id, int api_id, string user, string password, string apimsgid, string climsgid, object userState) {
if ((this.querymsgOperationCompleted == null)) {
this.querymsgOperationCompleted = new System.Threading.SendOrPostCallback(this.OnquerymsgOperationCompleted);
}
this.InvokeAsync("querymsg", new object[] {
session_id,
api_id,
user,
password,
apimsgid,
climsgid}, this.querymsgOperationCompleted, userState);
}
private void OnquerymsgOperationCompleted(object arg) {
if ((this.querymsgCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.querymsgCompleted(this, new querymsgCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("http://api.clickatell.com/soap/webservice_vs.php/delmsg", RequestNamespace="http://api.clickatell.com/soap/webservice", ResponseNamespace="http://api.clickatell.com/soap/webservice")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public string[] delmsg(string session_id, string api_id, string user, string password, string apimsgid, string climsgid) {
object[] results = this.Invoke("delmsg", new object[] {
session_id,
api_id,
user,
password,
apimsgid,
climsgid});
return ((string[])(results[0]));
}
/// <remarks/>
public void delmsgAsync(string session_id, string api_id, string user, string password, string apimsgid, string climsgid) {
this.delmsgAsync(session_id, api_id, user, password, apimsgid, climsgid, null);
}
/// <remarks/>
public void delmsgAsync(string session_id, string api_id, string user, string password, string apimsgid, string climsgid, object userState) {
if ((this.delmsgOperationCompleted == null)) {
this.delmsgOperationCompleted = new System.Threading.SendOrPostCallback(this.OndelmsgOperationCompleted);
}
this.InvokeAsync("delmsg", new object[] {
session_id,
api_id,
user,
password,
apimsgid,
climsgid}, this.delmsgOperationCompleted, userState);
}
private void OndelmsgOperationCompleted(object arg) {
if ((this.delmsgCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.delmsgCompleted(this, new delmsgCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("http://api.clickatell.com/soap/webservice_vs.php/getbalance", RequestNamespace="http://api.clickatell.com/soap/webservice", ResponseNamespace="http://api.clickatell.com/soap/webservice")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public string getbalance(string session_id, int api_id, string user, string password) {
object[] results = this.Invoke("getbalance", new object[] {
session_id,
api_id,
user,
password});
return ((string)(results[0]));
}
/// <remarks/>
public void getbalanceAsync(string session_id, int api_id, string user, string password) {
this.getbalanceAsync(session_id, api_id, user, password, null);
}
/// <remarks/>
public void getbalanceAsync(string session_id, int api_id, string user, string password, object userState) {
if ((this.getbalanceOperationCompleted == null)) {
this.getbalanceOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetbalanceOperationCompleted);
}
this.InvokeAsync("getbalance", new object[] {
session_id,
api_id,
user,
password}, this.getbalanceOperationCompleted, userState);
}
private void OngetbalanceOperationCompleted(object arg) {
if ((this.getbalanceCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.getbalanceCompleted(this, new getbalanceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("http://api.clickatell.com/soap/webservice_vs.php/routeCoverage", RequestNamespace="http://api.clickatell.com/soap/webservice", ResponseNamespace="http://api.clickatell.com/soap/webservice")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public string routeCoverage(string session_id, int api_id, string user, string password, string msisdn) {
object[] results = this.Invoke("routeCoverage", new object[] {
session_id,
api_id,
user,
password,
msisdn});
return ((string)(results[0]));
}
/// <remarks/>
public void routeCoverageAsync(string session_id, int api_id, string user, string password, string msisdn) {
this.routeCoverageAsync(session_id, api_id, user, password, msisdn, null);
}
/// <remarks/>
public void routeCoverageAsync(string session_id, int api_id, string user, string password, string msisdn, object userState) {
if ((this.routeCoverageOperationCompleted == null)) {
this.routeCoverageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnrouteCoverageOperationCompleted);
}
this.InvokeAsync("routeCoverage", new object[] {
session_id,
api_id,
user,
password,
msisdn}, this.routeCoverageOperationCompleted, userState);
}
private void OnrouteCoverageOperationCompleted(object arg) {
if ((this.routeCoverageCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.routeCoverageCompleted(this, new routeCoverageCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("http://api.clickatell.com/soap/webservice_vs.php/si_push", RequestNamespace="http://api.clickatell.com/soap/webservice", ResponseNamespace="http://api.clickatell.com/soap/webservice")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public string[] si_push(
string session_id,
int api_id,
string user,
string password,
string[] to,
string si_id,
string si_url,
string si_text,
string si_created,
string si_expires,
string si_action,
string from,
int concat,
int deliv_ack,
int msg_callback,
int deliv_time,
float max_credits,
int req_feat,
int queue,
int escalate,
int mo,
string cliMsgId,
int validity) {
object[] results = this.Invoke("si_push", new object[] {
session_id,
api_id,
user,
password,
to,
si_id,
si_url,
si_text,
si_created,
si_expires,
si_action,
from,
concat,
deliv_ack,
msg_callback,
deliv_time,
max_credits,
req_feat,
queue,
escalate,
mo,
cliMsgId,
validity});
return ((string[])(results[0]));
}
/// <remarks/>
public void si_pushAsync(
string session_id,
int api_id,
string user,
string password,
string[] to,
string si_id,
string si_url,
string si_text,
string si_created,
string si_expires,
string si_action,
string from,
int concat,
int deliv_ack,
int msg_callback,
int deliv_time,
float max_credits,
int req_feat,
int queue,
int escalate,
int mo,
string cliMsgId,
int validity) {
this.si_pushAsync(session_id, api_id, user, password, to, si_id, si_url, si_text, si_created, si_expires, si_action, from, concat, deliv_ack, msg_callback, deliv_time, max_credits, req_feat, queue, escalate, mo, cliMsgId, validity, null);
}
/// <remarks/>
public void si_pushAsync(
string session_id,
int api_id,
string user,
string password,
string[] to,
string si_id,
string si_url,
string si_text,
string si_created,
string si_expires,
string si_action,
string from,
int concat,
int deliv_ack,
int msg_callback,
int deliv_time,
float max_credits,
int req_feat,
int queue,
int escalate,
int mo,
string cliMsgId,
int validity,
object userState) {
if ((this.si_pushOperationCompleted == null)) {
this.si_pushOperationCompleted = new System.Threading.SendOrPostCallback(this.Onsi_pushOperationCompleted);
}
this.InvokeAsync("si_push", new object[] {
session_id,
api_id,
user,
password,
to,
si_id,
si_url,
si_text,
si_created,
si_expires,
si_action,
from,
concat,
deliv_ack,
msg_callback,
deliv_time,
max_credits,
req_feat,
queue,
escalate,
mo,
cliMsgId,
validity}, this.si_pushOperationCompleted, userState);
}
private void Onsi_pushOperationCompleted(object arg) {
if ((this.si_pushCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.si_pushCompleted(this, new si_pushCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("http://api.clickatell.com/soap/webservice_vs.php/ind_push", RequestNamespace="http://api.clickatell.com/soap/webservice", ResponseNamespace="http://api.clickatell.com/soap/webservice")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public string[] ind_push(
string session_id,
int api_id,
string user,
string password,
string[] to,
string mms_subject,
string mms_class,
string mms_expire,
string mms_from,
string mms_url,
string from,
int concat,
int deliv_ack,
int msg_callback,
int deliv_time,
float max_credits,
int req_feat,
int queue,
int escalate,
int mo,
string cliMsgId,
int validity) {
object[] results = this.Invoke("ind_push", new object[] {
session_id,
api_id,
user,
password,
to,
mms_subject,
mms_class,
mms_expire,
mms_from,
mms_url,
from,
concat,
deliv_ack,
msg_callback,
deliv_time,
max_credits,
req_feat,
queue,
escalate,
mo,
cliMsgId,
validity});
return ((string[])(results[0]));
}
/// <remarks/>
public void ind_pushAsync(
string session_id,
int api_id,
string user,
string password,
string[] to,
string mms_subject,
string mms_class,
string mms_expire,
string mms_from,
string mms_url,
string from,
int concat,
int deliv_ack,
int msg_callback,
int deliv_time,
float max_credits,
int req_feat,
int queue,
int escalate,
int mo,
string cliMsgId,
int validity) {
this.ind_pushAsync(session_id, api_id, user, password, to, mms_subject, mms_class, mms_expire, mms_from, mms_url, from, concat, deliv_ack, msg_callback, deliv_time, max_credits, req_feat, queue, escalate, mo, cliMsgId, validity, null);
}
/// <remarks/>
public void ind_pushAsync(
string session_id,
int api_id,
string user,
string password,
string[] to,
string mms_subject,
string mms_class,
string mms_expire,
string mms_from,
string mms_url,
string from,
int concat,
int deliv_ack,
int msg_callback,
int deliv_time,
float max_credits,
int req_feat,
int queue,
int escalate,
int mo,
string cliMsgId,
int validity,
object userState) {
if ((this.ind_pushOperationCompleted == null)) {
this.ind_pushOperationCompleted = new System.Threading.SendOrPostCallback(this.Onind_pushOperationCompleted);
}
this.InvokeAsync("ind_push", new object[] {
session_id,
api_id,
user,
password,
to,
mms_subject,
mms_class,
mms_expire,
mms_from,
mms_url,
from,
concat,
deliv_ack,
msg_callback,
deliv_time,
max_credits,
req_feat,
queue,
escalate,
mo,
cliMsgId,
validity}, this.ind_pushOperationCompleted, userState);
}
private void Onind_pushOperationCompleted(object arg) {
if ((this.ind_pushCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.ind_pushCompleted(this, new ind_pushCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("http://api.clickatell.com/soap/webservice_vs.php/token_pay", RequestNamespace="http://api.clickatell.com/soap/webservice", ResponseNamespace="http://api.clickatell.com/soap/webservice")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public string token_pay(string session_id, int api_id, string user, string password, string token) {
object[] results = this.Invoke("token_pay", new object[] {
session_id,
api_id,
user,
password,
token});
return ((string)(results[0]));
}
/// <remarks/>
public void token_payAsync(string session_id, int api_id, string user, string password, string token) {
this.token_payAsync(session_id, api_id, user, password, token, null);
}
/// <remarks/>
public void token_payAsync(string session_id, int api_id, string user, string password, string token, object userState) {
if ((this.token_payOperationCompleted == null)) {
this.token_payOperationCompleted = new System.Threading.SendOrPostCallback(this.Ontoken_payOperationCompleted);
}
this.InvokeAsync("token_pay", new object[] {
session_id,
api_id,
user,
password,
token}, this.token_payOperationCompleted, userState);
}
private void Ontoken_payOperationCompleted(object arg) {
if ((this.token_payCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.token_payCompleted(this, new token_payCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("http://api.clickatell.com/soap/webservice_vs.php/startbatch", RequestNamespace="http://api.clickatell.com/soap/webservice", ResponseNamespace="http://api.clickatell.com/soap/webservice")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public string[] startbatch(
string session_id,
int api_id,
string user,
string password,
string from,
int concat,
string template,
int deliv_ack,
int msg_callback,
int deliv_time,
float max_credits,
int req_feat,
int queue,
int escalate,
int mo,
string cliMsgId,
int unicode,
string msg_type,
string udh,
string data,
int validity) {
object[] results = this.Invoke("startbatch", new object[] {
session_id,
api_id,
user,
password,
from,
concat,
template,
deliv_ack,
msg_callback,
deliv_time,
max_credits,
req_feat,
queue,
escalate,
mo,
cliMsgId,
unicode,
msg_type,
udh,
data,
validity});
return ((string[])(results[0]));
}
/// <remarks/>
public void startbatchAsync(
string session_id,
int api_id,
string user,
string password,
string from,
int concat,
string template,
int deliv_ack,
int msg_callback,
int deliv_time,
float max_credits,
int req_feat,
int queue,
int escalate,
int mo,
string cliMsgId,
int unicode,
string msg_type,
string udh,
string data,
int validity) {
this.startbatchAsync(session_id, api_id, user, password, from, concat, template, deliv_ack, msg_callback, deliv_time, max_credits, req_feat, queue, escalate, mo, cliMsgId, unicode, msg_type, udh, data, validity, null);
}
/// <remarks/>
public void startbatchAsync(
string session_id,
int api_id,
string user,
string password,
string from,
int concat,
string template,
int deliv_ack,
int msg_callback,
int deliv_time,
float max_credits,
int req_feat,
int queue,
int escalate,
int mo,
string cliMsgId,
int unicode,
string msg_type,
string udh,
string data,
int validity,
object userState) {
if ((this.startbatchOperationCompleted == null)) {
this.startbatchOperationCompleted = new System.Threading.SendOrPostCallback(this.OnstartbatchOperationCompleted);
}
this.InvokeAsync("startbatch", new object[] {
session_id,
api_id,
user,
password,
from,
concat,
template,
deliv_ack,
msg_callback,
deliv_time,
max_credits,
req_feat,
queue,
escalate,
mo,
cliMsgId,
unicode,
msg_type,
udh,
data,
validity}, this.startbatchOperationCompleted, userState);
}
private void OnstartbatchOperationCompleted(object arg) {
if ((this.startbatchCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.startbatchCompleted(this, new startbatchCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("http://api.clickatell.com/soap/webservice_vs.php/senditem", RequestNamespace="http://api.clickatell.com/soap/webservice", ResponseNamespace="http://api.clickatell.com/soap/webservice")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public string[] senditem(string session_id, int api_id, string user, string password, string batch_id, string[] to, string field1, string field2, string field3, string field4) {
object[] results = this.Invoke("senditem", new object[] {
session_id,
api_id,
user,
password,
batch_id,
to,
field1,
field2,
field3,
field4});
return ((string[])(results[0]));
}
/// <remarks/>
public void senditemAsync(string session_id, int api_id, string user, string password, string batch_id, string[] to, string field1, string field2, string field3, string field4) {
this.senditemAsync(session_id, api_id, user, password, batch_id, to, field1, field2, field3, field4, null);
}
/// <remarks/>
public void senditemAsync(string session_id, int api_id, string user, string password, string batch_id, string[] to, string field1, string field2, string field3, string field4, object userState) {
if ((this.senditemOperationCompleted == null)) {
this.senditemOperationCompleted = new System.Threading.SendOrPostCallback(this.OnsenditemOperationCompleted);
}
this.InvokeAsync("senditem", new object[] {
session_id,
api_id,
user,
password,
batch_id,
to,
field1,
field2,
field3,
field4}, this.senditemOperationCompleted, userState);
}
private void OnsenditemOperationCompleted(object arg) {
if ((this.senditemCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.senditemCompleted(this, new senditemCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("http://api.clickatell.com/soap/webservice_vs.php/quicksend", RequestNamespace="http://api.clickatell.com/soap/webservice", ResponseNamespace="http://api.clickatell.com/soap/webservice")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public string[] quicksend(string session_id, int api_id, string user, string password, string batch_id, string[] to) {
object[] results = this.Invoke("quicksend", new object[] {
session_id,
api_id,
user,
password,
batch_id,
to});
return ((string[])(results[0]));
}
/// <remarks/>
public void quicksendAsync(string session_id, int api_id, string user, string password, string batch_id, string[] to) {
this.quicksendAsync(session_id, api_id, user, password, batch_id, to, null);
}
/// <remarks/>
public void quicksendAsync(string session_id, int api_id, string user, string password, string batch_id, string[] to, object userState) {
if ((this.quicksendOperationCompleted == null)) {
this.quicksendOperationCompleted = new System.Threading.SendOrPostCallback(this.OnquicksendOperationCompleted);
}
this.InvokeAsync("quicksend", new object[] {
session_id,
api_id,
user,
password,
batch_id,
to}, this.quicksendOperationCompleted, userState);
}
private void OnquicksendOperationCompleted(object arg) {
if ((this.quicksendCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.quicksendCompleted(this, new quicksendCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("http://api.clickatell.com/soap/webservice_vs.php/endbatch", RequestNamespace="http://api.clickatell.com/soap/webservice", ResponseNamespace="http://api.clickatell.com/soap/webservice")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public string[] endbatch(string session_id, int api_id, string user, string password, string batch_id) {
object[] results = this.Invoke("endbatch", new object[] {
session_id,
api_id,
user,
password,
batch_id});
return ((string[])(results[0]));
}
/// <remarks/>
public void endbatchAsync(string session_id, int api_id, string user, string password, string batch_id) {
this.endbatchAsync(session_id, api_id, user, password, batch_id, null);
}
/// <remarks/>
public void endbatchAsync(string session_id, int api_id, string user, string password, string batch_id, object userState) {
if ((this.endbatchOperationCompleted == null)) {
this.endbatchOperationCompleted = new System.Threading.SendOrPostCallback(this.OnendbatchOperationCompleted);
}
this.InvokeAsync("endbatch", new object[] {
session_id,
api_id,
user,
password,
batch_id}, this.endbatchOperationCompleted, userState);
}
private void OnendbatchOperationCompleted(object arg) {
if ((this.endbatchCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.endbatchCompleted(this, new endbatchCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("http://api.clickatell.com/soap/webservice_vs.php/getmsgcharge", RequestNamespace="http://api.clickatell.com/soap/webservice", ResponseNamespace="http://api.clickatell.com/soap/webservice")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public string[] getmsgcharge(string session_id, int api_id, string user, string password, string apimsgid) {
object[] results = this.Invoke("getmsgcharge", new object[] {
session_id,
api_id,
user,
password,
apimsgid});
return ((string[])(results[0]));
}
/// <remarks/>
public void getmsgchargeAsync(string session_id, int api_id, string user, string password, string apimsgid) {
this.getmsgchargeAsync(session_id, api_id, user, password, apimsgid, null);
}
/// <remarks/>
public void getmsgchargeAsync(string session_id, int api_id, string user, string password, string apimsgid, object userState) {
if ((this.getmsgchargeOperationCompleted == null)) {
this.getmsgchargeOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetmsgchargeOperationCompleted);
}
this.InvokeAsync("getmsgcharge", new object[] {
session_id,
api_id,
user,
password,
apimsgid}, this.getmsgchargeOperationCompleted, userState);
}
private void OngetmsgchargeOperationCompleted(object arg) {
if ((this.getmsgchargeCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.getmsgchargeCompleted(this, new getmsgchargeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
public new void CancelAsync(object userState) {
base.CancelAsync(userState);
}
private bool IsLocalFileSystemWebService(string url) {
if (((url == null)
|| (url == string.Empty))) {
return false;
}
System.Uri wsUri = new System.Uri(url);
if (((wsUri.Port >= 1024)
&& (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
return true;
}
return false;
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
public delegate void authCompletedEventHandler(object sender, authCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class authCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal authCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
public delegate void pingCompletedEventHandler(object sender, pingCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class pingCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal pingCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
public delegate void sendmsgCompletedEventHandler(object sender, sendmsgCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class sendmsgCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal sendmsgCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((string[])(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
public delegate void querymsgCompletedEventHandler(object sender, querymsgCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class querymsgCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal querymsgCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((string[])(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
public delegate void delmsgCompletedEventHandler(object sender, delmsgCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class delmsgCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal delmsgCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((string[])(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
public delegate void getbalanceCompletedEventHandler(object sender, getbalanceCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class getbalanceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal getbalanceCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
public delegate void routeCoverageCompletedEventHandler(object sender, routeCoverageCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class routeCoverageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal routeCoverageCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
public delegate void si_pushCompletedEventHandler(object sender, si_pushCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class si_pushCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal si_pushCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((string[])(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
public delegate void ind_pushCompletedEventHandler(object sender, ind_pushCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class ind_pushCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal ind_pushCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((string[])(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
public delegate void token_payCompletedEventHandler(object sender, token_payCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class token_payCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal token_payCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
public delegate void startbatchCompletedEventHandler(object sender, startbatchCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class startbatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal startbatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((string[])(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
public delegate void senditemCompletedEventHandler(object sender, senditemCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class senditemCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal senditemCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((string[])(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
public delegate void quicksendCompletedEventHandler(object sender, quicksendCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class quicksendCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal quicksendCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((string[])(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
public delegate void endbatchCompletedEventHandler(object sender, endbatchCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class endbatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal endbatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((string[])(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
public delegate void getmsgchargeCompletedEventHandler(object sender, getmsgchargeCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class getmsgchargeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal getmsgchargeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string[] Result {
get {
this.RaiseExceptionIfNecessary();
return ((string[])(this.results[0]));
}
}
}
}
#pragma warning restore 1591
|