<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:PricingControllerwsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" name="PricingController" targetNamespace="urn:PricingControllerwsdl">
  <wsdl:types>
    <xsd:schema targetNamespace="urn:PricingControllerwsdl">
      <xsd:complexType name="PricingResponse">
        <xsd:all>
          <xsd:element name="productPrices" type="tns:ProductPriceArray"/>
          <xsd:element name="additionalCharges" type="tns:AdditionalChargeArray"/>
        </xsd:all>
      </xsd:complexType>
      <xsd:complexType name="ProductPriceArray">
        <xsd:complexContent>
          <xsd:restriction base="soap-enc:Array">
            <xsd:attribute ref="soap-enc:arrayType" wsdl:arrayType="tns:ProductPrice[]"/>
          </xsd:restriction>
        </xsd:complexContent>
      </xsd:complexType>
      <xsd:complexType name="ProductPrice">
        <xsd:all>
          <xsd:element name="product" type="xsd:string"/>
          <xsd:element name="price" type="xsd:string"/>
          <xsd:element name="quantity" type="xsd:string"/>
          <xsd:element name="customerDiscount" type="xsd:string"/>
          <xsd:element name="priceCategory" type="xsd:string"/>
        </xsd:all>
      </xsd:complexType>
      <xsd:complexType name="AdditionalChargeArray">
        <xsd:complexContent>
          <xsd:restriction base="soap-enc:Array">
            <xsd:attribute ref="soap-enc:arrayType" wsdl:arrayType="tns:AdditionalCharge[]"/>
          </xsd:restriction>
        </xsd:complexContent>
      </xsd:complexType>
      <xsd:complexType name="AdditionalCharge">
        <xsd:all>
          <xsd:element name="chargeName" type="xsd:string"/>
          <xsd:element name="chargeDescription" type="xsd:string"/>
          <xsd:element name="additionalChargeAmount" type="xsd:string"/>
        </xsd:all>
      </xsd:complexType>
    </xsd:schema>
  </wsdl:types>
  <wsdl:message name="getProductPricingRequest">
    <wsdl:part name="customerNumber" type="xsd:string"/>
    <wsdl:part name="userCredential" type="xsd:string"/>
    <wsdl:part name="product" type="xsd:string"/>
    <wsdl:part name="pricingType" type="xsd:string"/>
  </wsdl:message>
  <wsdl:message name="getProductPricingResponse">
    <wsdl:part name="return" type="tns:PricingResponse"/>
  </wsdl:message>
  <wsdl:portType name="PricingControllerPortType">
    <wsdl:operation name="getProductPricing">
      <wsdl:documentation>The Pricing web service</wsdl:documentation>
      <wsdl:input message="tns:getProductPricingRequest"/>
      <wsdl:output message="tns:getProductPricingResponse"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="PricingControllerBinding" type="tns:PricingControllerPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="getProductPricing">
      <soap:operation soapAction="urn:PricingControllerwsdl#getProductPricing" style="rpc"/>
      <wsdl:input>
        <soap:body use="encoded" namespace="urn:PricingControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="encoded" namespace="urn:PricingControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="PricingControllerService">
    <wsdl:port name="PricingControllerPort" binding="tns:PricingControllerBinding">
      <soap:address location="https://ds.hitpromo.net/pricing/pricing?ws=1"/>
    </wsdl:port>
  </wsdl:service>
</definitions>
