<?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:s1="http://microsoft.com/wsdl/types/" 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 handle premium rate subscriptions. </wsdl:documentation>
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="com.esendex.ems.soapinterface">
      <s:import namespace="http://microsoft.com/wsdl/types/" />
      <s:element name="StopSubscription">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="mobileNumber" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="StopSubscriptionResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="StopSubscriptionResult" type="s1:guid" />
          </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:schema>
    <s:schema elementFormDefault="qualified" targetNamespace="http://microsoft.com/wsdl/types/">
      <s:simpleType name="guid">
        <s:restriction base="s:string">
          <s:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}" />
        </s:restriction>
      </s:simpleType>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="StopSubscriptionSoapIn">
    <wsdl:part name="parameters" element="tns:StopSubscription" />
  </wsdl:message>
  <wsdl:message name="StopSubscriptionSoapOut">
    <wsdl:part name="parameters" element="tns:StopSubscriptionResponse" />
  </wsdl:message>
  <wsdl:message name="StopSubscriptionMessengerHeader">
    <wsdl:part name="MessengerHeader" element="tns:MessengerHeader" />
  </wsdl:message>
  <wsdl:portType name="SubscriptionServiceSoap">
    <wsdl:operation name="StopSubscription">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;p&gt;Stops a subscription to the supplied mobile number from the calling account.&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;mobilenumber&lt;/TD&gt;			&lt;td&gt;The mobile number of the subscriber.&lt;/td&gt;&lt;/tr&gt;		&lt;/tr&gt;	&lt;/table&gt;&lt;br&gt;Returns the contact ID for the contact related to the subscription. If the subscription relates to a non-contact for the account, an empty Guid is returned.</wsdl:documentation>
      <wsdl:input message="tns:StopSubscriptionSoapIn" />
      <wsdl:output message="tns:StopSubscriptionSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="SubscriptionServiceSoap" type="tns:SubscriptionServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="StopSubscription">
      <soap:operation soapAction="com.esendex.ems.soapinterface/StopSubscription" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
        <soap:header message="tns:StopSubscriptionMessengerHeader" part="MessengerHeader" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="SubscriptionServiceSoap12" type="tns:SubscriptionServiceSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="StopSubscription">
      <soap12:operation soapAction="com.esendex.ems.soapinterface/StopSubscription" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
        <soap12:header message="tns:StopSubscriptionMessengerHeader" part="MessengerHeader" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="SubscriptionService">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Methods to handle premium rate subscriptions. </wsdl:documentation>
    <wsdl:port name="SubscriptionServiceSoap" binding="tns:SubscriptionServiceSoap">
      <soap:address location="https://www.esendex.com/secure/messenger/soap/SubscriptionService.asmx" />
    </wsdl:port>
    <wsdl:port name="SubscriptionServiceSoap12" binding="tns:SubscriptionServiceSoap12">
      <soap12:address location="https://www.esendex.com/secure/messenger/soap/SubscriptionService.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>