Fixes the compilation:
Fixes the missing csharp generated to implement the Web reference to the Diamond card API
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,7 +6,6 @@ plugins/*/obj
|
||||
packages
|
||||
web/avatars
|
||||
web/users
|
||||
web/Web References
|
||||
build
|
||||
.nuget
|
||||
.gitignore
|
||||
|
322
web/Web References/sms.diamondcard.us/Reference.cs
Normal file
322
web/Web References/sms.diamondcard.us/Reference.cs
Normal file
@ -0,0 +1,322 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// This code was generated by a tool.
|
||||
// Mono Runtime Version: 4.0.30319.17020
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Yavsc.sms.diamondcard.us {
|
||||
|
||||
|
||||
/// <remarks/>
|
||||
[System.Web.Services.WebServiceBinding(Name="SMSapi", Namespace="http://sms.diamondcard.us/SMSapi")]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
public partial class SMSapiHandlerService : System.Web.Services.Protocols.SoapHttpClientProtocol {
|
||||
|
||||
private System.Threading.SendOrPostCallback sendOperationCompleted;
|
||||
|
||||
private System.Threading.SendOrPostCallback statusOperationCompleted;
|
||||
|
||||
public SMSapiHandlerService() {
|
||||
this.Url = "http://sms.diamondcard.us/";
|
||||
}
|
||||
|
||||
public SMSapiHandlerService(string url) {
|
||||
this.Url = url;
|
||||
}
|
||||
|
||||
public event sendCompletedEventHandler sendCompleted;
|
||||
|
||||
public event statusCompletedEventHandler statusCompleted;
|
||||
|
||||
/// <remarks>
|
||||
///Sending request
|
||||
///</remarks>
|
||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://sms.diamondcard.us/SMSapi#send", RequestNamespace="http://sms.diamondcard.us/SMSapi", ResponseNamespace="http://sms.diamondcard.us/SMSapi", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, Use=System.Web.Services.Description.SoapBindingUse.Literal)]
|
||||
[return: System.Xml.Serialization.XmlElementAttribute("out")]
|
||||
public PodCustomTypesSendOut send(PodCustomTypesSendIn inParams) {
|
||||
object[] results = this.Invoke("send", new object[] {
|
||||
inParams});
|
||||
return ((PodCustomTypesSendOut)(results[0]));
|
||||
}
|
||||
|
||||
public System.IAsyncResult Beginsend(PodCustomTypesSendIn inParams, System.AsyncCallback callback, object asyncState) {
|
||||
return this.BeginInvoke("send", new object[] {
|
||||
inParams}, callback, asyncState);
|
||||
}
|
||||
|
||||
public PodCustomTypesSendOut Endsend(System.IAsyncResult asyncResult) {
|
||||
object[] results = this.EndInvoke(asyncResult);
|
||||
return ((PodCustomTypesSendOut)(results[0]));
|
||||
}
|
||||
|
||||
public void sendAsync(PodCustomTypesSendIn inParams) {
|
||||
this.sendAsync(inParams, null);
|
||||
}
|
||||
|
||||
public void sendAsync(PodCustomTypesSendIn inParams, object userState) {
|
||||
if ((this.sendOperationCompleted == null)) {
|
||||
this.sendOperationCompleted = new System.Threading.SendOrPostCallback(this.OnsendCompleted);
|
||||
}
|
||||
this.InvokeAsync("send", new object[] {
|
||||
inParams}, this.sendOperationCompleted, userState);
|
||||
}
|
||||
|
||||
private void OnsendCompleted(object arg) {
|
||||
if ((this.sendCompleted != null)) {
|
||||
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||
this.sendCompleted(this, new sendCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks>
|
||||
///Sending status request
|
||||
///</remarks>
|
||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://sms.diamondcard.us/SMSapi#status", RequestNamespace="http://sms.diamondcard.us/SMSapi", ResponseNamespace="http://sms.diamondcard.us/SMSapi", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, Use=System.Web.Services.Description.SoapBindingUse.Literal)]
|
||||
[return: System.Xml.Serialization.XmlElementAttribute("out")]
|
||||
public PodCustomTypesStatusOut status(PodCustomTypesStatusIn inParams) {
|
||||
object[] results = this.Invoke("status", new object[] {
|
||||
inParams});
|
||||
return ((PodCustomTypesStatusOut)(results[0]));
|
||||
}
|
||||
|
||||
public System.IAsyncResult Beginstatus(PodCustomTypesStatusIn inParams, System.AsyncCallback callback, object asyncState) {
|
||||
return this.BeginInvoke("status", new object[] {
|
||||
inParams}, callback, asyncState);
|
||||
}
|
||||
|
||||
public PodCustomTypesStatusOut Endstatus(System.IAsyncResult asyncResult) {
|
||||
object[] results = this.EndInvoke(asyncResult);
|
||||
return ((PodCustomTypesStatusOut)(results[0]));
|
||||
}
|
||||
|
||||
public void statusAsync(PodCustomTypesStatusIn inParams) {
|
||||
this.statusAsync(inParams, null);
|
||||
}
|
||||
|
||||
public void statusAsync(PodCustomTypesStatusIn inParams, object userState) {
|
||||
if ((this.statusOperationCompleted == null)) {
|
||||
this.statusOperationCompleted = new System.Threading.SendOrPostCallback(this.OnstatusCompleted);
|
||||
}
|
||||
this.InvokeAsync("status", new object[] {
|
||||
inParams}, this.statusOperationCompleted, userState);
|
||||
}
|
||||
|
||||
private void OnstatusCompleted(object arg) {
|
||||
if ((this.statusCompleted != null)) {
|
||||
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||
this.statusCompleted(this, new statusCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17020")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://sms.diamondcard.us/SMSapi")]
|
||||
public partial class PodCustomTypesSendIn {
|
||||
|
||||
/// <remarks>
|
||||
///Account Id
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
|
||||
public string AccId;
|
||||
|
||||
/// <remarks>
|
||||
///PIN code
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
|
||||
public string PinCode;
|
||||
|
||||
/// <remarks>
|
||||
///Message to sent
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
|
||||
public string MsgTxt;
|
||||
|
||||
/// <remarks>
|
||||
///Send From phone number
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
|
||||
public string SendFrom;
|
||||
|
||||
/// <remarks>
|
||||
///Phone number or list of phone numbers to send message to
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute("Destination", IsNullable=true)]
|
||||
public string[] Destination;
|
||||
|
||||
/// <remarks>
|
||||
///If this parameter set to 1 messages will be sent to all valid phone numbers in the list
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true, DataType="int")]
|
||||
public System.Nullable<int> IgnoreInvNumbers;
|
||||
|
||||
/// <remarks>
|
||||
///If this parameter set to 1 sending will start and go on till you have enough funds on your account
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true, DataType="int")]
|
||||
public System.Nullable<int> IgnoreInsufBalance;
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17020")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://sms.diamondcard.us/SMSapi")]
|
||||
public partial class PodCustomTypesSendOut {
|
||||
|
||||
/// <remarks>
|
||||
///ErrCode - one of the following: empty - success, INVDEST - invalid destinations error. List of invalid phone numbers available at 'InvalidDestinations' array, LOWBALANCE - Insufficient balance, NOTAVAIL - Service not available, ERR - misc errors. More details available at ErrMsg
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
|
||||
public string ErrCode;
|
||||
|
||||
/// <remarks>
|
||||
///Error description text
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
|
||||
public string ErrMsg;
|
||||
|
||||
/// <remarks>
|
||||
///Sending Id in case of successfull sending
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true, DataType="int")]
|
||||
public System.Nullable<int> SendingId;
|
||||
|
||||
/// <remarks>
|
||||
///When ErrCode=INVDEST this field contains array of invalid phone numbers
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute("InvalidDestinations", IsNullable=true)]
|
||||
public string[] InvalidDestinations;
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17020")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://sms.diamondcard.us/SMSapi")]
|
||||
public partial class PodCustomTypesStatusIn {
|
||||
|
||||
/// <remarks>
|
||||
///Account Id
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
|
||||
public string AccId;
|
||||
|
||||
/// <remarks>
|
||||
///PIN code
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
|
||||
public string PinCode;
|
||||
|
||||
/// <remarks>
|
||||
///Sending Id
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true, DataType="int")]
|
||||
public System.Nullable<int> SendingId;
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17020")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://sms.diamondcard.us/SMSapi")]
|
||||
public partial class PodCustomTypesStatusOut {
|
||||
|
||||
/// <remarks>
|
||||
///ErrCode - one of the following: empty - success, ERR - misc errors. More details available at ErrMsg
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
|
||||
public string ErrCode;
|
||||
|
||||
/// <remarks>
|
||||
///Error description text
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
|
||||
public string ErrMsg;
|
||||
|
||||
/// <remarks>
|
||||
///Number of messages in queue
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true, DataType="int")]
|
||||
public System.Nullable<int> Queue;
|
||||
|
||||
/// <remarks>
|
||||
///Number of sent messages
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true, DataType="int")]
|
||||
public System.Nullable<int> Sent;
|
||||
|
||||
/// <remarks>
|
||||
///Number of delivered messages (if available)
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true, DataType="int")]
|
||||
public System.Nullable<int> Delivered;
|
||||
|
||||
/// <remarks>
|
||||
///Number of failed messages
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true, DataType="int")]
|
||||
public System.Nullable<int> Failed;
|
||||
|
||||
/// <remarks>
|
||||
///How much this sending costs
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true, DataType="float")]
|
||||
public System.Nullable<float> Cost;
|
||||
|
||||
/// <remarks>
|
||||
///Currency code for Cost
|
||||
///</remarks>
|
||||
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
|
||||
public string Currency;
|
||||
}
|
||||
|
||||
public partial class sendCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
||||
|
||||
private object[] results;
|
||||
|
||||
internal sendCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
||||
base(exception, cancelled, userState) {
|
||||
this.results = results;
|
||||
}
|
||||
|
||||
public PodCustomTypesSendOut Result {
|
||||
get {
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((PodCustomTypesSendOut)(this.results[0]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public delegate void sendCompletedEventHandler(object sender, sendCompletedEventArgs args);
|
||||
|
||||
public partial class statusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
||||
|
||||
private object[] results;
|
||||
|
||||
internal statusCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
||||
base(exception, cancelled, userState) {
|
||||
this.results = results;
|
||||
}
|
||||
|
||||
public PodCustomTypesStatusOut Result {
|
||||
get {
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((PodCustomTypesStatusOut)(this.results[0]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public delegate void statusCompletedEventHandler(object sender, statusCompletedEventArgs args);
|
||||
}
|
6
web/Web References/sms.diamondcard.us/Reference.map
Normal file
6
web/Web References/sms.diamondcard.us/Reference.map
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<DiscoveryClientResultsFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Results>
|
||||
<DiscoveryClientResult filename="smsapi.wsdl" referenceType="System.Web.Services.Discovery.ContractReference" url="http://sms.diamondcard.us/doc/sms-api.wsdl" />
|
||||
</Results>
|
||||
</DiscoveryClientResultsFile>
|
219
web/Web References/sms.diamondcard.us/smsapi.wsdl
Normal file
219
web/Web References/sms.diamondcard.us/smsapi.wsdl
Normal file
@ -0,0 +1,219 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s0="http://sms.diamondcard.us/SMSapi" xmlns:impl="http://sms.diamondcard.us/SMSapi" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns1="http://sms.diamondcard.us/SMSapi" targetNamespace="http://sms.diamondcard.us/SMSapi" xmlns="http://schemas.xmlsoap.org/wsdl/">
|
||||
<types>
|
||||
<q1:schema elementFormDefault="qualified" targetNamespace="http://sms.diamondcard.us/SMSapi" xmlns:q1="http://www.w3.org/2001/XMLSchema">
|
||||
<q1:element name="send">
|
||||
<q1:complexType>
|
||||
<q1:sequence>
|
||||
<q1:element minOccurs="0" maxOccurs="1" name="inParams" type="tns1:PodCustomTypesSendIn" />
|
||||
</q1:sequence>
|
||||
</q1:complexType>
|
||||
</q1:element>
|
||||
<q1:element name="sendResponse">
|
||||
<q1:complexType>
|
||||
<q1:sequence>
|
||||
<q1:element minOccurs="1" maxOccurs="1" name="out" type="tns1:PodCustomTypesSendOut" />
|
||||
</q1:sequence>
|
||||
</q1:complexType>
|
||||
</q1:element>
|
||||
<q1:element name="status">
|
||||
<q1:complexType>
|
||||
<q1:sequence>
|
||||
<q1:element minOccurs="0" maxOccurs="1" name="inParams" type="tns1:PodCustomTypesStatusIn" />
|
||||
</q1:sequence>
|
||||
</q1:complexType>
|
||||
</q1:element>
|
||||
<q1:element name="statusResponse">
|
||||
<q1:complexType>
|
||||
<q1:sequence>
|
||||
<q1:element minOccurs="1" maxOccurs="1" name="out" type="tns1:PodCustomTypesStatusOut" />
|
||||
</q1:sequence>
|
||||
</q1:complexType>
|
||||
</q1:element>
|
||||
<q1:complexType name="PodCustomTypesSendOut">
|
||||
<q1:sequence>
|
||||
<q1:element name="ErrCode" nillable="true" type="q1:string">
|
||||
<q1:annotation>
|
||||
<q1:documentation>ErrCode - one of the following: empty - success, INVDEST - invalid destinations error. List of invalid phone numbers available at 'InvalidDestinations' array, LOWBALANCE - Insufficient balance, NOTAVAIL - Service not available, ERR - misc errors. More details available at ErrMsg</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
<q1:element name="ErrMsg" nillable="true" type="q1:string">
|
||||
<q1:annotation>
|
||||
<q1:documentation>Error description text</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
<q1:element name="SendingId" nillable="true" type="q1:int">
|
||||
<q1:annotation>
|
||||
<q1:documentation>Sending Id in case of successfull sending</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
<q1:element minOccurs="0" maxOccurs="unbounded" name="InvalidDestinations" nillable="true" type="q1:string">
|
||||
<q1:annotation>
|
||||
<q1:documentation>When ErrCode=INVDEST this field contains array of invalid phone numbers</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
</q1:sequence>
|
||||
</q1:complexType>
|
||||
<q1:complexType name="PodCustomTypesStatusIn">
|
||||
<q1:sequence>
|
||||
<q1:element name="AccId" nillable="true" type="q1:string">
|
||||
<q1:annotation>
|
||||
<q1:documentation>Account Id</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
<q1:element name="PinCode" nillable="true" type="q1:string">
|
||||
<q1:annotation>
|
||||
<q1:documentation>PIN code</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
<q1:element name="SendingId" nillable="true" type="q1:int">
|
||||
<q1:annotation>
|
||||
<q1:documentation>Sending Id</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
</q1:sequence>
|
||||
</q1:complexType>
|
||||
<q1:complexType name="PodCustomTypesSendIn">
|
||||
<q1:sequence>
|
||||
<q1:element name="AccId" nillable="true" type="q1:string">
|
||||
<q1:annotation>
|
||||
<q1:documentation>Account Id</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
<q1:element name="PinCode" nillable="true" type="q1:string">
|
||||
<q1:annotation>
|
||||
<q1:documentation>PIN code</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
<q1:element name="MsgTxt" nillable="true" type="q1:string">
|
||||
<q1:annotation>
|
||||
<q1:documentation>Message to sent</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
<q1:element name="SendFrom" nillable="true" type="q1:string">
|
||||
<q1:annotation>
|
||||
<q1:documentation>Send From phone number</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
<q1:element minOccurs="1" maxOccurs="unbounded" name="Destination" nillable="true" type="q1:string">
|
||||
<q1:annotation>
|
||||
<q1:documentation>Phone number or list of phone numbers to send message to</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
<q1:element name="IgnoreInvNumbers" nillable="true" type="q1:int">
|
||||
<q1:annotation>
|
||||
<q1:documentation>If this parameter set to 1 messages will be sent to all valid phone numbers in the list</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
<q1:element name="IgnoreInsufBalance" nillable="true" type="q1:int">
|
||||
<q1:annotation>
|
||||
<q1:documentation>If this parameter set to 1 sending will start and go on till you have enough funds on your account</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
</q1:sequence>
|
||||
</q1:complexType>
|
||||
<q1:complexType name="PodCustomTypesStatusOut">
|
||||
<q1:sequence>
|
||||
<q1:element name="ErrCode" nillable="true" type="q1:string">
|
||||
<q1:annotation>
|
||||
<q1:documentation>ErrCode - one of the following: empty - success, ERR - misc errors. More details available at ErrMsg</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
<q1:element name="ErrMsg" nillable="true" type="q1:string">
|
||||
<q1:annotation>
|
||||
<q1:documentation>Error description text</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
<q1:element name="Queue" nillable="true" type="q1:int">
|
||||
<q1:annotation>
|
||||
<q1:documentation>Number of messages in queue</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
<q1:element name="Sent" nillable="true" type="q1:int">
|
||||
<q1:annotation>
|
||||
<q1:documentation>Number of sent messages</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
<q1:element name="Delivered" nillable="true" type="q1:int">
|
||||
<q1:annotation>
|
||||
<q1:documentation>Number of delivered messages (if available)</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
<q1:element name="Failed" nillable="true" type="q1:int">
|
||||
<q1:annotation>
|
||||
<q1:documentation>Number of failed messages</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
<q1:element name="Cost" nillable="true" type="q1:float">
|
||||
<q1:annotation>
|
||||
<q1:documentation>How much this sending costs</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
<q1:element name="Currency" nillable="true" type="q1:string">
|
||||
<q1:annotation>
|
||||
<q1:documentation>Currency code for Cost</q1:documentation>
|
||||
</q1:annotation>
|
||||
</q1:element>
|
||||
</q1:sequence>
|
||||
</q1:complexType>
|
||||
</q1:schema>
|
||||
</types>
|
||||
<message name="sendRequest">
|
||||
<part name="parameters" element="tns1:send">
|
||||
<wsdl:documentation>input hash</wsdl:documentation>
|
||||
</part>
|
||||
</message>
|
||||
<message name="sendResponse">
|
||||
<part name="parameters" element="tns1:sendResponse">
|
||||
<wsdl:documentation>output hash</wsdl:documentation>
|
||||
</part>
|
||||
</message>
|
||||
<message name="statusRequest">
|
||||
<part name="parameters" element="tns1:status">
|
||||
<wsdl:documentation>input hash</wsdl:documentation>
|
||||
</part>
|
||||
</message>
|
||||
<message name="statusResponse">
|
||||
<part name="parameters" element="tns1:statusResponse">
|
||||
<wsdl:documentation>output hash</wsdl:documentation>
|
||||
</part>
|
||||
</message>
|
||||
<portType name="SMSapiHandler">
|
||||
<operation name="send" parameterOrder="parameters">
|
||||
<wsdl:documentation>Sending request</wsdl:documentation>
|
||||
<input name="sendRequest" message="tns1:sendRequest" />
|
||||
<output name="sendResponse" message="tns1:sendResponse" />
|
||||
</operation>
|
||||
<operation name="status" parameterOrder="parameters">
|
||||
<wsdl:documentation>Sending status request</wsdl:documentation>
|
||||
<input name="statusRequest" message="tns1:statusRequest" />
|
||||
<output name="statusResponse" message="tns1:statusResponse" />
|
||||
</operation>
|
||||
</portType>
|
||||
<binding name="SMSapiSoapBinding" type="tns1:SMSapiHandler">
|
||||
<wsdlsoap:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<operation name="send">
|
||||
<wsdlsoap:operation soapAction="http://sms.diamondcard.us/SMSapi#send" style="document" />
|
||||
<input name="sendRequest">
|
||||
<wsdlsoap:body use="literal" />
|
||||
</input>
|
||||
<output name="sendResponse">
|
||||
<wsdlsoap:body use="literal" />
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="status">
|
||||
<wsdlsoap:operation soapAction="http://sms.diamondcard.us/SMSapi#status" />
|
||||
<input name="statusRequest">
|
||||
<wsdlsoap:body use="literal" />
|
||||
</input>
|
||||
<output name="statusResponse">
|
||||
<wsdlsoap:body use="literal" />
|
||||
</output>
|
||||
</operation>
|
||||
</binding>
|
||||
<service name="SMSapiHandlerService">
|
||||
<port name="SMSapi" binding="tns1:SMSapiSoapBinding">
|
||||
<wsdlsoap:address location="http://sms.diamondcard.us/" />
|
||||
</port>
|
||||
</service>
|
||||
</definitions>
|
Reference in New Issue
Block a user