<?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://api.foodspex.com/" xmlns:s1="http://microsoft.com/wsdl/types/" 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://api.foodspex.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://api.foodspex.com/">
      <s:import namespace="http://microsoft.com/wsdl/types/" />
      <s:element name="GetChapters">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="userAPIKey" type="s1:guid" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetChaptersResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetChaptersResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetParagraphs">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="userAPIKey" type="s1:guid" />
            <s:element minOccurs="1" maxOccurs="1" name="chapterID" type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetParagraphsResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetParagraphsResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetBrands">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="userAPIKey" type="s1:guid" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetBrandsResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetBrandsResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetProductsByName">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="userAPIKey" type="s1:guid" />
            <s:element minOccurs="0" maxOccurs="1" name="productName" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetProductsByNameResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetProductsByNameResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetProductsByParagraphID">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="userAPIKey" type="s1:guid" />
            <s:element minOccurs="1" maxOccurs="1" name="paragraphID" type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetProductsByParagraphIDResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetProductsByParagraphIDResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetProductsByBrandID">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="userAPIKey" type="s1:guid" />
            <s:element minOccurs="1" maxOccurs="1" name="brandID" type="s1:guid" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetProductsByBrandIDResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetProductsByBrandIDResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetProductsByGTIN">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="userAPIKey" type="s1:guid" />
            <s:element minOccurs="0" maxOccurs="1" name="GTIN" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetProductsByGTINResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetProductsByGTINResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetProduct">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="userAPIKey" type="s1:guid" />
            <s:element minOccurs="1" maxOccurs="1" name="productID" type="s1:guid" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetProductResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetProductResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
    <s:schema elementFormDefault="qualified" targetNamespace="http://microsoft.com/wsdl/types/">
      <s:simpleType name="guid">
        <s:restriction base="s:string">
          <s:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}" />
        </s:restriction>
      </s:simpleType>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="GetChaptersSoapIn">
    <wsdl:part name="parameters" element="tns:GetChapters" />
  </wsdl:message>
  <wsdl:message name="GetChaptersSoapOut">
    <wsdl:part name="parameters" element="tns:GetChaptersResponse" />
  </wsdl:message>
  <wsdl:message name="GetParagraphsSoapIn">
    <wsdl:part name="parameters" element="tns:GetParagraphs" />
  </wsdl:message>
  <wsdl:message name="GetParagraphsSoapOut">
    <wsdl:part name="parameters" element="tns:GetParagraphsResponse" />
  </wsdl:message>
  <wsdl:message name="GetBrandsSoapIn">
    <wsdl:part name="parameters" element="tns:GetBrands" />
  </wsdl:message>
  <wsdl:message name="GetBrandsSoapOut">
    <wsdl:part name="parameters" element="tns:GetBrandsResponse" />
  </wsdl:message>
  <wsdl:message name="GetProductsByNameSoapIn">
    <wsdl:part name="parameters" element="tns:GetProductsByName" />
  </wsdl:message>
  <wsdl:message name="GetProductsByNameSoapOut">
    <wsdl:part name="parameters" element="tns:GetProductsByNameResponse" />
  </wsdl:message>
  <wsdl:message name="GetProductsByParagraphIDSoapIn">
    <wsdl:part name="parameters" element="tns:GetProductsByParagraphID" />
  </wsdl:message>
  <wsdl:message name="GetProductsByParagraphIDSoapOut">
    <wsdl:part name="parameters" element="tns:GetProductsByParagraphIDResponse" />
  </wsdl:message>
  <wsdl:message name="GetProductsByBrandIDSoapIn">
    <wsdl:part name="parameters" element="tns:GetProductsByBrandID" />
  </wsdl:message>
  <wsdl:message name="GetProductsByBrandIDSoapOut">
    <wsdl:part name="parameters" element="tns:GetProductsByBrandIDResponse" />
  </wsdl:message>
  <wsdl:message name="GetProductsByGTINSoapIn">
    <wsdl:part name="parameters" element="tns:GetProductsByGTIN" />
  </wsdl:message>
  <wsdl:message name="GetProductsByGTINSoapOut">
    <wsdl:part name="parameters" element="tns:GetProductsByGTINResponse" />
  </wsdl:message>
  <wsdl:message name="GetProductSoapIn">
    <wsdl:part name="parameters" element="tns:GetProduct" />
  </wsdl:message>
  <wsdl:message name="GetProductSoapOut">
    <wsdl:part name="parameters" element="tns:GetProductResponse" />
  </wsdl:message>
  <wsdl:portType name="FoodspexServiceSoap">
    <wsdl:operation name="GetChapters">
      <wsdl:input message="tns:GetChaptersSoapIn" />
      <wsdl:output message="tns:GetChaptersSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetParagraphs">
      <wsdl:input message="tns:GetParagraphsSoapIn" />
      <wsdl:output message="tns:GetParagraphsSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetBrands">
      <wsdl:input message="tns:GetBrandsSoapIn" />
      <wsdl:output message="tns:GetBrandsSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetProductsByName">
      <wsdl:input message="tns:GetProductsByNameSoapIn" />
      <wsdl:output message="tns:GetProductsByNameSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetProductsByParagraphID">
      <wsdl:input message="tns:GetProductsByParagraphIDSoapIn" />
      <wsdl:output message="tns:GetProductsByParagraphIDSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetProductsByBrandID">
      <wsdl:input message="tns:GetProductsByBrandIDSoapIn" />
      <wsdl:output message="tns:GetProductsByBrandIDSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetProductsByGTIN">
      <wsdl:input message="tns:GetProductsByGTINSoapIn" />
      <wsdl:output message="tns:GetProductsByGTINSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetProduct">
      <wsdl:input message="tns:GetProductSoapIn" />
      <wsdl:output message="tns:GetProductSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="FoodspexServiceSoap" type="tns:FoodspexServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetChapters">
      <soap:operation soapAction="http://api.foodspex.com/GetChapters" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetParagraphs">
      <soap:operation soapAction="http://api.foodspex.com/GetParagraphs" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetBrands">
      <soap:operation soapAction="http://api.foodspex.com/GetBrands" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetProductsByName">
      <soap:operation soapAction="http://api.foodspex.com/GetProductsByName" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetProductsByParagraphID">
      <soap:operation soapAction="http://api.foodspex.com/GetProductsByParagraphID" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetProductsByBrandID">
      <soap:operation soapAction="http://api.foodspex.com/GetProductsByBrandID" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetProductsByGTIN">
      <soap:operation soapAction="http://api.foodspex.com/GetProductsByGTIN" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetProduct">
      <soap:operation soapAction="http://api.foodspex.com/GetProduct" 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="FoodspexServiceSoap12" type="tns:FoodspexServiceSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetChapters">
      <soap12:operation soapAction="http://api.foodspex.com/GetChapters" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetParagraphs">
      <soap12:operation soapAction="http://api.foodspex.com/GetParagraphs" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetBrands">
      <soap12:operation soapAction="http://api.foodspex.com/GetBrands" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetProductsByName">
      <soap12:operation soapAction="http://api.foodspex.com/GetProductsByName" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetProductsByParagraphID">
      <soap12:operation soapAction="http://api.foodspex.com/GetProductsByParagraphID" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetProductsByBrandID">
      <soap12:operation soapAction="http://api.foodspex.com/GetProductsByBrandID" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetProductsByGTIN">
      <soap12:operation soapAction="http://api.foodspex.com/GetProductsByGTIN" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetProduct">
      <soap12:operation soapAction="http://api.foodspex.com/GetProduct" 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="FoodspexService">
    <wsdl:port name="FoodspexServiceSoap" binding="tns:FoodspexServiceSoap">
      <soap:address location="http://www.foodspex.com/foodspexService.asmx" />
    </wsdl:port>
    <wsdl:port name="FoodspexServiceSoap12" binding="tns:FoodspexServiceSoap12">
      <soap12:address location="http://www.foodspex.com/foodspexService.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>