<?xml version="1.0" encoding="utf-8" standalone="no"?>
<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:tns="http://webservice.rainiersofware.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://webservice.rainiersofware.com/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://webservice.rainiersofware.com/">
      <s:element name="GetSupplierPurchases">
        <s:complexType>
          <s:sequence>
            <s:element maxOccurs="1" minOccurs="0" name="supplier" type="s:string"/>
            <s:element maxOccurs="1" minOccurs="0" name="key" type="s:string"/>
            <s:element maxOccurs="1" minOccurs="0" name="startdate" type="s:string"/>
            <s:element maxOccurs="1" minOccurs="0" name="enddate" type="s:string"/>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetSupplierPurchasesResponse">
        <s:complexType>
          <s:sequence>
            <s:element maxOccurs="1" minOccurs="0" name="GetSupplierPurchasesResult" type="tns:ArrayOfSupplierPurchase"/>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfSupplierPurchase">
        <s:sequence>
          <s:element maxOccurs="unbounded" minOccurs="0" name="SupplierPurchase" nillable="true" type="tns:SupplierPurchase"/>
        </s:sequence>
      </s:complexType>
      <s:complexType name="SupplierPurchase">
        <s:sequence>
          <s:element maxOccurs="1" minOccurs="0" name="Result" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="OrganizationName" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="1" name="OrganizationID" type="s:int"/>
          <s:element maxOccurs="1" minOccurs="0" name="OrganizationContact" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="OrganizationStreet1" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="OrganizationStreet2" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="OrganizationCity" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="OrganizationState" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="OrganizationZipCode" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="OrganizationCountry" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="OrganizationEmail" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="1" name="DateSold" type="s:dateTime"/>
          <s:element maxOccurs="1" minOccurs="0" name="OrderNumber" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="1" name="InternalOrderItemID" type="s:int"/>
          <s:element maxOccurs="1" minOccurs="0" name="ProductSupplierSKU" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="ProductDisplayName" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="1" name="Quantity" type="s:int"/>
          <s:element maxOccurs="1" minOccurs="0" name="ProductSize" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="ProductColor" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="ProductStyle" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="ProductModel" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="ProductType" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="FrontPersonalization" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="BackPersonalization" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="1" name="OrganizationCost" type="s:decimal"/>
          <s:element maxOccurs="1" minOccurs="1" name="WholeSalePrice" type="s:decimal"/>
          <s:element maxOccurs="1" minOccurs="0" name="FirstName" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="LastName" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="Street1" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="Street2" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="City" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="State" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="ZipCode" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="EmailAddress" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="PhoneNumber" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="PaymentGatewayReference" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="PaymentGatewayName" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="1" name="PaymentTotal" type="s:decimal"/>
          <s:element maxOccurs="1" minOccurs="1" name="SubTotal" type="s:decimal"/>
          <s:element maxOccurs="1" minOccurs="1" name="ShippingTotal" type="s:decimal"/>
          <s:element maxOccurs="1" minOccurs="1" name="TaxTotal" type="s:decimal"/>
        </s:sequence>
      </s:complexType>
      <s:element name="UpdateSupplierPurchase">
        <s:complexType>
          <s:sequence>
            <s:element maxOccurs="1" minOccurs="0" name="supplier" type="s:string"/>
            <s:element maxOccurs="1" minOccurs="0" name="key" type="s:string"/>
            <s:element maxOccurs="1" minOccurs="0" name="updateRecord" type="tns:SupplierPurchaseUpdate"/>
            <s:element maxOccurs="1" minOccurs="1" name="sendConfirmation" type="s:boolean"/>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="SupplierPurchaseUpdate">
        <s:sequence>
          <s:element maxOccurs="1" minOccurs="1" name="Success" type="s:boolean"/>
          <s:element maxOccurs="1" minOccurs="0" name="Result" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="1" name="InternalOrderItemID" type="s:int"/>
          <s:element maxOccurs="1" minOccurs="1" name="ShipDate" type="s:dateTime"/>
          <s:element maxOccurs="1" minOccurs="0" name="TrackingCode" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="0" name="TrackingURL" type="s:string"/>
          <s:element maxOccurs="1" minOccurs="1" name="OrganizationID" type="s:int"/>
        </s:sequence>
      </s:complexType>
      <s:element name="UpdateSupplierPurchaseResponse">
        <s:complexType>
          <s:sequence>
            <s:element maxOccurs="1" minOccurs="0" name="UpdateSupplierPurchaseResult" type="tns:SupplierPurchaseUpdate"/>
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="GetSupplierPurchasesSoapIn">
    <wsdl:part element="tns:GetSupplierPurchases" name="parameters"/>
  </wsdl:message>
  <wsdl:message name="GetSupplierPurchasesSoapOut">
    <wsdl:part element="tns:GetSupplierPurchasesResponse" name="parameters"/>
  </wsdl:message>
  <wsdl:message name="UpdateSupplierPurchaseSoapIn">
    <wsdl:part element="tns:UpdateSupplierPurchase" name="parameters"/>
  </wsdl:message>
  <wsdl:message name="UpdateSupplierPurchaseSoapOut">
    <wsdl:part element="tns:UpdateSupplierPurchaseResponse" name="parameters"/>
  </wsdl:message>
  <wsdl:portType name="SupplierServiceSoap">
    <wsdl:operation name="GetSupplierPurchases">
      <wsdl:input message="tns:GetSupplierPurchasesSoapIn"/>
      <wsdl:output message="tns:GetSupplierPurchasesSoapOut"/>
    </wsdl:operation>
    <wsdl:operation name="UpdateSupplierPurchase">
      <wsdl:input message="tns:UpdateSupplierPurchaseSoapIn"/>
      <wsdl:output message="tns:UpdateSupplierPurchaseSoapOut"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="SupplierServiceSoap" type="tns:SupplierServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="GetSupplierPurchases">
      <soap:operation soapAction="http://webservice.rainiersofware.com/GetSupplierPurchases" style="document"/>
      <wsdl:input>
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="UpdateSupplierPurchase">
      <soap:operation soapAction="http://webservice.rainiersofware.com/UpdateSupplierPurchase" 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="SupplierServiceSoap12" type="tns:SupplierServiceSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="GetSupplierPurchases">
      <soap12:operation soapAction="http://webservice.rainiersofware.com/GetSupplierPurchases" style="document"/>
      <wsdl:input>
        <soap12:body use="literal"/>
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="UpdateSupplierPurchase">
      <soap12:operation soapAction="http://webservice.rainiersofware.com/UpdateSupplierPurchase" 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="SupplierService">
    <wsdl:port binding="tns:SupplierServiceSoap" name="SupplierServiceSoap">
      <soap:address location="https://webservice.countmein.com/WebService/SupplierService.asmx"/>
    </wsdl:port>
    <wsdl:port binding="tns:SupplierServiceSoap12" name="SupplierServiceSoap12">
      <soap12:address location="https://webservice.countmein.com/WebService/SupplierService.asmx"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>
