<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:HitOrderManagementControllerwsdl" 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="HitOrderManagementController" targetNamespace="urn:HitOrderManagementControllerwsdl">
  <wsdl:types>
    <xsd:schema targetNamespace="urn:HitOrderManagementControllerwsdl">
      <xsd:complexType name="DuplicatePoResponse">
        <xsd:all>
          <xsd:element name="errorMessage" type="xsd:string"/>
          <xsd:element name="customerNumber" type="xsd:string"/>
          <xsd:element name="orderNumber" type="xsd:string"/>
          <xsd:element name="isDuplicate" type="xsd:boolean"/>
        </xsd:all>
      </xsd:complexType>
      <xsd:complexType name="CustomerInformationResponse">
        <xsd:all>
          <xsd:element name="errorMessage" type="xsd:string"/>
          <xsd:element name="customerName" type="xsd:string"/>
          <xsd:element name="address" type="xsd:string"/>
          <xsd:element name="asiNumber" type="xsd:integer"/>
        </xsd:all>
      </xsd:complexType>
      <xsd:complexType name="HitOrderManagementResponse">
        <xsd:all>
          <xsd:element name="orderSubmitted" type="xsd:boolean"/>
          <xsd:element name="submissionTime" type="xsd:string"/>
          <xsd:element name="orders" type="tns:HitOrderArray"/>
          <xsd:element name="errorMessage" type="xsd:string"/>
        </xsd:all>
      </xsd:complexType>
      <xsd:complexType name="HitOrderArray">
        <xsd:complexContent>
          <xsd:restriction base="soap-enc:Array">
            <xsd:attribute ref="soap-enc:arrayType" wsdl:arrayType="tns:HitOrder[]"/>
          </xsd:restriction>
        </xsd:complexContent>
      </xsd:complexType>
      <xsd:complexType name="HitOrder">
        <xsd:all>
          <xsd:element name="orderNumber" type="xsd:string"/>
          <xsd:element name="orderErrors" type="tns:OrderErrorArray"/>
        </xsd:all>
      </xsd:complexType>
      <xsd:complexType name="OrderErrorArray">
        <xsd:complexContent>
          <xsd:restriction base="soap-enc:Array">
            <xsd:attribute ref="soap-enc:arrayType" wsdl:arrayType="tns:OrderError[]"/>
          </xsd:restriction>
        </xsd:complexContent>
      </xsd:complexType>
      <xsd:complexType name="OrderError">
        <xsd:all>
          <xsd:element name="error" type="xsd:string"/>
        </xsd:all>
      </xsd:complexType>
      <xsd:complexType name="OrderLotInfoArray">
        <xsd:complexContent>
          <xsd:restriction base="soap-enc:Array">
            <xsd:attribute ref="soap-enc:arrayType" wsdl:arrayType="tns:OrderLotInfo[]"/>
          </xsd:restriction>
        </xsd:complexContent>
      </xsd:complexType>
      <xsd:complexType name="OrderLotInfo">
        <xsd:all>
          <xsd:element name="hitOrderNumber" type="xsd:string"/>
          <xsd:element name="poNumber" type="xsd:string"/>
          <xsd:element name="hitItemNumber" type="xsd:string"/>
          <xsd:element name="shippedUnits" type="xsd:string"/>
          <xsd:element name="lotCode" type="xsd:string"/>
        </xsd:all>
      </xsd:complexType>
      <xsd:complexType name="CloneProductArray">
        <xsd:complexContent>
          <xsd:restriction base="soap-enc:Array">
            <xsd:attribute ref="soap-enc:arrayType" wsdl:arrayType="tns:CloneProduct[]"/>
          </xsd:restriction>
        </xsd:complexContent>
      </xsd:complexType>
      <xsd:complexType name="CloneProduct">
        <xsd:all>
          <xsd:element name="model" type="xsd:string"/>
          <xsd:element name="color" type="xsd:string"/>
          <xsd:element name="size" type="xsd:string"/>
        </xsd:all>
      </xsd:complexType>
    </xsd:schema>
  </wsdl:types>
  <wsdl:message name="checkPoIsDuplicateRequest">
    <wsdl:part name="id" type="xsd:string"/>
    <wsdl:part name="credentials" type="xsd:string"/>
    <wsdl:part name="poNumber" type="xsd:string"/>
    <wsdl:part name="customerNumber" type="xsd:integer"/>
  </wsdl:message>
  <wsdl:message name="checkPoIsDuplicateResponse">
    <wsdl:part name="return" type="tns:DuplicatePoResponse"/>
  </wsdl:message>
  <wsdl:message name="getCustomerInformationRequest">
    <wsdl:part name="id" type="xsd:string"/>
    <wsdl:part name="credentials" type="xsd:string"/>
    <wsdl:part name="customerNumber" type="xsd:integer"/>
  </wsdl:message>
  <wsdl:message name="getCustomerInformationResponse">
    <wsdl:part name="return" type="tns:CustomerInformationResponse"/>
  </wsdl:message>
  <wsdl:message name="authenticateCredentialsRequest">
    <wsdl:part name="id" type="xsd:string"/>
    <wsdl:part name="credentials" type="xsd:string"/>
  </wsdl:message>
  <wsdl:message name="authenticateCredentialsResponse">
    <wsdl:part name="return" type="xsd:boolean"/>
  </wsdl:message>
  <wsdl:message name="submitOrderRequest">
    <wsdl:part name="id" type="xsd:string"/>
    <wsdl:part name="credentials" type="xsd:string"/>
    <wsdl:part name="poNumber" type="xsd:string"/>
    <wsdl:part name="payload" type="xsd:string"/>
  </wsdl:message>
  <wsdl:message name="submitOrderResponse">
    <wsdl:part name="return" type="tns:HitOrderManagementResponse"/>
  </wsdl:message>
  <wsdl:message name="getSkuFromModelAndColorOrSizeRequest">
    <wsdl:part name="id" type="xsd:string"/>
    <wsdl:part name="credentials" type="xsd:string"/>
    <wsdl:part name="model" type="xsd:string"/>
    <wsdl:part name="color" type="xsd:string"/>
    <wsdl:part name="size" type="xsd:string"/>
  </wsdl:message>
  <wsdl:message name="getSkuFromModelAndColorOrSizeResponse">
    <wsdl:part name="return" type="xsd:string"/>
  </wsdl:message>
  <wsdl:message name="getOrderLotCodeRequest">
    <wsdl:part name="id" type="xsd:string"/>
    <wsdl:part name="credentials" type="xsd:string"/>
    <wsdl:part name="poNumber" type="xsd:string"/>
    <wsdl:part name="date" type="xsd:string"/>
  </wsdl:message>
  <wsdl:message name="getOrderLotCodeResponse">
    <wsdl:part name="return" type="tns:OrderLotInfoArray"/>
  </wsdl:message>
  <wsdl:message name="cloneProductRequest">
    <wsdl:part name="id" type="xsd:string"/>
    <wsdl:part name="credentials" type="xsd:string"/>
    <wsdl:part name="clone" type="tns:CloneProductArray"/>
    <wsdl:part name="productToClone" type="xsd:string"/>
    <wsdl:part name="newProduct" type="xsd:string"/>
    <wsdl:part name="description" type="xsd:string"/>
  </wsdl:message>
  <wsdl:message name="cloneProductResponse">
    <wsdl:part name="return" type="xsd:boolean"/>
  </wsdl:message>
  <wsdl:message name="getCreditCardOverrideFeeRequest">
    <wsdl:part name="apiKey" type="xsd:string"/>
    <wsdl:part name="customerNumber" type="xsd:string"/>
    <wsdl:part name="soNumber" type="xsd:int"/>
    <wsdl:part name="invoiceNumber" type="xsd:string"/>
  </wsdl:message>
  <wsdl:message name="getCreditCardOverrideFeeResponse">
    <wsdl:part name="return" type="xsd:boolean"/>
  </wsdl:message>
  <wsdl:message name="recordCreditCardFeeRequest">
    <wsdl:part name="apiKey" type="xsd:string"/>
    <wsdl:part name="soNumber" type="xsd:int"/>
    <wsdl:part name="invoiceNumber" type="xsd:string"/>
    <wsdl:part name="fee" type="xsd:string"/>
    <wsdl:part name="transactionId" type="xsd:int"/>
  </wsdl:message>
  <wsdl:message name="recordCreditCardFeeResponse">
    <wsdl:part name="return" type="xsd:boolean"/>
  </wsdl:message>
  <wsdl:message name="recordCreditCardFeeTotalRequest">
    <wsdl:part name="apiKey" type="xsd:string"/>
    <wsdl:part name="transactionId" type="xsd:int"/>
    <wsdl:part name="customerNumber" type="xsd:string"/>
    <wsdl:part name="fee" type="xsd:string"/>
  </wsdl:message>
  <wsdl:message name="recordCreditCardFeeTotalResponse">
    <wsdl:part name="return" type="xsd:boolean"/>
  </wsdl:message>
  <wsdl:portType name="HitOrderManagementControllerPortType">
    <wsdl:operation name="checkPoIsDuplicate">
      <wsdl:documentation>Check if a PO is duplicate</wsdl:documentation>
      <wsdl:input message="tns:checkPoIsDuplicateRequest"/>
      <wsdl:output message="tns:checkPoIsDuplicateResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getCustomerInformation">
      <wsdl:documentation>Returns the customer name, address and asi number</wsdl:documentation>
      <wsdl:input message="tns:getCustomerInformationRequest"/>
      <wsdl:output message="tns:getCustomerInformationResponse"/>
    </wsdl:operation>
    <wsdl:operation name="authenticateCredentials">
      <wsdl:documentation></wsdl:documentation>
      <wsdl:input message="tns:authenticateCredentialsRequest"/>
      <wsdl:output message="tns:authenticateCredentialsResponse"/>
    </wsdl:operation>
    <wsdl:operation name="submitOrder">
      <wsdl:documentation></wsdl:documentation>
      <wsdl:input message="tns:submitOrderRequest"/>
      <wsdl:output message="tns:submitOrderResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getSkuFromModelAndColorOrSize">
      <wsdl:documentation></wsdl:documentation>
      <wsdl:input message="tns:getSkuFromModelAndColorOrSizeRequest"/>
      <wsdl:output message="tns:getSkuFromModelAndColorOrSizeResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getOrderLotCode">
      <wsdl:documentation></wsdl:documentation>
      <wsdl:input message="tns:getOrderLotCodeRequest"/>
      <wsdl:output message="tns:getOrderLotCodeResponse"/>
    </wsdl:operation>
    <wsdl:operation name="cloneProduct">
      <wsdl:documentation></wsdl:documentation>
      <wsdl:input message="tns:cloneProductRequest"/>
      <wsdl:output message="tns:cloneProductResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getCreditCardOverrideFee">
      <wsdl:documentation></wsdl:documentation>
      <wsdl:input message="tns:getCreditCardOverrideFeeRequest"/>
      <wsdl:output message="tns:getCreditCardOverrideFeeResponse"/>
    </wsdl:operation>
    <wsdl:operation name="recordCreditCardFee">
      <wsdl:documentation></wsdl:documentation>
      <wsdl:input message="tns:recordCreditCardFeeRequest"/>
      <wsdl:output message="tns:recordCreditCardFeeResponse"/>
    </wsdl:operation>
    <wsdl:operation name="recordCreditCardFeeTotal">
      <wsdl:documentation></wsdl:documentation>
      <wsdl:input message="tns:recordCreditCardFeeTotalRequest"/>
      <wsdl:output message="tns:recordCreditCardFeeTotalResponse"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="HitOrderManagementControllerBinding" type="tns:HitOrderManagementControllerPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="checkPoIsDuplicate">
      <soap:operation soapAction="urn:HitOrderManagementControllerwsdl#checkPoIsDuplicate" style="rpc"/>
      <wsdl:input>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getCustomerInformation">
      <soap:operation soapAction="urn:HitOrderManagementControllerwsdl#getCustomerInformation" style="rpc"/>
      <wsdl:input>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="authenticateCredentials">
      <soap:operation soapAction="urn:HitOrderManagementControllerwsdl#authenticateCredentials" style="rpc"/>
      <wsdl:input>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="submitOrder">
      <soap:operation soapAction="urn:HitOrderManagementControllerwsdl#submitOrder" style="rpc"/>
      <wsdl:input>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getSkuFromModelAndColorOrSize">
      <soap:operation soapAction="urn:HitOrderManagementControllerwsdl#getSkuFromModelAndColorOrSize" style="rpc"/>
      <wsdl:input>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getOrderLotCode">
      <soap:operation soapAction="urn:HitOrderManagementControllerwsdl#getOrderLotCode" style="rpc"/>
      <wsdl:input>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="cloneProduct">
      <soap:operation soapAction="urn:HitOrderManagementControllerwsdl#cloneProduct" style="rpc"/>
      <wsdl:input>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getCreditCardOverrideFee">
      <soap:operation soapAction="urn:HitOrderManagementControllerwsdl#getCreditCardOverrideFee" style="rpc"/>
      <wsdl:input>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="recordCreditCardFee">
      <soap:operation soapAction="urn:HitOrderManagementControllerwsdl#recordCreditCardFee" style="rpc"/>
      <wsdl:input>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="recordCreditCardFeeTotal">
      <soap:operation soapAction="urn:HitOrderManagementControllerwsdl#recordCreditCardFeeTotal" style="rpc"/>
      <wsdl:input>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="encoded" namespace="urn:HitOrderManagementControllerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="HitOrderManagementControllerService">
    <wsdl:port name="HitOrderManagementControllerPort" binding="tns:HitOrderManagementControllerBinding">
      <soap:address location="https://ppds.hitpromo.net/hitOrderManagement/hitOrderManagement?ws=1"/>
    </wsdl:port>
  </wsdl:service>
</definitions>
