<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="com.esendex.ems.soapinterface" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="com.esendex.ems.soapinterface" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Methods to send SMS messages at a certain time, or elapsed time Click here for a &lt;a href="https://www.esendex.com/uk/evaluation/evaluation.aspx" title="SMS Service Trial"&gt;free trial&lt;/a&gt;.</wsdl:documentation>
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="com.esendex.ems.soapinterface">
      <s:element name="SendMessageIn">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="recipient" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="body" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="type" type="tns:MessageType" />
            <s:element minOccurs="1" maxOccurs="1" name="days" type="s:int" />
            <s:element minOccurs="1" maxOccurs="1" name="hours" type="s:int" />
            <s:element minOccurs="1" maxOccurs="1" name="minutes" type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:simpleType name="MessageType">
        <s:restriction base="s:string">
          <s:enumeration value="Text" />
          <s:enumeration value="Binary" />
          <s:enumeration value="SmartMessage" />
          <s:enumeration value="Unicode" />
        </s:restriction>
      </s:simpleType>
      <s:element name="SendMessageInResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="SendMessageInResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="MessengerHeader" type="tns:MessengerHeader" />
      <s:complexType name="MessengerHeader">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Account" type="s:string" />
        </s:sequence>
        <s:anyAttribute />
      </s:complexType>
      <s:element name="SendMessageInFull">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="originator" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="recipient" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="body" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="type" type="tns:MessageType" />
            <s:element minOccurs="1" maxOccurs="1" name="validityperiod" type="s:int" />
            <s:element minOccurs="1" maxOccurs="1" name="days" type="s:int" />
            <s:element minOccurs="1" maxOccurs="1" name="hours" type="s:int" />
            <s:element minOccurs="1" maxOccurs="1" name="minutes" type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="SendMessageInFullResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="SendMessageInFullResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="SendMessageAt">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="recipient" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="body" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="type" type="tns:MessageType" />
            <s:element minOccurs="1" maxOccurs="1" name="submitAt" type="s:dateTime" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="SendMessageAtResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="SendMessageAtResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="SendMessageAtFull">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="originator" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="recipient" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="body" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="type" type="tns:MessageType" />
            <s:element minOccurs="1" maxOccurs="1" name="validityperiod" type="s:int" />
            <s:element minOccurs="1" maxOccurs="1" name="submitAt" type="s:dateTime" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="SendMessageAtFullResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="SendMessageAtFullResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="SendMessageInSoapIn">
    <wsdl:part name="parameters" element="tns:SendMessageIn" />
  </wsdl:message>
  <wsdl:message name="SendMessageInSoapOut">
    <wsdl:part name="parameters" element="tns:SendMessageInResponse" />
  </wsdl:message>
  <wsdl:message name="SendMessageInMessengerHeader">
    <wsdl:part name="MessengerHeader" element="tns:MessengerHeader" />
  </wsdl:message>
  <wsdl:message name="SendMessageInFullSoapIn">
    <wsdl:part name="parameters" element="tns:SendMessageInFull" />
  </wsdl:message>
  <wsdl:message name="SendMessageInFullSoapOut">
    <wsdl:part name="parameters" element="tns:SendMessageInFullResponse" />
  </wsdl:message>
  <wsdl:message name="SendMessageInFullMessengerHeader">
    <wsdl:part name="MessengerHeader" element="tns:MessengerHeader" />
  </wsdl:message>
  <wsdl:message name="SendMessageAtSoapIn">
    <wsdl:part name="parameters" element="tns:SendMessageAt" />
  </wsdl:message>
  <wsdl:message name="SendMessageAtSoapOut">
    <wsdl:part name="parameters" element="tns:SendMessageAtResponse" />
  </wsdl:message>
  <wsdl:message name="SendMessageAtMessengerHeader">
    <wsdl:part name="MessengerHeader" element="tns:MessengerHeader" />
  </wsdl:message>
  <wsdl:message name="SendMessageAtFullSoapIn">
    <wsdl:part name="parameters" element="tns:SendMessageAtFull" />
  </wsdl:message>
  <wsdl:message name="SendMessageAtFullSoapOut">
    <wsdl:part name="parameters" element="tns:SendMessageAtFullResponse" />
  </wsdl:message>
  <wsdl:message name="SendMessageAtFullMessengerHeader">
    <wsdl:part name="MessengerHeader" element="tns:MessengerHeader" />
  </wsdl:message>
  <wsdl:portType name="ScheduledSendServiceSoap">
    <wsdl:operation name="SendMessageIn">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;p&gt;Sends an SMS message to the specified recipient&lt;/p&gt;&lt;b&gt;Parameters&lt;/b&gt;	&lt;table border="1" width="500"&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;recipient&lt;/TD&gt;			&lt;td&gt;The mobile number to send the message to&lt;/TD&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;body&lt;/TD&gt;			&lt;td&gt;The content of the message. 160 max characters per part for Text, 140 octets max for Binary and SmartMessaging, 70 octet pairs for Unicode messages. Longer message bodies will be sent as multiple message parts.&lt;/TD&gt;&lt;/TR&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;type&lt;/TD&gt;			&lt;td&gt;The type of message (Text, Binary, SmartMessage, Unicode)&lt;/td&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;Days&lt;/TD&gt;			&lt;td&gt;Elapsed Days to wait to send the message&lt;/TD&gt;&lt;/TR&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;Hours&lt;/TD&gt;			&lt;td&gt;Elapsed Hours to wait to send the message&lt;/TD&gt;&lt;/TR&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;Minutes&lt;/TD&gt;			&lt;td&gt;Elapsed Minutes to wait to send the message&lt;/TD&gt;&lt;/TR&gt;		&lt;/tr&gt;	&lt;/table&gt;&lt;br&gt;Returns the ID of the message assigned by the Esendex message Server</wsdl:documentation>
      <wsdl:input message="tns:SendMessageInSoapIn" />
      <wsdl:output message="tns:SendMessageInSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="SendMessageInFull">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;p&gt;Sends an SMS message to the specified recipient&lt;/p&gt;&lt;b&gt;Parameters&lt;/b&gt;	&lt;table border="1" width="500"&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;originator&lt;/TD&gt;			&lt;td&gt;The alias the message should appear to come from. Can be another phone number or up to 11 alpha numeric characters&lt;/TD&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;recipient&lt;/TD&gt;			&lt;td&gt;The mobile number to send the message to&lt;/TD&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;body&lt;/TD&gt;			&lt;td&gt;The content of the message. 160 max characters per part for Text, 140 octets max for Binary and SmartMessaging, 70 octet pairs for Unicode messages. Longer message bodies will be sent as multiple message parts.&lt;/TD&gt;&lt;/TR&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;type&lt;/TD&gt;			&lt;td&gt;The type of message (Text, Binary, SmartMessage, Unicode)&lt;/td&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;validityperiod&lt;/TD&gt;			&lt;td&gt;The validity period of the message in hours.&lt;/td&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;Days&lt;/TD&gt;			&lt;td&gt;Elapsed Days to wait to send the message&lt;/TD&gt;&lt;/TR&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;Hours&lt;/TD&gt;			&lt;td&gt;Elapsed Hours to wait to send the message&lt;/TD&gt;&lt;/TR&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;Minutes&lt;/TD&gt;			&lt;td&gt;Elapsed Minutes to wait to send the message&lt;/TD&gt;&lt;/TR&gt;		&lt;/tr&gt;	&lt;/table&gt;&lt;br&gt;Returns the ID of the message assigned by the Esendex message Server</wsdl:documentation>
      <wsdl:input message="tns:SendMessageInFullSoapIn" />
      <wsdl:output message="tns:SendMessageInFullSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="SendMessageAt">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;p&gt;Sends an SMS message to the specified recipient using the default originator and validity period at the specified date/time&lt;/p&gt;&lt;b&gt;Parameters&lt;/b&gt;	&lt;table border="1" width="500"&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;recipient&lt;/TD&gt;			&lt;td&gt;The mobile number to send the message to&lt;/TD&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;body&lt;/TD&gt;			&lt;td&gt;The content of the message. 160 max characters per part for Text, 140 octets max for Binary and SmartMessaging, 70 octet pairs for Unicode messages. Longer message bodies will be sent as multiple message parts.&lt;/TD&gt;&lt;/TR&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;type&lt;/TD&gt;			&lt;td&gt;The type of message (Text, Binary, SmartMessage, Unicode)&lt;/td&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;SubmitAt&lt;/TD&gt;			&lt;td&gt;DateTime that you wish the message to be sent in the format YYYY-MM-DDTHH:MM:SS&lt;/TD&gt;&lt;/TR&gt;		&lt;/tr&gt;	&lt;/table&gt;&lt;br&gt;Returns the ID of the message assigned by the Esendex message Server</wsdl:documentation>
      <wsdl:input message="tns:SendMessageAtSoapIn" />
      <wsdl:output message="tns:SendMessageAtSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="SendMessageAtFull">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;p&gt;Sends an SMS message to the specified recipient using the default originator and validity period at the specified date/time&lt;/p&gt;&lt;b&gt;Parameters&lt;/b&gt;	&lt;table border="1" width="500"&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;originator&lt;/TD&gt;			&lt;td&gt;The alias the message should appear to come from. Can be another phone number or up to 11 alpha numeric characters&lt;/TD&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;recipient&lt;/TD&gt;			&lt;td&gt;The mobile number to send the message to&lt;/TD&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;body&lt;/TD&gt;			&lt;td&gt;The content of the message. 160 max characters per part for Text, 140 octets max for Binary and SmartMessaging, 70 octet pairs for Unicode messages. Longer message bodies will be sent as multiple message parts.&lt;/TD&gt;&lt;/TR&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;type&lt;/TD&gt;			&lt;td&gt;The type of message (Text, Binary, SmartMessage, Unicode)&lt;/td&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;validityperiod&lt;/TD&gt;			&lt;td&gt;The validity period of the message in hours.&lt;/td&gt;		&lt;/tr&gt;		&lt;tr valign=top&gt;			&lt;td width="100"&gt;SubmitAt&lt;/TD&gt;			&lt;td&gt;DateTime that you wish the message to be sent in the format YYYY-MM-DDTHH:MM:SS&lt;/TD&gt;&lt;/TR&gt;		&lt;/tr&gt;	&lt;/table&gt;&lt;br&gt;Returns the ID of the message assigned by the Esendex message Server</wsdl:documentation>
      <wsdl:input message="tns:SendMessageAtFullSoapIn" />
      <wsdl:output message="tns:SendMessageAtFullSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="ScheduledSendServiceSoap" type="tns:ScheduledSendServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="SendMessageIn">
      <soap:operation soapAction="com.esendex.ems.soapinterface/SendMessageIn" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
        <soap:header message="tns:SendMessageInMessengerHeader" part="MessengerHeader" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="SendMessageInFull">
      <soap:operation soapAction="com.esendex.ems.soapinterface/SendMessageInFull" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
        <soap:header message="tns:SendMessageInFullMessengerHeader" part="MessengerHeader" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="SendMessageAt">
      <soap:operation soapAction="com.esendex.ems.soapinterface/SendMessageAt" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
        <soap:header message="tns:SendMessageAtMessengerHeader" part="MessengerHeader" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="SendMessageAtFull">
      <soap:operation soapAction="com.esendex.ems.soapinterface/SendMessageAtFull" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
        <soap:header message="tns:SendMessageAtFullMessengerHeader" part="MessengerHeader" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="ScheduledSendServiceSoap12" type="tns:ScheduledSendServiceSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="SendMessageIn">
      <soap12:operation soapAction="com.esendex.ems.soapinterface/SendMessageIn" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
        <soap12:header message="tns:SendMessageInMessengerHeader" part="MessengerHeader" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="SendMessageInFull">
      <soap12:operation soapAction="com.esendex.ems.soapinterface/SendMessageInFull" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
        <soap12:header message="tns:SendMessageInFullMessengerHeader" part="MessengerHeader" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="SendMessageAt">
      <soap12:operation soapAction="com.esendex.ems.soapinterface/SendMessageAt" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
        <soap12:header message="tns:SendMessageAtMessengerHeader" part="MessengerHeader" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="SendMessageAtFull">
      <soap12:operation soapAction="com.esendex.ems.soapinterface/SendMessageAtFull" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
        <soap12:header message="tns:SendMessageAtFullMessengerHeader" part="MessengerHeader" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="ScheduledSendService">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Methods to send SMS messages at a certain time, or elapsed time Click here for a &lt;a href="https://www.esendex.com/uk/evaluation/evaluation.aspx" title="SMS Service Trial"&gt;free trial&lt;/a&gt;.</wsdl:documentation>
    <wsdl:port name="ScheduledSendServiceSoap" binding="tns:ScheduledSendServiceSoap">
      <soap:address location="https://www.esendex.com/secure/messenger/soap/ScheduledSendService.asmx" />
    </wsdl:port>
    <wsdl:port name="ScheduledSendServiceSoap12" binding="tns:ScheduledSendServiceSoap12">
      <soap12:address location="https://www.esendex.com/secure/messenger/soap/ScheduledSendService.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>