<?xml version="1.0" encoding="ISO-8859-1"?>
<definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:videodb" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:videodb">
<types><xsd:schema targetNamespace="urn:videodb"
>
 <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
 <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
 <xsd:complexType name="VideodbItem">
  <xsd:all>
   <xsd:element name="id" type="xsd:int"/>
   <xsd:element name="imdbid" type="xsd:string"/>
   <xsd:element name="diskid" type="xsd:string"/>
   <xsd:element name="owner" type="xsd:string"/>
   <xsd:element name="who" type="xsd:string"/>
   <xsd:element name="title" type="xsd:string"/>
   <xsd:element name="subtitle" type="xsd:string"/>
   <xsd:element name="imgurl" type="xsd:string"/>
   <xsd:element name="director" type="xsd:string"/>
   <xsd:element name="language" type="xsd:string"/>
   <xsd:element name="country" type="xsd:string"/>
   <xsd:element name="mediatype" type="xsd:string"/>
   <xsd:element name="year" type="xsd:int"/>
   <xsd:element name="plot" type="xsd:string"/>
   <xsd:element name="comment" type="xsd:string"/>
   <xsd:element name="actors" type="xsd:string"/>
   <xsd:element name="created" type="xsd:string"/>
   <xsd:element name="updated" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="VideodbItems">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:VideodbItem[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="VideodbSearchInput">
  <xsd:all>
   <xsd:element name="limit" type="xsd:int"/>
   <xsd:element name="start" type="xsd:int"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="VideodbSearchResult">
  <xsd:all>
   <xsd:element name="numResults" type="xsd:int"/>
   <xsd:element name="items" type="tns:VideodbItems"/>
  </xsd:all>
 </xsd:complexType>
</xsd:schema>
</types>
<message name="helloRequest"><part name="name" type="xsd:string" /></message>
<message name="helloResponse"><part name="return" type="xsd:string" /></message>
<message name="getItemRequest"><part name="id" type="xsd:int" /></message>
<message name="getItemResponse"><part name="return" type="tns:VideodbItem" /></message>
<message name="getItemsRequest"><part name="query" type="tns:VideodbSearchInput" /></message>
<message name="getItemsResponse"><part name="return" type="tns:VideodbSearchResult" /></message>
<message name="deleteItemsRequest"><part name="delete" type="tns:VideodbItems" /></message>
<message name="deleteItemsResponse"><part name="return" type="xsd:boolean" /></message>
<portType name="videodbPortType"><operation name="hello"><input message="tns:helloRequest"/><output message="tns:helloResponse"/></operation><operation name="getItem"><documentation>Returns a video item</documentation><input message="tns:getItemRequest"/><output message="tns:getItemResponse"/></operation><operation name="getItems"><documentation>Returns the list of video items</documentation><input message="tns:getItemsRequest"/><output message="tns:getItemsResponse"/></operation><operation name="deleteItems"><documentation>Delete a list of video items</documentation><input message="tns:deleteItemsRequest"/><output message="tns:deleteItemsResponse"/></operation></portType>
<binding name="videodbBinding" type="tns:videodbPortType"><soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/><operation name="hello"><soap:operation soapAction="uri:helloworld/hello" style="rpc"/><input><soap:body use="encoded" namespace="uri:helloworld" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="uri:helloworld" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="getItem"><soap:operation soapAction="videodb#getItem" style="rpc"/><input><soap:body use="encoded" namespace="videodb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="videodb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="getItems"><soap:operation soapAction="videodb#getItems" style="rpc"/><input><soap:body use="encoded" namespace="videodb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="videodb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="deleteItems"><soap:operation soapAction="videodb#deleteItems" style="rpc"/><input><soap:body use="encoded" namespace="videodb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="videodb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation></binding>
<service name="videodb"><port name="videodbPort" binding="tns:videodbBinding"><soap:address location="http://localhost/videodb/webservice/service.php"/></port></service>
</definitions>