<?xml version="1.0"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://api.companykitchen.com/v1/order/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="OrderService" targetNamespace="http://api.companykitchen.com/v1/order/"><types><xsd:schema targetNamespace="http://api.companykitchen.com/v1/order/"><xsd:complexType name="ArrayOfAPI_Soap_String"><xsd:complexContent><xsd:restriction base="soap-enc:Array"><xsd:attribute ref="soap-enc:arrayType" wsdl:arrayType="tns:API_Soap_String[]"/></xsd:restriction></xsd:complexContent></xsd:complexType><xsd:complexType name="API_Soap_String"><xsd:all><xsd:element name="string" type="xsd:string" nillable="true"/></xsd:all></xsd:complexType><xsd:complexType name="API_Soap_Auth"><xsd:all><xsd:element name="login" type="xsd:string"/><xsd:element name="time" type="xsd:string"/><xsd:element name="hash" type="xsd:string"/></xsd:all></xsd:complexType><xsd:complexType name="ArrayOfAPI_Soap_Order"><xsd:complexContent><xsd:restriction base="soap-enc:Array"><xsd:attribute ref="soap-enc:arrayType" wsdl:arrayType="tns:API_Soap_Order[]"/></xsd:restriction></xsd:complexContent></xsd:complexType><xsd:complexType name="ArrayOfAPI_Soap_OrderItem"><xsd:complexContent><xsd:restriction base="soap-enc:Array"><xsd:attribute ref="soap-enc:arrayType" wsdl:arrayType="tns:API_Soap_OrderItem[]"/></xsd:restriction></xsd:complexContent></xsd:complexType><xsd:complexType name="API_Soap_OrderItem"><xsd:all><xsd:element name="product_id" type="xsd:string"/><xsd:element name="product_quantity" type="xsd:float"/><xsd:element name="product_new_id" type="xsd:string"/><xsd:element name="product_new_qty" type="xsd:float"/></xsd:all></xsd:complexType><xsd:complexType name="API_Soap_Order"><xsd:all><xsd:element name="order_id" type="xsd:int"/><xsd:element name="customer_id" type="xsd:string"/><xsd:element name="customer_description" type="xsd:string"/><xsd:element name="location_id" type="xsd:string"/><xsd:element name="location_description" type="xsd:string"/><xsd:element name="machine_id" type="xsd:string"/><xsd:element name="machine_description" type="xsd:string"/><xsd:element name="expected_delivery_date" type="xsd:string"/><xsd:element name="route_id" type="xsd:string"/><xsd:element name="route_description" type="xsd:string"/><xsd:element name="order_items" type="tns:ArrayOfAPI_Soap_OrderItem"/></xsd:all></xsd:complexType></xsd:schema></types><portType name="OrderServicePort"><operation name="getErrors"><documentation>Get an array of all errors in your session variable</documentation><input message="tns:getErrorsIn"/><output message="tns:getErrorsOut"/></operation><operation name="unsetErrors"><documentation>Clears the list of errors in your session variable</documentation><input message="tns:unsetErrorsIn"/><output message="tns:unsetErrorsOut"/></operation><operation name="getOrders"><documentation>Get the entire list of orders for the route based on expected delivery date</documentation><input message="tns:getOrdersIn"/><output message="tns:getOrdersOut"/></operation><operation name="getOrder"><documentation>Get an entire order based on the Order Id</documentation><input message="tns:getOrderIn"/><output message="tns:getOrderOut"/></operation><operation name="getOrderItems"><documentation>Returns the Order Items for a specific Order Id</documentation><input message="tns:getOrderItemsIn"/><output message="tns:getOrderItemsOut"/></operation><operation name="setOrderItemQuantity"><documentation>Make changes to an order item</documentation><input message="tns:setOrderItemQuantityIn"/><output message="tns:setOrderItemQuantityOut"/></operation></portType><binding name="OrderServiceBinding" type="tns:OrderServicePort"><soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/><operation name="getErrors"><soap:operation soapAction="http://api.companykitchen.com/v1/order/#getErrors"/><input><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://api.companykitchen.com/v1/order/"/></input><output><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://api.companykitchen.com/v1/order/"/></output></operation><operation name="unsetErrors"><soap:operation soapAction="http://api.companykitchen.com/v1/order/#unsetErrors"/><input><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://api.companykitchen.com/v1/order/"/></input><output><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://api.companykitchen.com/v1/order/"/></output></operation><operation name="getOrders"><soap:operation soapAction="http://api.companykitchen.com/v1/order/#getOrders"/><input><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://api.companykitchen.com/v1/order/"/></input><output><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://api.companykitchen.com/v1/order/"/></output></operation><operation name="getOrder"><soap:operation soapAction="http://api.companykitchen.com/v1/order/#getOrder"/><input><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://api.companykitchen.com/v1/order/"/></input><output><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://api.companykitchen.com/v1/order/"/></output></operation><operation name="getOrderItems"><soap:operation soapAction="http://api.companykitchen.com/v1/order/#getOrderItems"/><input><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://api.companykitchen.com/v1/order/"/></input><output><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://api.companykitchen.com/v1/order/"/></output></operation><operation name="setOrderItemQuantity"><soap:operation soapAction="http://api.companykitchen.com/v1/order/#setOrderItemQuantity"/><input><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://api.companykitchen.com/v1/order/"/></input><output><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://api.companykitchen.com/v1/order/"/></output></operation></binding><service name="OrderServiceService"><port name="OrderServicePort" binding="tns:OrderServiceBinding"><soap:address location="http://api.companykitchen.com/v1/order/"/></port></service><message name="getErrorsIn"/><message name="getErrorsOut"><part name="return" type="tns:ArrayOfAPI_Soap_String"/></message><message name="unsetErrorsIn"/><message name="unsetErrorsOut"><part name="return" type="xsd:boolean"/></message><message name="getOrdersIn"><part name="auth" type="tns:API_Soap_Auth"/><part name="routeId" type="xsd:string"/><part name="expectedDeliveryDate" type="xsd:string"/></message><message name="getOrdersOut"><part name="return" type="tns:ArrayOfAPI_Soap_Order"/></message><message name="getOrderIn"><part name="auth" type="tns:API_Soap_Auth"/><part name="orderId" type="xsd:int"/><part name="routeId" type="xsd:string"/><part name="expectedDeliveryDate" type="xsd:string"/></message><message name="getOrderOut"><part name="return" type="tns:API_Soap_Order"/></message><message name="getOrderItemsIn"><part name="auth" type="tns:API_Soap_Auth"/><part name="orderId" type="xsd:int"/></message><message name="getOrderItemsOut"><part name="return" type="tns:ArrayOfAPI_Soap_OrderItem"/></message><message name="setOrderItemQuantityIn"><part name="auth" type="tns:API_Soap_Auth"/><part name="orderId" type="xsd:int"/><part name="productId" type="xsd:int"/><part name="orderedQty" type="xsd:int"/><part name="changedQty" type="xsd:int"/><part name="changedProductId" type="xsd:int"/></message><message name="setOrderItemQuantityOut"><part name="return" type="tns:API_Soap_OrderItem"/></message></definitions>
