1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488
|
//
// This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
// project.
//
// Copyright (C) 1998-2012 OpenLink Software
//
// This project is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the
// Free Software Foundation; only version 2 of the License, dated June 1991.
//
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
//
// You should have received a copy of the GNU General Public License along
// with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
//
//
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.0.3705.288
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
//
// This source code was auto-generated by Microsoft.VSDesigner, Version 1.0.3705.288.
//
namespace redcoalsms.net.redcoal.xml {
using System.Diagnostics;
using System.Xml.Serialization;
using System;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.Web.Services;
/// <remarks/>
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="ISOAPServerbinding", Namespace="http://tempuri.org/")]
public class ISOAPServerservice : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public ISOAPServerservice() {
this.Url = "http://xml.redcoal.com/soapserver.dll/soap/ISoapServer";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:SOAPServerImpl-ISOAPServer#SendTextSMS", RequestNamespace="urn:SOAPServerImpl-ISOAPServer", ResponseNamespace="urn:SOAPServerImpl-ISOAPServer")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public int SendTextSMS(string strInSerialNo, string strInSMSKey, string strInRecipients, string strInMessageText, string strInReplyEmail, string strInOriginator, int iInType, ref string strOutMessageIDs) {
object[] results = this.Invoke("SendTextSMS", new object[] {
strInSerialNo,
strInSMSKey,
strInRecipients,
strInMessageText,
strInReplyEmail,
strInOriginator,
iInType,
strOutMessageIDs});
strOutMessageIDs = ((string)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginSendTextSMS(string strInSerialNo, string strInSMSKey, string strInRecipients, string strInMessageText, string strInReplyEmail, string strInOriginator, int iInType, string strOutMessageIDs, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SendTextSMS", new object[] {
strInSerialNo,
strInSMSKey,
strInRecipients,
strInMessageText,
strInReplyEmail,
strInOriginator,
iInType,
strOutMessageIDs}, callback, asyncState);
}
/// <remarks/>
public int EndSendTextSMS(System.IAsyncResult asyncResult, out string strOutMessageIDs) {
object[] results = this.EndInvoke(asyncResult);
strOutMessageIDs = ((string)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:SOAPServerImpl-ISOAPServer#SendBinarySMS", RequestNamespace="urn:SOAPServerImpl-ISOAPServer", ResponseNamespace="urn:SOAPServerImpl-ISOAPServer")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public int SendBinarySMS(string strInSerialNo, string strInSMSKey, string strInRecipients, [System.Xml.Serialization.SoapElementAttribute(DataType="base64Binary")] System.Byte[] strInBinaryContent, string strInExtraParam, string strInReplyEmail, int iInType, ref string strOutMessageIDs) {
object[] results = this.Invoke("SendBinarySMS", new object[] {
strInSerialNo,
strInSMSKey,
strInRecipients,
strInBinaryContent,
strInExtraParam,
strInReplyEmail,
iInType,
strOutMessageIDs});
strOutMessageIDs = ((string)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginSendBinarySMS(string strInSerialNo, string strInSMSKey, string strInRecipients, System.Byte[] strInBinaryContent, string strInExtraParam, string strInReplyEmail, int iInType, string strOutMessageIDs, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SendBinarySMS", new object[] {
strInSerialNo,
strInSMSKey,
strInRecipients,
strInBinaryContent,
strInExtraParam,
strInReplyEmail,
iInType,
strOutMessageIDs}, callback, asyncState);
}
/// <remarks/>
public int EndSendBinarySMS(System.IAsyncResult asyncResult, out string strOutMessageIDs) {
object[] results = this.EndInvoke(asyncResult);
strOutMessageIDs = ((string)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:SOAPServerImpl-ISOAPServer#CheckMessageStatus", RequestNamespace="urn:SOAPServerImpl-ISOAPServer", ResponseNamespace="urn:SOAPServerImpl-ISOAPServer")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public int CheckMessageStatus(string strInSerialNo, string strInSMSKey, string strInMessageIDs, ref string strOutMessageStatus) {
object[] results = this.Invoke("CheckMessageStatus", new object[] {
strInSerialNo,
strInSMSKey,
strInMessageIDs,
strOutMessageStatus});
strOutMessageStatus = ((string)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginCheckMessageStatus(string strInSerialNo, string strInSMSKey, string strInMessageIDs, string strOutMessageStatus, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CheckMessageStatus", new object[] {
strInSerialNo,
strInSMSKey,
strInMessageIDs,
strOutMessageStatus}, callback, asyncState);
}
/// <remarks/>
public int EndCheckMessageStatus(System.IAsyncResult asyncResult, out string strOutMessageStatus) {
object[] results = this.EndInvoke(asyncResult);
strOutMessageStatus = ((string)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:SOAPServerImpl-ISOAPServer#GetPropertyPage", RequestNamespace="urn:SOAPServerImpl-ISOAPServer", ResponseNamespace="urn:SOAPServerImpl-ISOAPServer")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public int GetPropertyPage(string strInSerialNo, string strInSMSKey, ref string strOutContent, bool bFirstUse) {
object[] results = this.Invoke("GetPropertyPage", new object[] {
strInSerialNo,
strInSMSKey,
strOutContent,
bFirstUse});
strOutContent = ((string)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetPropertyPage(string strInSerialNo, string strInSMSKey, string strOutContent, bool bFirstUse, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetPropertyPage", new object[] {
strInSerialNo,
strInSMSKey,
strOutContent,
bFirstUse}, callback, asyncState);
}
/// <remarks/>
public int EndGetPropertyPage(System.IAsyncResult asyncResult, out string strOutContent) {
object[] results = this.EndInvoke(asyncResult);
strOutContent = ((string)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:SOAPServerImpl-ISOAPServer#GetCreditsLeft", RequestNamespace="urn:SOAPServerImpl-ISOAPServer", ResponseNamespace="urn:SOAPServerImpl-ISOAPServer")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public int GetCreditsLeft(string strInSerialNo, string strInSMSKey, ref System.Double dOutCreditsLeft) {
object[] results = this.Invoke("GetCreditsLeft", new object[] {
strInSerialNo,
strInSMSKey,
dOutCreditsLeft});
dOutCreditsLeft = ((System.Double)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetCreditsLeft(string strInSerialNo, string strInSMSKey, System.Double dOutCreditsLeft, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetCreditsLeft", new object[] {
strInSerialNo,
strInSMSKey,
dOutCreditsLeft}, callback, asyncState);
}
/// <remarks/>
public int EndGetCreditsLeft(System.IAsyncResult asyncResult, out System.Double dOutCreditsLeft) {
object[] results = this.EndInvoke(asyncResult);
dOutCreditsLeft = ((System.Double)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:SOAPServerImpl-ISOAPServer#GetLicenseInformation", RequestNamespace="urn:SOAPServerImpl-ISOAPServer", ResponseNamespace="urn:SOAPServerImpl-ISOAPServer")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public int GetLicenseInformation(string strInSerialNo, string strInSMSKey, ref string strOutLicenseInfo) {
object[] results = this.Invoke("GetLicenseInformation", new object[] {
strInSerialNo,
strInSMSKey,
strOutLicenseInfo});
strOutLicenseInfo = ((string)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetLicenseInformation(string strInSerialNo, string strInSMSKey, string strOutLicenseInfo, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetLicenseInformation", new object[] {
strInSerialNo,
strInSMSKey,
strOutLicenseInfo}, callback, asyncState);
}
/// <remarks/>
public int EndGetLicenseInformation(System.IAsyncResult asyncResult, out string strOutLicenseInfo) {
object[] results = this.EndInvoke(asyncResult);
strOutLicenseInfo = ((string)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:SOAPServerImpl-ISOAPServer#GetIncomingMessage", RequestNamespace="urn:SOAPServerImpl-ISOAPServer", ResponseNamespace="urn:SOAPServerImpl-ISOAPServer")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public int GetIncomingMessage(string strInSerialNo, string strInSMSKey, string strInReplyEmail, ref string strOutSender, ref string strOutMessageContent, ref string strOutTimeStamp, ref int iOutMessagesLeft) {
object[] results = this.Invoke("GetIncomingMessage", new object[] {
strInSerialNo,
strInSMSKey,
strInReplyEmail,
strOutSender,
strOutMessageContent,
strOutTimeStamp,
iOutMessagesLeft});
strOutSender = ((string)(results[1]));
strOutMessageContent = ((string)(results[2]));
strOutTimeStamp = ((string)(results[3]));
iOutMessagesLeft = ((int)(results[4]));
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetIncomingMessage(string strInSerialNo, string strInSMSKey, string strInReplyEmail, string strOutSender, string strOutMessageContent, string strOutTimeStamp, int iOutMessagesLeft, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetIncomingMessage", new object[] {
strInSerialNo,
strInSMSKey,
strInReplyEmail,
strOutSender,
strOutMessageContent,
strOutTimeStamp,
iOutMessagesLeft}, callback, asyncState);
}
/// <remarks/>
public int EndGetIncomingMessage(System.IAsyncResult asyncResult, out string strOutSender, out string strOutMessageContent, out string strOutTimeStamp, out int iOutMessagesLeft) {
object[] results = this.EndInvoke(asyncResult);
strOutSender = ((string)(results[1]));
strOutMessageContent = ((string)(results[2]));
strOutTimeStamp = ((string)(results[3]));
iOutMessagesLeft = ((int)(results[4]));
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:SOAPServerImpl-ISOAPServer#EnterSchedule", RequestNamespace="urn:SOAPServerImpl-ISOAPServer", ResponseNamespace="urn:SOAPServerImpl-ISOAPServer")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public int EnterSchedule(string strInSerialNo, string strInSMSKey, string strInRecipients, string strInMessageText, string strInReplyEmail, string strInOriginator, System.Double dInDateTime, System.Double dInRefTime, int iInType) {
object[] results = this.Invoke("EnterSchedule", new object[] {
strInSerialNo,
strInSMSKey,
strInRecipients,
strInMessageText,
strInReplyEmail,
strInOriginator,
dInDateTime,
dInRefTime,
iInType});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginEnterSchedule(string strInSerialNo, string strInSMSKey, string strInRecipients, string strInMessageText, string strInReplyEmail, string strInOriginator, System.Double dInDateTime, System.Double dInRefTime, int iInType, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("EnterSchedule", new object[] {
strInSerialNo,
strInSMSKey,
strInRecipients,
strInMessageText,
strInReplyEmail,
strInOriginator,
dInDateTime,
dInRefTime,
iInType}, callback, asyncState);
}
/// <remarks/>
public int EndEnterSchedule(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:SOAPServerImpl-ISOAPServer#EnterScheduleExt", RequestNamespace="urn:SOAPServerImpl-ISOAPServer", ResponseNamespace="urn:SOAPServerImpl-ISOAPServer")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public int EnterScheduleExt(string strInSerialNo, string strInSMSKey, string strInRecipients, string strInMessageText, string strInReplyEmail, string strInOriginator, System.Double dInDateTime, System.Double dInRefTime, int iInType, ref string strOutMessageIDs) {
object[] results = this.Invoke("EnterScheduleExt", new object[] {
strInSerialNo,
strInSMSKey,
strInRecipients,
strInMessageText,
strInReplyEmail,
strInOriginator,
dInDateTime,
dInRefTime,
iInType,
strOutMessageIDs});
strOutMessageIDs = ((string)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginEnterScheduleExt(string strInSerialNo, string strInSMSKey, string strInRecipients, string strInMessageText, string strInReplyEmail, string strInOriginator, System.Double dInDateTime, System.Double dInRefTime, int iInType, string strOutMessageIDs, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("EnterScheduleExt", new object[] {
strInSerialNo,
strInSMSKey,
strInRecipients,
strInMessageText,
strInReplyEmail,
strInOriginator,
dInDateTime,
dInRefTime,
iInType,
strOutMessageIDs}, callback, asyncState);
}
/// <remarks/>
public int EndEnterScheduleExt(System.IAsyncResult asyncResult, out string strOutMessageIDs) {
object[] results = this.EndInvoke(asyncResult);
strOutMessageIDs = ((string)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:SOAPServerImpl-ISOAPServer#DeleteSchedule", RequestNamespace="urn:SOAPServerImpl-ISOAPServer", ResponseNamespace="urn:SOAPServerImpl-ISOAPServer")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public int DeleteSchedule(string strInSerialNo, string strInSMSKey, string strInMessageIDs) {
object[] results = this.Invoke("DeleteSchedule", new object[] {
strInSerialNo,
strInSMSKey,
strInMessageIDs});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginDeleteSchedule(string strInSerialNo, string strInSMSKey, string strInMessageIDs, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteSchedule", new object[] {
strInSerialNo,
strInSMSKey,
strInMessageIDs}, callback, asyncState);
}
/// <remarks/>
public int EndDeleteSchedule(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:SOAPServerImpl-ISOAPServer#GetListNames", RequestNamespace="urn:SOAPServerImpl-ISOAPServer", ResponseNamespace="urn:SOAPServerImpl-ISOAPServer")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public int GetListNames(string strInSerialNo, string strInSMSKey, ref string strOutListNames) {
object[] results = this.Invoke("GetListNames", new object[] {
strInSerialNo,
strInSMSKey,
strOutListNames});
strOutListNames = ((string)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetListNames(string strInSerialNo, string strInSMSKey, string strOutListNames, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetListNames", new object[] {
strInSerialNo,
strInSMSKey,
strOutListNames}, callback, asyncState);
}
/// <remarks/>
public int EndGetListNames(System.IAsyncResult asyncResult, out string strOutListNames) {
object[] results = this.EndInvoke(asyncResult);
strOutListNames = ((string)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:SOAPServerImpl-ISOAPServer#GetListEntries", RequestNamespace="urn:SOAPServerImpl-ISOAPServer", ResponseNamespace="urn:SOAPServerImpl-ISOAPServer")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public int GetListEntries(string strInSerialNo, string strInSMSKey, int iInListID, ref string strOutListEntries) {
object[] results = this.Invoke("GetListEntries", new object[] {
strInSerialNo,
strInSMSKey,
iInListID,
strOutListEntries});
strOutListEntries = ((string)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetListEntries(string strInSerialNo, string strInSMSKey, int iInListID, string strOutListEntries, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetListEntries", new object[] {
strInSerialNo,
strInSMSKey,
iInListID,
strOutListEntries}, callback, asyncState);
}
/// <remarks/>
public int EndGetListEntries(System.IAsyncResult asyncResult, out string strOutListEntries) {
object[] results = this.EndInvoke(asyncResult);
strOutListEntries = ((string)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:SOAPServerImpl-ISOAPServer#RegisterAccount", RequestNamespace="urn:SOAPServerImpl-ISOAPServer", ResponseNamespace="urn:SOAPServerImpl-ISOAPServer")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public int RegisterAccount(string strInSerialNo, string strInEmailAddress, string strInName, string strInOrganization, int iInCountryID) {
object[] results = this.Invoke("RegisterAccount", new object[] {
strInSerialNo,
strInEmailAddress,
strInName,
strInOrganization,
iInCountryID});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginRegisterAccount(string strInSerialNo, string strInEmailAddress, string strInName, string strInOrganization, int iInCountryID, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("RegisterAccount", new object[] {
strInSerialNo,
strInEmailAddress,
strInName,
strInOrganization,
iInCountryID}, callback, asyncState);
}
/// <remarks/>
public int EndRegisterAccount(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:SOAPServerImpl-ISOAPServer#RedWebServiceVersion", RequestNamespace="urn:SOAPServerImpl-ISOAPServer", ResponseNamespace="urn:SOAPServerImpl-ISOAPServer")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public string RedWebServiceVersion() {
object[] results = this.Invoke("RedWebServiceVersion", new object[0]);
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginRedWebServiceVersion(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("RedWebServiceVersion", new object[0], callback, asyncState);
}
/// <remarks/>
public string EndRedWebServiceVersion(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
}
}
|