<?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="choicegroup-data-request-Body">
                <s:complexType>
                    <s:sequence>
                        <s:element name="choicegroup-data-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:sequence>
                            </s:complexType>
                        </s:element>
                    </s:sequence>
                </s:complexType>
            </s:element>
            <s:element name="choicegroup-data-response-Body">
                <s:complexType>
                    <s:sequence>
                        <s:element name="choicegroup-data-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="choicegroup-data" maxOccurs="unbounded">
                                        <s:attribute type="s:string" name="id"/>
                                        <s:attribute type="s:string" name="name"/>
                                        <s:attribute type="s:string" name="button-text"/>
                                        <s:complexType>
                                            <s:sequence>
                                                <s:element type="s:string" name="minimum-choices"/>
                                                <s:element type="s:string" name="maximum-choices"/>
                                                <s:element name="modifier" maxOccurs="unbounded">
                                                    <s:attribute type="s:string" name="id"/>
                                                </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="ChoicegroupSoapIn">
        <wsdl:part name="parameters" element="tns:choicegroup-data-request-Body"/>
    </wsdl:message>
    <wsdl:message name="ChoicegroupSoapOut">
        <wsdl:part name="parameters" element="tns:choicegroup-data-response-Body"/>
    </wsdl:message>
    <wsdl:portType name="ChoicegroupSoap">
        <wsdl:operation name="Choicegroup">
            <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
                Get Job Codes from POS
            </wsdl:documentation>
            <wsdl:input message="tns:ChoicegroupSoapIn"/>
            <wsdl:output message="tns:ChoicegroupSoapOut"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="ChoicegroupSoap" type="tns:ChoicegroupSoap">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="Choicegroup">
            <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="ChoicegroupService">
        <wsdl:port name="ChoicegroupSoap" binding="tns:ChoicegroupSoap">
            <soap:address location="{{ soap_url }}"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>