<?xml version="1.0"?>
<!-- root element wsdl:definitions defines set of related services -->
<wsdl:definitions name="StockQuote"
              targetNamespace="http://debian/sawis_api/wsdl/SawisService.wsdl.xml"
              xmlns:tns="http://debian/sawis_api/wsdl/SawisService.wsdl.xml"
              xmlns:xsd1="http://debian/sawis_api/wsdl/SawisService.wsdl.xml"
              xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
              xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
              xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
              xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/">

    <!-- wsdl:types encapsulates schema definitions of communication types; here using xsd -->
    <wsdl:types>
        <schema>
           <element name="address" type="http:addressType"/>
           <complexType name="addressType">
              <attribute name="location" type="uriReference" use="required"/>
           </complexType>
           <element name="binding" type="http:bindingType"/>
           <complexType name="bindingType">
              <attribute name="verb" type="NMTOKEN" use="required"/>
           </complexType>
           <element name="operation" type="http:operationType"/>
           <complexType name="operationType">
              <attribute name="location" type="uriReference" use="required"/>
           </complexType>
           <element name="urlEncoded">
              <complexType>
          </complexType>
           </element>
           <element name="urlReplacement">
              <complexType>
          </complexType>
           </element>
   <element name="content" type="mime:contentType"/>
   <complexType name="contentType" content="empty">
      <attribute name="type" type="string" use="optional"/>
      <attribute name="part" type="NMTOKEN" use="optional"/>
   </complexType>
   <element name="multipartRelated" type="mime:multipartRelatedType"/>
   <complexType name="multipartRelatedType" content="elementOnly">
      <element ref="mime:part" minOccurs="0" maxOccurs="unbounded"/>
   </complexType>
   <element name="part" type="mime:partType"/>
   <complexType name="partType" content="elementOnly">
      <any namespace="targetNamespace" minOccurs="0" maxOccurs="unbounded"/>
      <attribute name="name" type="NMTOKEN" use="required"/>
   </complexType>
   <element name="mimeXml" type="mime:mimeXmlType"/>
   <complexType name="mimeXmlType" content="empty">
      <attribute name="part" type="NMTOKEN" use="optional"/>
   </complexType>           
        </schema>
    </wsdl:types>

    <!-- request GetLastTradePriceInput is of type TradePriceRequest -->
    <wsdl:message name="getCultivarListInput">
        <wsdl:part name="body" element="xsd1:getCultivarListRequest"/>
    </wsdl:message>

    <!-- request GetLastTradePriceOutput is of type TradePrice -->
    <wsdl:message name="getCultivarListOutput">
        <wsdl:part name="body" element="xsd1:getCultivarList"/>
    </wsdl:message>

    <!-- wsdl:portType describes messages in an operation -->
    <wsdl:portType name="getCultivarListPortType">

    <!-- the value of wsdl:operation eludes me -->
        <wsdl:operation name="getCultivarList">
           <wsdl:input message="tns:getCultivarListInput"/>
           <wsdl:output message="tns:getCultivarListOutput"/>
        </wsdl:operation>
    </wsdl:portType>

    <!-- wsdl:binding states a serialization protocol for this service -->
    <wsdl:binding name="getCultivarListBinding" type="getCultivarListPortType">
        <http:binding verb="GET"/>
        <wsdl:operation name="getCultivarList">
           <http:operation location="getCultivarList"/>
           <wsdl:input>
               <http:urlEncoded/>
           </wsdl:input>
           <wsdl:output>
               <mime:content type="image/gif"/>
               <mime:content type="image/jpeg"/>
           </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>


    <!-- wsdl:service names a new service "StockQuoteService" -->
    <wsdl:service name="getCultivarListService">
        <wsdl:documentation>My first service</wsdl:documentation>

        <!-- connect it to the binding "StockQuoteBinding" above -->
        <wsdl:port name="getCultivarListPort"
                   binding="tns:getCultivarListBinding">
           <!-- give the binding an network address -->
           <wsdl:address location="http://lamp/sawis_api/api.php"/>
        </wsdl:port>
    </wsdl:service>

</wsdl:definitions>