<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions
    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="omnivore"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    targetNamespace="omnivore"
>
    <wsdl:types>
        <s:schema elementFormDefault="qualified" targetNamespace="omnivore">
            <s:element name="open-check-list-request-Body">
                <s:complexType>
                    <s:sequence>
                        <s:element name="open-check-list-request">
                            <s:complexType>
                                <s:sequence>
                                    <s:element name="trans-services-header">
                                        <s:complexType>
                                            <s:sequence>
                                                <s:element name="client-id" type="s:string"/>
                                                <s:element name="authentication-code" type="s:string"/>
                                                <s:element name="session-id" type="s:string"/>
                                            </s:sequence>
                                        </s:complexType>
                                    </s:element>
                                    <s:element name="order-search-criteria">
                                        <s:complexType>
                                            <s:sequence>
                                                <s:element name="employee-id" type="s:string" minOccurs="0" />
                                                <s:element name="profitcenter-id" type="s:string" minOccurs="0" />
                                                <s:element name="table-name" type="s:string" minOccurs="0" />
                                            </s:sequence>
                                        </s:complexType>
                                    </s:element>
                                </s:sequence>
                            </s:complexType>
                        </s:element>
                    </s:sequence>
                </s:complexType>
            </s:element>
            <s:element name="open-check-list-response-Body">
                <s:complexType>
                    <s:sequence>
                        <s:element name="open-check-list-response">
                            <s:complexType>
                                <s:sequence>
                                    <s:element name="trans-services-header">
                                        <s:complexType>
                                            <s:sequence>
                                                <s:element name="client-id" type="s:string"/>
                                                <s:element name="authentication-code" type="s:string"/>
                                                <s:element name="session-id" type="s:string"/>
                                            </s:sequence>
                                        </s:complexType>
                                    </s:element>
                                    <s:element name="service-completion-status" type="s:string"/>
                                    <s:element name="service-error" minOccurs="0">
                                        <s:complexType>
                                            <s:sequence>
                                                <s:element name="service-error-id" type="s:string"/>
                                                <s:element name="service-error-display-message" type="s:string"/>
                                            </s:sequence>
                                        </s:complexType>
                                    </s:element>
                                    <s:element name="order-list">
                                        <s:complexType>
                                            <s:sequence>
                                                <s:element name="order" maxOccurs="unbounded">
                                                    <s:attribute type="s:string" name="order-number"/>
                                                    <s:attribute type="s:string" name="table"/>
                                                    <s:attribute type="s:string" name="employee-id"/>
                                                    <s:attribute type="s:string" name="employee-name" />
                                                    <s:attribute type="s:string" name="open-time" />
                                                    <s:attribute type="s:string" name="amount" />
                                                    <s:attribute type="s:string" name="order-guid" />
                                                </s:element>
                                            </s:sequence>
                                        </s:complexType>
                                    </s:element>
                                </s:sequence>
                            </s:complexType>
                        </s:element>
                    </s:sequence>
                </s:complexType>
            </s:element>
        </s:schema>
    </wsdl:types>
    <wsdl:message name="ClientTicketListSoapIn">
        <wsdl:part name="parameters" element="tns:open-check-list-request-Body"/>
    </wsdl:message>
    <wsdl:message name="ClientTicketListSoapOut">
        <wsdl:part name="parameters" element="tns:open-check-list-response-Body"/>
    </wsdl:message>
    <wsdl:portType name="ClientTicketListSoap">
        <wsdl:operation name="ClientTicketList">
            <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
                Get Choice Groups from POS
            </wsdl:documentation>
            <wsdl:input message="tns:ClientTicketListSoapIn"/>
            <wsdl:output message="tns:ClientTicketListSoapOut"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="ClientTicketListSoap" type="tns:ClientTicketListSoap">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="ClientTicketList">
            <soap:operation soapAction="{{ soap_url }}" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="ClientTicketListService">
        <wsdl:port name="ClientTicketListSoap" binding="tns:ClientTicketListSoap">
            <soap:address location="{{ soap_url }}"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>