<?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:URAService" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:URAService">
<types>
<xsd:schema targetNamespace="urn:URAService">
 <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
 <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
</xsd:schema>
</types>
<message name="authenticateRequest">
  <part name="api_key" type="xsd:anyType" />
  <part name="api_username" type="xsd:anyType" />
  <part name="api_password" type="xsd:anyType" />
  <part name="hash" type="xsd:anyType" />
  <part name="backref" type="xsd:anyType" />
</message>
<message name="authenticateResponse">
  <part name="return" type="xsd:anyType" />
</message>
<message name="uraLookupByNumberPlateRequest">
  <part name="number_plate" type="xsd:anyType"/>
  <part name="api_key" type="xsd:anyType" />
  <part name="api_username" type="xsd:anyType" />
  <part name="api_password" type="xsd:anyType" />
  <part name="session_key" type="xsd:anyType" />
  <part name="hash" type="xsd:anyType" />
  <part name="backref" type="xsd:anyType" />
</message>
<message name="uraLookupByNumberPlateResponse">
  <part name="return" type="xsd:anyType" />
</message>
<message name="uraLookupByTINRequest">
  <part name="tin" type="xsd:anyType"/>
  <part name="api_key" type="xsd:anyType" />
  <part name="api_username" type="xsd:anyType" />
  <part name="api_password" type="xsd:anyType" />
  <part name="session_key" type="xsd:anyType" />
  <part name="hash" type="xsd:anyType" />
  <part name="backref" type="xsd:anyType" />
</message>
<message name="uraLookupByTINResponse">
  <part name="return" type="xsd:anyType" />
</message>
<message name="getVehicleDetailsRequest">
  <part name="id" type="xsd:anyType"/>
  <part name="api_key" type="xsd:anyType" />
  <part name="api_username" type="xsd:anyType" />
  <part name="api_password" type="xsd:anyType" />
  <part name="session_key" type="xsd:anyType" />
  <part name="hash" type="xsd:anyType" />
  <part name="backref" type="xsd:anyType" />
</message>
<message name="getVehicleDetailsResponse">
  <part name="return" type="xsd:anyType" />
</message>
<message name="logoutRequest">
  <part name="session_key" type="xsd:anyType" />
  <part name="hash" type="xsd:anyType" />
  <part name="backref" type="xsd:anyType" />
</message>
<message name="logoutResponse">
  <part name="return" type="xsd:anyType" />
</message>
<portType name="URAServicePortType">
   <operation name="authenticate">
    <documentation>Validate a user by supplied password, returns session key</documentation>
    <input message="tns:authenticateRequest"/>
  <output message="tns:authenticateResponse"/>
  </operation>
  <operation name="uraLookupByNumberPlate">
    <documentation>Search for a vehicle by Numer Plate from the URA Database</documentation>
    <input message="tns:uraLookupByNumberPlateRequest"/>
    <output message="tns:uraLookupByNumberPlateResponse"/>
  </operation>
  <operation name="uraLookupByTIN">
    <documentation>Search for a vehicle by TIN from the URA Database</documentation>
    <input message="tns:uraLookupByTINRequest"/>
    <output message="tns:uraLookupByTINResponse"/>
  </operation>
  <operation name="getVehicleDetails">
    <documentation>View Vehicle from the URA Database</documentation>
    <input message="tns:getVehicleDetailsRequest"/>
    <output message="tns:getVehicleDetailsResponse"/>
  </operation>  
  <operation name="logout">
    <documentation>The operation is used to remove the service active session</documentation>
    <input message="tns:logoutRequest"/>
    <output message="tns:logoutResponse"/>
  </operation>
</portType>
<binding name="URAServiceBinding" type="tns:URAServicePortType">
  <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  <operation name="authenticate">
    <soap:operation soapAction="urn:URAService#authenticate" style="rpc"/>
    <input><soap:body use="encoded" namespace="urn:URAService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="urn:URAService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="uraLookupByNumberPlate">
    <soap:operation soapAction="urn:URAService#uraLookupByNumberPlate" style="rpc"/>
    <input><soap:body use="encoded" namespace="urn:URAService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="urn:URAService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="uraLookupByTIN">
    <soap:operation soapAction="urn:URAService#uraLookupByTIN" style="rpc"/>
    <input><soap:body use="encoded" namespace="urn:URAService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="urn:URAService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="getVehicleDetails">
    <soap:operation soapAction="urn:URAService#getVehicleDetails" style="rpc"/>
    <input><soap:body use="encoded" namespace="urn:URAService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="urn:URAService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="logout">
    <soap:operation soapAction="urn:URAService#logout" style="rpc"/>
    <input><soap:body use="encoded" namespace="urn:URAService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="urn:URAService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
</binding>
<service name="URAService">
  <port name="URAServicePort" binding="tns:URAServiceBinding">
    <soap:address location="https://localhost/api/ura-servicesv1.php"/>
  </port>
</service>
</definitions>