<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://chrome52/webservices/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://chrome52/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">A service to batch upload orders to Chrome52 from clients.</wsdl:documentation>
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://chrome52/webservices/">
      <s:element name="OrderUpload">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="VendorCode" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="VendorAccessKey" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Batch" type="tns:ArrayOfOrder" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfOrder">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="Order" nillable="true" type="tns:Order" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="Order">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="orderid" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="po" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="orderDate" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="startDate" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="expiryDate" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="numOfCartons" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="weight" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="shipMethod" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="orderTerms" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="orderType" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="orderCurrency" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="orderTax" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="warehouseCurrency" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="warehouseTax" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="freightTax" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="warehouseid" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="note" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="season" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="userid" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="repcode" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="custom1" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="custom2" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="custom3" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="custom4" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="custom5" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="orderPriority" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="shipAddress" type="tns:Address" />
          <s:element minOccurs="0" maxOccurs="1" name="billAddress" type="tns:Address" />
          <s:element minOccurs="0" maxOccurs="1" name="orderItems" type="tns:ArrayOfOrderItem" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="Address">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="name" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="line1" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="line2" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="line3" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="city" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="provstate" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="postalcode" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="country" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="phone" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="fax" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="email" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="web" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="contact" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfOrderItem">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="OrderItem" nillable="true" type="tns:OrderItem" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="OrderItem">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="orderID" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="sku" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="quantity" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="itemValue" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="lineNote" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="carton" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="warehouseid" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="categoryid" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="OrderUploadResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="OrderUploadResult" type="tns:OrderResult" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="OrderResult">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="result" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="error" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="orderids" type="tns:ArrayOfString" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfString">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string" />
        </s:sequence>
      </s:complexType>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="OrderUploadSoapIn">
    <wsdl:part name="parameters" element="tns:OrderUpload" />
  </wsdl:message>
  <wsdl:message name="OrderUploadSoapOut">
    <wsdl:part name="parameters" element="tns:OrderUploadResponse" />
  </wsdl:message>
  <wsdl:portType name="OrderWsSoap">
    <wsdl:operation name="OrderUpload">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Submit a batch of orders.</wsdl:documentation>
      <wsdl:input message="tns:OrderUploadSoapIn" />
      <wsdl:output message="tns:OrderUploadSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="OrderWsSoap" type="tns:OrderWsSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="OrderUpload">
      <soap:operation soapAction="http://chrome52/webservices/OrderUpload" 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="OrderWsSoap12" type="tns:OrderWsSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="OrderUpload">
      <soap12:operation soapAction="http://chrome52/webservices/OrderUpload" 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="OrderWs">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">A service to batch upload orders to Chrome52 from clients.</wsdl:documentation>
    <wsdl:port name="OrderWsSoap" binding="tns:OrderWsSoap">
      <soap:address location="http://www.ioperate.net/ws/order/orderws.asmx" />
    </wsdl:port>
    <wsdl:port name="OrderWsSoap12" binding="tns:OrderWsSoap12">
      <soap12:address location="http://www.ioperate.net/ws/order/orderws.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>