<?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:testwsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:testwsdl">
<types>
<xsd:schema targetNamespace="urn:testwsdl"
>
 <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
 <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
 <xsd:complexType name="searchParam">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
   <xsd:element name="province" type="xsd:int"/>
   <xsd:element name="lang" type="xsd:int"/>
   <xsd:element name="price" type="xsd:int"/>
   <xsd:element name="keyword" type="xsd:string"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="hotelRecordset">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
   <xsd:element name="name" type="xsd:string"/>
   <xsd:element name="description" type="xsd:string"/>
   <xsd:element name="rank" type="xsd:float"/>
   <xsd:element name="latitude" type="xsd:string"/>
   <xsd:element name="longitude" type="xsd:string"/>
   <xsd:element name="image" type="xsd:string"/>
   <xsd:element name="price" type="xsd:int"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="galleryRecordset">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
   <xsd:element name="image" type="xsd:string"/>
   <xsd:element name="image_thumb" type="xsd:string"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
</xsd:schema>
</types>
<message name="testRequest">
  <part name="name" type="xsd:string" /></message>
<message name="testResponse">
  <part name="return" type="xsd:string" /></message>
<message name="getSampleHotelRequest"></message>
<message name="getSampleHotelResponse">
  <part name="return" type="tns:hotelRecordset" /></message>
<message name="getHotelSearchRequest">
  <part name="search" type="tns:searchParam" /></message>
<message name="getHotelSearchResponse">
  <part name="return" type="tns:hotelRecordset" /></message>
<message name="getHotelSearch2Request">
  <part name="province" type="xsd:int" />
  <part name="lang" type="xsd:int" />
  <part name="price" type="xsd:int" />
  <part name="keyword" type="xsd:string" /></message>
<message name="getHotelSearch2Response">
  <part name="return" type="tns:hotelRecordset" /></message>
<message name="getHotelGalleryRequest">
  <part name="id" type="xsd:int" /></message>
<message name="getHotelGalleryResponse">
  <part name="return" type="tns:galleryRecordset" /></message>
<portType name="testwsdlPortType">
  <operation name="test">
    <documentation>Just Testing Service</documentation>
    <input message="tns:testRequest"/>
    <output message="tns:testResponse"/>
  </operation>
  <operation name="getSampleHotel">
    <documentation>Simple Hotels Data</documentation>
    <input message="tns:getSampleHotelRequest"/>
    <output message="tns:getSampleHotelResponse"/>
  </operation>
  <operation name="getHotelSearch">
    <documentation>Hotels Data</documentation>
    <input message="tns:getHotelSearchRequest"/>
    <output message="tns:getHotelSearchResponse"/>
  </operation>
  <operation name="getHotelSearch2">
    <documentation>Hotels Data2</documentation>
    <input message="tns:getHotelSearch2Request"/>
    <output message="tns:getHotelSearch2Response"/>
  </operation>
  <operation name="getHotelGallery">
    <documentation>Hotel Gallery</documentation>
    <input message="tns:getHotelGalleryRequest"/>
    <output message="tns:getHotelGalleryResponse"/>
  </operation>
</portType>
<binding name="testwsdlBinding" type="tns:testwsdlPortType">
  <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  <operation name="test">
    <soap:operation soapAction="urn:testwsdl#test" style="rpc"/>
    <input><soap:body use="encoded" namespace="urn:testwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="urn:testwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="getSampleHotel">
    <soap:operation soapAction="urn:testwsdl#getSampleHotel" style="rpc"/>
    <input><soap:body use="encoded" namespace="urn:testwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="urn:testwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="getHotelSearch">
    <soap:operation soapAction="urn:testwsdl#getHotelSearch" style="rpc"/>
    <input><soap:body use="encoded" namespace="urn:testwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="urn:testwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="getHotelSearch2">
    <soap:operation soapAction="urn:testwsdl#getHotelSearch2" style="rpc"/>
    <input><soap:body use="encoded" namespace="urn:testwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="urn:testwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="getHotelGallery">
    <soap:operation soapAction="urn:testwsdl#getHotelGallery" style="rpc"/>
    <input><soap:body use="encoded" namespace="urn:testwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="urn:testwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
</binding>
<service name="testwsdl">
  <port name="testwsdlPort" binding="tns:testwsdlBinding">
    <soap:address location="http://service.choowap.com/index.php"/>
  </port>
</service>
</definitions>