<?xml version="1.0"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="IWsPromotionservice" targetNamespace="http://tempuri.org/" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns1="urn:OtnSysUtils">
  <types>
    <xs:schema targetNamespace="urn:OtnSysUtils" xmlns="urn:OtnSysUtils">
      <xs:complexType name="TArrayOfInt">
        <xs:complexContent>
          <xs:restriction base="soapenc:Array">
            <sequence xmlns="http://www.w3.org/2001/XMLSchema"/>
            <xs:attribute ref="soapenc:arrayType" n1:arrayType="xs:int[]" xmlns:n1="http://schemas.xmlsoap.org/wsdl/"/>
          </xs:restriction>
        </xs:complexContent>
      </xs:complexType>
    </xs:schema>
  </types>
  <message name="GetActivePromotionIds0Request">
    <part name="AAccountId" type="xs:int"/>
    <part name="ADmgCategoryId" type="xs:int"/>
    <part name="AType" type="xs:int"/>
  </message>
  <message name="GetActivePromotionIds0Response">
    <part name="return" type="ns1:TArrayOfInt"/>
  </message>
  <message name="GetAllowedPromotionIds1Request">
    <part name="AAccountId" type="xs:int"/>
    <part name="ADmgCategoryId" type="xs:int"/>
  </message>
  <message name="GetAllowedPromotionIds1Response">
    <part name="return" type="ns1:TArrayOfInt"/>
  </message>
  <message name="GetNotExpiredPromotionIds2Request">
    <part name="AType" type="xs:int"/>
  </message>
  <message name="GetNotExpiredPromotionIds2Response">
    <part name="return" type="ns1:TArrayOfInt"/>
  </message>
  <message name="GetPromotionType3Request">
    <part name="aPromotionId" type="xs:int"/>
  </message>
  <message name="GetPromotionType3Response">
    <part name="return" type="xs:int"/>
  </message>
  <message name="GetPromotionNotCombinable4Request">
    <part name="APromotionId" type="xs:int"/>
  </message>
  <message name="GetPromotionNotCombinable4Response">
    <part name="return" type="xs:boolean"/>
  </message>
  <message name="GetMaxCouponsOnTransaction5Request">
    <part name="APromotionId" type="xs:int"/>
  </message>
  <message name="GetMaxCouponsOnTransaction5Response">
    <part name="return" type="xs:int"/>
  </message>
  <message name="GetUseQuota6Request">
    <part name="APromotionId" type="xs:int"/>
  </message>
  <message name="GetUseQuota6Response">
    <part name="APeriod" type="xs:int"/>
    <part name="return" type="xs:boolean"/>
  </message>
  <message name="GetPromotionQuotaValidityForSelectedAccount7Request">
    <part name="AShopCartXML" type="xs:string"/>
    <part name="APromotionId" type="xs:int"/>
    <part name="AAccountId" type="xs:int"/>
    <part name="APromotionQuantity" type="xs:int"/>
    <part name="APerfIds" type="ns1:TArrayOfInt"/>
    <part name="APerfQty" type="ns1:TArrayOfInt"/>
  </message>
  <message name="GetPromotionQuotaValidityForSelectedAccount7Response">
    <part name="AErrorCode" type="xs:int"/>
    <part name="return" type="xs:boolean"/>
  </message>
  <portType name="IWsPromotion">
    <operation name="GetActivePromotionIds">
      <input message="tns:GetActivePromotionIds0Request"/>
      <output message="tns:GetActivePromotionIds0Response"/>
    </operation>
    <operation name="GetAllowedPromotionIds">
      <input message="tns:GetAllowedPromotionIds1Request"/>
      <output message="tns:GetAllowedPromotionIds1Response"/>
    </operation>
    <operation name="GetNotExpiredPromotionIds">
      <input message="tns:GetNotExpiredPromotionIds2Request"/>
      <output message="tns:GetNotExpiredPromotionIds2Response"/>
    </operation>
    <operation name="GetPromotionType">
      <input message="tns:GetPromotionType3Request"/>
      <output message="tns:GetPromotionType3Response"/>
    </operation>
    <operation name="GetPromotionNotCombinable">
      <input message="tns:GetPromotionNotCombinable4Request"/>
      <output message="tns:GetPromotionNotCombinable4Response"/>
    </operation>
    <operation name="GetMaxCouponsOnTransaction">
      <input message="tns:GetMaxCouponsOnTransaction5Request"/>
      <output message="tns:GetMaxCouponsOnTransaction5Response"/>
    </operation>
    <operation name="GetUseQuota">
      <input message="tns:GetUseQuota6Request"/>
      <output message="tns:GetUseQuota6Response"/>
    </operation>
    <operation name="GetPromotionQuotaValidityForSelectedAccount">
      <input message="tns:GetPromotionQuotaValidityForSelectedAccount7Request"/>
      <output message="tns:GetPromotionQuotaValidityForSelectedAccount7Response"/>
    </operation>
  </portType>
  <binding name="IWsPromotionbinding" type="tns:IWsPromotion">
    <binding xmlns="http://schemas.xmlsoap.org/wsdl/soap/" style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="GetActivePromotionIds">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsPromotionIntf-IWsPromotion#GetActivePromotionIds" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsPromotionIntf-IWsPromotion"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsPromotionIntf-IWsPromotion"/>
      </output>
    </operation>
    <operation name="GetAllowedPromotionIds">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsPromotionIntf-IWsPromotion#GetAllowedPromotionIds" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsPromotionIntf-IWsPromotion"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsPromotionIntf-IWsPromotion"/>
      </output>
    </operation>
    <operation name="GetNotExpiredPromotionIds">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsPromotionIntf-IWsPromotion#GetNotExpiredPromotionIds" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsPromotionIntf-IWsPromotion"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsPromotionIntf-IWsPromotion"/>
      </output>
    </operation>
    <operation name="GetPromotionType">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsPromotionIntf-IWsPromotion#GetPromotionType" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsPromotionIntf-IWsPromotion"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsPromotionIntf-IWsPromotion"/>
      </output>
    </operation>
    <operation name="GetPromotionNotCombinable">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsPromotionIntf-IWsPromotion#GetPromotionNotCombinable" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsPromotionIntf-IWsPromotion"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsPromotionIntf-IWsPromotion"/>
      </output>
    </operation>
    <operation name="GetMaxCouponsOnTransaction">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsPromotionIntf-IWsPromotion#GetMaxCouponsOnTransaction" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsPromotionIntf-IWsPromotion"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsPromotionIntf-IWsPromotion"/>
      </output>
    </operation>
    <operation name="GetUseQuota">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsPromotionIntf-IWsPromotion#GetUseQuota" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsPromotionIntf-IWsPromotion"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsPromotionIntf-IWsPromotion"/>
      </output>
    </operation>
    <operation name="GetPromotionQuotaValidityForSelectedAccount">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsPromotionIntf-IWsPromotion#GetPromotionQuotaValidityForSelectedAccount" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsPromotionIntf-IWsPromotion"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsPromotionIntf-IWsPromotion"/>
      </output>
    </operation>
  </binding>
  <service name="IWsPromotionservice">
    <port name="IWsPromotionPort" binding="tns:IWsPromotionbinding">
      <address xmlns="http://schemas.xmlsoap.org/wsdl/soap/" location="http://skc-isapi-b2b.vivaticket.com/BosServices.dll/soap/IWsPromotion"/>
    </port>
  </service>
</definitions>

