<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.imadeitlast.com/ws/trafficrat/reportByRoad" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://www.imadeitlast.com/ws/trafficrat/reportByRoad" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://www.imadeitlast.com/ws/trafficrat/reportByRoad">
      <s:element name="reportByRoad">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="road" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="reportByRoadResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="reportByRoadResult" type="tns:ArrayOfWebreport" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfWebreport">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="webreport" type="tns:webreport" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="webreport">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="id" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="sev" type="tns:severity" />
          <s:element minOccurs="0" maxOccurs="1" name="roadname" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="desc" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="reason" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:simpleType name="severity">
        <s:restriction base="s:string">
          <s:enumeration value="extreme" />
          <s:enumeration value="very_severe" />
          <s:enumeration value="severe" />
          <s:enumeration value="medium" />
          <s:enumeration value="slight" />
          <s:enumeration value="very_slight" />
          <s:enumeration value="clear" />
          <s:enumeration value="unknown" />
        </s:restriction>
      </s:simpleType>
      <s:element name="ArrayOfWebreport" nillable="true" type="tns:ArrayOfWebreport" />
    </s:schema>
  </wsdl:types>
  <wsdl:message name="reportByRoadSoapIn">
    <wsdl:part name="parameters" element="tns:reportByRoad" />
  </wsdl:message>
  <wsdl:message name="reportByRoadSoapOut">
    <wsdl:part name="parameters" element="tns:reportByRoadResponse" />
  </wsdl:message>
  <wsdl:message name="reportByRoadHttpGetIn">
    <wsdl:part name="road" type="s:string" />
  </wsdl:message>
  <wsdl:message name="reportByRoadHttpGetOut">
    <wsdl:part name="Body" element="tns:ArrayOfWebreport" />
  </wsdl:message>
  <wsdl:message name="reportByRoadHttpPostIn">
    <wsdl:part name="road" type="s:string" />
  </wsdl:message>
  <wsdl:message name="reportByRoadHttpPostOut">
    <wsdl:part name="Body" element="tns:ArrayOfWebreport" />
  </wsdl:message>
  <wsdl:portType name="RoadRatAPISoap">
    <wsdl:operation name="reportByRoad">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Enter road name of leave blank for all</wsdl:documentation>
      <wsdl:input message="tns:reportByRoadSoapIn" />
      <wsdl:output message="tns:reportByRoadSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:portType name="RoadRatAPIHttpGet">
    <wsdl:operation name="reportByRoad">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Enter road name of leave blank for all</wsdl:documentation>
      <wsdl:input message="tns:reportByRoadHttpGetIn" />
      <wsdl:output message="tns:reportByRoadHttpGetOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:portType name="RoadRatAPIHttpPost">
    <wsdl:operation name="reportByRoad">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Enter road name of leave blank for all</wsdl:documentation>
      <wsdl:input message="tns:reportByRoadHttpPostIn" />
      <wsdl:output message="tns:reportByRoadHttpPostOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="RoadRatAPISoap" type="tns:RoadRatAPISoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="reportByRoad">
      <soap:operation soapAction="http://www.imadeitlast.com/ws/trafficrat/reportByRoad/reportByRoad" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="RoadRatAPISoap12" type="tns:RoadRatAPISoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="reportByRoad">
      <soap12:operation soapAction="http://www.imadeitlast.com/ws/trafficrat/reportByRoad/reportByRoad" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="RoadRatAPIHttpGet" type="tns:RoadRatAPIHttpGet">
    <http:binding verb="GET" />
    <wsdl:operation name="reportByRoad">
      <http:operation location="/reportByRoad" />
      <wsdl:input>
        <http:urlEncoded />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="RoadRatAPIHttpPost" type="tns:RoadRatAPIHttpPost">
    <http:binding verb="POST" />
    <wsdl:operation name="reportByRoad">
      <http:operation location="/reportByRoad" />
      <wsdl:input>
        <mime:content type="application/x-www-form-urlencoded" />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="RoadRatAPI">
    <wsdl:port name="RoadRatAPISoap" binding="tns:RoadRatAPISoap">
      <soap:address location="http://www.imadeitlast.com/demos/traffic/RoadReport.asmx" />
    </wsdl:port>
    <wsdl:port name="RoadRatAPISoap12" binding="tns:RoadRatAPISoap12">
      <soap12:address location="http://www.imadeitlast.com/demos/traffic/RoadReport.asmx" />
    </wsdl:port>
    <wsdl:port name="RoadRatAPIHttpGet" binding="tns:RoadRatAPIHttpGet">
      <http:address location="http://www.imadeitlast.com/demos/traffic/RoadReport.asmx" />
    </wsdl:port>
    <wsdl:port name="RoadRatAPIHttpPost" binding="tns:RoadRatAPIHttpPost">
      <http:address location="http://www.imadeitlast.com/demos/traffic/RoadReport.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>