<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.nimta.com/webservices/GatewayModtager" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://www.nimta.com/webservices/GatewayModtager" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Example webservice for receiving data from Nimta.</wsdl:documentation>
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://www.nimta.com/webservices/GatewayModtager">
      <s:element name="receiveSMSStatuses">
        <s:complexType>
          <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="statuses" type="tns:ArrayOfStatus" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfStatus">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="Status" nillable="true" type="tns:Status" />
        </s:sequence>

      </s:complexType>
      <s:complexType name="Status">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="messageID" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="countryCode" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="number" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="latestStatus" type="s:dateTime" />
          <s:element minOccurs="1" maxOccurs="1" name="statusCode" type="s:unsignedByte" />
          <s:element minOccurs="1" maxOccurs="1" name="errorCode" type="s:unsignedByte" />

        </s:sequence>
      </s:complexType>
      <s:element name="receiveSMSStatusesResponse">
        <s:complexType />
      </s:element>
      <s:element name="receiveSMSes">
        <s:complexType>
          <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="messages" type="tns:ArrayOfSMSReceiveMessage" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfSMSReceiveMessage">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="SMSReceiveMessage" nillable="true" type="tns:SMSReceiveMessage" />
        </s:sequence>

      </s:complexType>
      <s:complexType name="SMSReceiveMessage">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="messageID" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="countryCode" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="number" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="keyword" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="message" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="received" type="s:dateTime" />

          <s:element minOccurs="1" maxOccurs="1" name="operatorCode" type="s:int" />
        </s:sequence>
      </s:complexType>
      <s:element name="receiveSMSesResponse">
        <s:complexType />
      </s:element>
      <s:element name="receiveMMSStatuses">
        <s:complexType>
          <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="statuses" type="tns:ArrayOfStatus" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="receiveMMSStatusesResponse">
        <s:complexType />
      </s:element>

      <s:element name="receiveMMSes">
        <s:complexType>
          <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="messages" type="tns:ArrayOfMMSReceiveMessage" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <s:complexType name="ArrayOfMMSReceiveMessage">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="MMSReceiveMessage" nillable="true" type="tns:MMSReceiveMessage" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="MMSReceiveMessage">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="messageID" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="countryCode" type="s:string" />

          <s:element minOccurs="0" maxOccurs="1" name="number" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="keyword" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="subject" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="message" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="received" type="s:dateTime" />
          <s:element minOccurs="1" maxOccurs="1" name="operatorCode" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="pictureFiles" type="tns:ArrayOfString" />
          <s:element minOccurs="0" maxOccurs="1" name="soundFiles" type="tns:ArrayOfString" />
          <s:element minOccurs="0" maxOccurs="1" name="videoFiles" type="tns:ArrayOfString" />
          <s:element minOccurs="0" maxOccurs="1" name="texts" type="tns:ArrayOfString" />

          <s:element minOccurs="0" maxOccurs="1" name="smilFiles" type="tns:ArrayOfString" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfString">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="receiveMMSesResponse">

        <s:complexType />
      </s:element>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="receiveSMSStatusesSoapIn">
    <wsdl:part name="parameters" element="tns:receiveSMSStatuses" />
  </wsdl:message>
  <wsdl:message name="receiveSMSStatusesSoapOut">
    <wsdl:part name="parameters" element="tns:receiveSMSStatusesResponse" />

  </wsdl:message>
  <wsdl:message name="receiveSMSesSoapIn">
    <wsdl:part name="parameters" element="tns:receiveSMSes" />
  </wsdl:message>
  <wsdl:message name="receiveSMSesSoapOut">
    <wsdl:part name="parameters" element="tns:receiveSMSesResponse" />
  </wsdl:message>
  <wsdl:message name="receiveMMSStatusesSoapIn">
    <wsdl:part name="parameters" element="tns:receiveMMSStatuses" />

  </wsdl:message>
  <wsdl:message name="receiveMMSStatusesSoapOut">
    <wsdl:part name="parameters" element="tns:receiveMMSStatusesResponse" />
  </wsdl:message>
  <wsdl:message name="receiveMMSesSoapIn">
    <wsdl:part name="parameters" element="tns:receiveMMSes" />
  </wsdl:message>
  <wsdl:message name="receiveMMSesSoapOut">
    <wsdl:part name="parameters" element="tns:receiveMMSesResponse" />

  </wsdl:message>
  <wsdl:portType name="GatewayModtagerSoap">
    <wsdl:operation name="receiveSMSStatuses">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Method for receiving SMS statuses.</wsdl:documentation>
      <wsdl:input message="tns:receiveSMSStatusesSoapIn" />
      <wsdl:output message="tns:receiveSMSStatusesSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="receiveSMSes">

      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Method for receiving SMSes.</wsdl:documentation>
      <wsdl:input message="tns:receiveSMSesSoapIn" />
      <wsdl:output message="tns:receiveSMSesSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="receiveMMSStatuses">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Method for receiving MMS statuses.</wsdl:documentation>
      <wsdl:input message="tns:receiveMMSStatusesSoapIn" />
      <wsdl:output message="tns:receiveMMSStatusesSoapOut" />

    </wsdl:operation>
    <wsdl:operation name="receiveMMSes">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Method for receiving SMS statuses.</wsdl:documentation>
      <wsdl:input message="tns:receiveMMSesSoapIn" />
      <wsdl:output message="tns:receiveMMSesSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="GatewayModtagerSoap" type="tns:GatewayModtagerSoap">

    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="receiveSMSStatuses">
      <soap:operation soapAction="http://www.nimta.com/webservices/GatewayModtager/receiveSMSStatuses" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>

    </wsdl:operation>
    <wsdl:operation name="receiveSMSes">
      <soap:operation soapAction="http://www.nimta.com/webservices/GatewayModtager/receiveSMSes" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>

    </wsdl:operation>
    <wsdl:operation name="receiveMMSStatuses">
      <soap:operation soapAction="http://www.nimta.com/webservices/GatewayModtager/receiveMMSStatuses" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>

    </wsdl:operation>
    <wsdl:operation name="receiveMMSes">
      <soap:operation soapAction="http://www.nimta.com/webservices/GatewayModtager/receiveMMSes" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>

    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="GatewayModtagerSoap12" type="tns:GatewayModtagerSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="receiveSMSStatuses">
      <soap12:operation soapAction="http://www.nimta.com/webservices/GatewayModtager/receiveSMSStatuses" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>

      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="receiveSMSes">
      <soap12:operation soapAction="http://www.nimta.com/webservices/GatewayModtager/receiveSMSes" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>

      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="receiveMMSStatuses">
      <soap12:operation soapAction="http://www.nimta.com/webservices/GatewayModtager/receiveMMSStatuses" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>

      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="receiveMMSes">
      <soap12:operation soapAction="http://www.nimta.com/webservices/GatewayModtager/receiveMMSes" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>

      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="GatewayModtager">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Example webservice for receiving data from Nimta.</wsdl:documentation>
    <wsdl:port name="GatewayModtagerSoap" binding="tns:GatewayModtagerSoap">

      <soap:address location="http://tdscan.nimta.dk/GatewayModtager.asmx" />
    </wsdl:port>
    <wsdl:port name="GatewayModtagerSoap12" binding="tns:GatewayModtagerSoap12">
      <soap12:address location="http://tdscan.nimta.dk/GatewayModtager.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>