<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE namespaces [
 <!ENTITY SampleOntology "http://www.w3.org/2002/ws/sawsdl/spec/example/ontology/SampleOntology">
 ]>
<wsdl:description
   targetNamespace="www.w3.org/2002/ws/sawsdl/spec/examples/wsdl/CheckInventoryService/"
   xmlns="http://www.w3.org/2002/ws/sawsdl/spec/examples/wsdl/CheckInventoryService/"
   xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
   xmlns:xs="http://www.w3.org/2001/XMLSchema"
   xmlns:sawsdl="http://www.w3.org/2002/sw/sawsdl/spec/sawsdl#"
   xmlns:SampleOntology="http://www.w3.org/2002/ws/sawsdl/spec/example/ontology/SampleOntology#">

   <wsdl:types>
     <xs:schema targetNamespace="www.w3.org/2002/ws/sawsdl/spec/examples/wsdl/CheckInventoryService">
     <xs:element name="CheckInventoryServiceRequest">
        <xs:complexType>
           <xs:sequence>
              <xs:element name="SKU" type="xsd:string"
                 sawsdl:modelReference="&SampleOntology;#SKU"/>
              <wsdl:element name="deliveryDate" type="xsd:string"
                 sawsdl:modelReference="&SampleOntology;#DeliveryDate"/>
              <wsdl:element name="numBundles" type="xsd:float"
                 sawsdl:modelReference="&SampleOntology;#NumBundles"/>
           </xs:sequence>
        </xs:complexType>
     </xs:element>
     <xs:element name="CheckInventoryServiceResponse">
        <xs:complexType>
           <xs:sequence>
              <xs:element name="conf" type="xsd:boolean"
                  sawsdl:modelReference="&SampleOntology;#AvailabilityConfirmation"/>
              <xs:element name="numBundles_available" type="xsd:string"
                  sawsdl:modelReference="&SampleOntology;#NumBundles"/>
           </xs:sequence>
        </xs:complexType>
     </xs:element>
     </xs:schema>
   </wsdl:types>

   <wsdl:interface name="CheckInventoryService"
      sawsdl:modelReference="categorization#Electronics">
      <wsdl:operation name="checkInventoryService" pattern="http://www.w3.org/2006/01/wsdl/in-out"
         sawsdl:modelReference="categorization#Electronics">
         <wsdl:input element="CheckInventoryServiceRequest"/>
         <wsdl:output element="CheckInventoryServiceResponse"/>
      </wsdl:operation>
   </wsdl:interface>
</wsdl:description> 
