<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:s1="http://microsoft.com/wsdl/types/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://content.k-mobile.com" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://content.k-mobile.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://content.k-mobile.com">
      <s:import namespace="http://microsoft.com/wsdl/types/" />
      <s:element name="AddParameter">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="billingKey" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="ticketId" type="s:int" />
            <s:element minOccurs="0" maxOccurs="1" name="paramName" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="paramValue" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="AddParameterResponse">
        <s:complexType />
      </s:element>
      <s:element name="GetInfos">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="billingKey" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="ticketId" type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetInfosResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetInfosResult" type="tns:Ticket" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="Ticket">
        <s:complexContent mixed="false">
          <s:extension base="tns:FactoryBase">
            <s:sequence>
              <s:element minOccurs="0" maxOccurs="1" name="Content" type="tns:Content" />
              <s:element minOccurs="1" maxOccurs="1" name="IDTicket" type="s:int" />
              <s:element minOccurs="1" maxOccurs="1" name="InsertDate" type="s:dateTime" />
              <s:element minOccurs="1" maxOccurs="1" name="HitCount" type="s:int" />
              <s:element minOccurs="1" maxOccurs="1" name="ShippingStatus" type="tns:TicketStatus" />
              <s:element minOccurs="1" maxOccurs="1" name="ResultCode" type="tns:TicketResultCode" />
              <s:element minOccurs="0" maxOccurs="1" name="Referer" type="s:string" />
              <s:element minOccurs="0" maxOccurs="1" name="CatalogDisplay" type="tns:CatalogDisplay" />
              <s:element minOccurs="1" maxOccurs="1" name="MCC" type="s:int" />
              <s:element minOccurs="1" maxOccurs="1" name="MNC" type="s:int" />
            </s:sequence>
          </s:extension>
        </s:complexContent>
      </s:complexType>
      <s:complexType name="FactoryBase" />
      <s:complexType name="Content">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="IDContent" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="ContentName" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="ContentGroup" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="ContentType" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="TrackingCode" type="tns:TrackingCode" />
          <s:element minOccurs="0" maxOccurs="1" name="Version" type="tns:ContentVersion" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="TrackingCode">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="Value" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="CatalogDisplay" type="tns:CatalogDisplay" />
          <s:element minOccurs="0" maxOccurs="1" name="Referer" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="CatalogDisplay">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="Media" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="DisplayKey" type="s1:guid" />
          <s:element minOccurs="1" maxOccurs="1" name="IDLanguage" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="IsoCode" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ContentVersion">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="Value" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:simpleType name="TicketStatus">
        <s:restriction base="s:string">
          <s:enumeration value="InitialStatus" />
          <s:enumeration value="HitStatus" />
          <s:enumeration value="ErrorStatus" />
          <s:enumeration value="BurntStatus" />
          <s:enumeration value="BurntAfterHitStatus" />
          <s:enumeration value="BurntAfterErrorStatus" />
        </s:restriction>
      </s:simpleType>
      <s:simpleType name="TicketResultCode">
        <s:restriction base="s:string">
          <s:enumeration value="OK" />
          <s:enumeration value="TicketException" />
          <s:enumeration value="ContentNotFound" />
          <s:enumeration value="MobileNotFound" />
          <s:enumeration value="ContentSourceNotFound" />
          <s:enumeration value="SenderNotFound" />
          <s:enumeration value="TicketBurnt" />
          <s:enumeration value="UnknownException" />
          <s:enumeration value="CorrectEncoding" />
          <s:enumeration value="EncodingException" />
          <s:enumeration value="EncodingWarning" />
          <s:enumeration value="EncodingNotAvailable" />
          <s:enumeration value="PendingDelivery" />
          <s:enumeration value="NotificationSuccess" />
          <s:enumeration value="NotificationInsufficientMemory" />
          <s:enumeration value="NotificationUserCancelled" />
          <s:enumeration value="NotificationLossOfService" />
          <s:enumeration value="NotificationJARSizeMismatch" />
          <s:enumeration value="NotificationAttributeMismatch" />
          <s:enumeration value="NotificationInvalidDescriptor" />
          <s:enumeration value="NotificationInvalidJAR" />
          <s:enumeration value="NotificationIncompatibleConfigurationOrProfile" />
          <s:enumeration value="NotificationAppAuthenticationFailure" />
          <s:enumeration value="NotificationAppAutorizationFailure" />
          <s:enumeration value="NotificationPushRegistrationFailure" />
          <s:enumeration value="NotificationDeletionNotification" />
          <s:enumeration value="NotificationRequiredPackageNotSupportedByTheDevice" />
          <s:enumeration value="NotificationInvalidDDVersion" />
          <s:enumeration value="NotificationDeviceAborted" />
          <s:enumeration value="NotificationNonAcceptableContent" />
          <s:enumeration value="NotificationLoaderError" />
        </s:restriction>
      </s:simpleType>
      <s:element name="GetDownloadInfo">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="param" type="tns:GetDownloadInfoParameter" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="GetDownloadInfoParameter">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="TicketId" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="DeviceUserAgent" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="DownloadMedia" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="HandlerRootUri" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="GetDownloadInfoResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetDownloadInfoResult" type="tns:GetDownloadInfoResult" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="GetDownloadInfoResult">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="DownloadUri" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="Weight" type="s:long" />
          <s:element minOccurs="0" maxOccurs="1" name="Mime" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="Ticket" nillable="true" type="tns:Ticket" />
    </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="AddParameterSoapIn">
    <wsdl:part name="parameters" element="tns:AddParameter" />
  </wsdl:message>
  <wsdl:message name="AddParameterSoapOut">
    <wsdl:part name="parameters" element="tns:AddParameterResponse" />
  </wsdl:message>
  <wsdl:message name="GetInfosSoapIn">
    <wsdl:part name="parameters" element="tns:GetInfos" />
  </wsdl:message>
  <wsdl:message name="GetInfosSoapOut">
    <wsdl:part name="parameters" element="tns:GetInfosResponse" />
  </wsdl:message>
  <wsdl:message name="GetDownloadInfoSoapIn">
    <wsdl:part name="parameters" element="tns:GetDownloadInfo" />
  </wsdl:message>
  <wsdl:message name="GetDownloadInfoSoapOut">
    <wsdl:part name="parameters" element="tns:GetDownloadInfoResponse" />
  </wsdl:message>
  <wsdl:message name="AddParameterHttpGetIn">
    <wsdl:part name="billingKey" type="s:string" />
    <wsdl:part name="ticketId" type="s:string" />
    <wsdl:part name="paramName" type="s:string" />
    <wsdl:part name="paramValue" type="s:string" />
  </wsdl:message>
  <wsdl:message name="AddParameterHttpGetOut" />
  <wsdl:message name="GetInfosHttpGetIn">
    <wsdl:part name="billingKey" type="s:string" />
    <wsdl:part name="ticketId" type="s:string" />
  </wsdl:message>
  <wsdl:message name="GetInfosHttpGetOut">
    <wsdl:part name="Body" element="tns:Ticket" />
  </wsdl:message>
  <wsdl:message name="AddParameterHttpPostIn">
    <wsdl:part name="billingKey" type="s:string" />
    <wsdl:part name="ticketId" type="s:string" />
    <wsdl:part name="paramName" type="s:string" />
    <wsdl:part name="paramValue" type="s:string" />
  </wsdl:message>
  <wsdl:message name="AddParameterHttpPostOut" />
  <wsdl:message name="GetInfosHttpPostIn">
    <wsdl:part name="billingKey" type="s:string" />
    <wsdl:part name="ticketId" type="s:string" />
  </wsdl:message>
  <wsdl:message name="GetInfosHttpPostOut">
    <wsdl:part name="Body" element="tns:Ticket" />
  </wsdl:message>
  <wsdl:portType name="TicketServiceSoap">
    <wsdl:operation name="AddParameter">
      <wsdl:input message="tns:AddParameterSoapIn" />
      <wsdl:output message="tns:AddParameterSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetInfos">
      <wsdl:input message="tns:GetInfosSoapIn" />
      <wsdl:output message="tns:GetInfosSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetDownloadInfo">
      <wsdl:input message="tns:GetDownloadInfoSoapIn" />
      <wsdl:output message="tns:GetDownloadInfoSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:portType name="TicketServiceHttpGet">
    <wsdl:operation name="AddParameter">
      <wsdl:input message="tns:AddParameterHttpGetIn" />
      <wsdl:output message="tns:AddParameterHttpGetOut" />
    </wsdl:operation>
    <wsdl:operation name="GetInfos">
      <wsdl:input message="tns:GetInfosHttpGetIn" />
      <wsdl:output message="tns:GetInfosHttpGetOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:portType name="TicketServiceHttpPost">
    <wsdl:operation name="AddParameter">
      <wsdl:input message="tns:AddParameterHttpPostIn" />
      <wsdl:output message="tns:AddParameterHttpPostOut" />
    </wsdl:operation>
    <wsdl:operation name="GetInfos">
      <wsdl:input message="tns:GetInfosHttpPostIn" />
      <wsdl:output message="tns:GetInfosHttpPostOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="TicketServiceSoap" type="tns:TicketServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    <wsdl:operation name="AddParameter">
      <soap:operation soapAction="http://content.k-mobile.com/AddParameter" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetInfos">
      <soap:operation soapAction="http://content.k-mobile.com/GetInfos" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetDownloadInfo">
      <soap:operation soapAction="http://content.k-mobile.com/GetDownloadInfo" 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="TicketServiceHttpGet" type="tns:TicketServiceHttpGet">
    <http:binding verb="GET" />
    <wsdl:operation name="AddParameter">
      <http:operation location="/AddParameter" />
      <wsdl:input>
        <http:urlEncoded />
      </wsdl:input>
      <wsdl:output />
    </wsdl:operation>
    <wsdl:operation name="GetInfos">
      <http:operation location="/GetInfos" />
      <wsdl:input>
        <http:urlEncoded />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="TicketServiceHttpPost" type="tns:TicketServiceHttpPost">
    <http:binding verb="POST" />
    <wsdl:operation name="AddParameter">
      <http:operation location="/AddParameter" />
      <wsdl:input>
        <mime:content type="application/x-www-form-urlencoded" />
      </wsdl:input>
      <wsdl:output />
    </wsdl:operation>
    <wsdl:operation name="GetInfos">
      <http:operation location="/GetInfos" />
      <wsdl:input>
        <mime:content type="application/x-www-form-urlencoded" />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="TicketService">
    <documentation xmlns="http://schemas.xmlsoap.org/wsdl/" />
    <wsdl:port name="TicketServiceSoap" binding="tns:TicketServiceSoap">
      <soap:address location="http://drmservice.com/v2/ws/ticketservice.asmx" />
    </wsdl:port>
    <wsdl:port name="TicketServiceHttpGet" binding="tns:TicketServiceHttpGet">
      <http:address location="http://drmservice.com/v2/ws/ticketservice.asmx" />
    </wsdl:port>
    <wsdl:port name="TicketServiceHttpPost" binding="tns:TicketServiceHttpPost">
      <http:address location="http://drmservice.com/v2/ws/ticketservice.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>