<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="https://henrico.gov/police/public-data-access/help/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:http="http://schemas.microsoft.com/ws/06/2004/policy/http" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" targetNamespace="https://henrico.gov/police/public-data-access/help/" name="ISoapIcrService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <xs:schema elementFormDefault="qualified" targetNamespace="https://henrico.gov/police/public-data-access/help/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/">
      <xs:element name="GetICRResults">
        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="1" name="strServiceArea" nillable="true" type="xs:string" />
            <xs:element minOccurs="1" name="strSRA" nillable="true" type="xs:string" />
            <xs:element minOccurs="1" name="strSpecCrimeCategory" nillable="true" type="xs:string" />
            <xs:element minOccurs="1" name="strCrimeCategory" nillable="true" type="xs:string" />
            <xs:element minOccurs="1" name="strMagisDist" nillable="true" type="xs:string" />
            <xs:element minOccurs="1" name="strStartDate" nillable="true" type="xs:string" />
            <xs:element minOccurs="1" name="strEndDate" nillable="true" type="xs:string" />
            <xs:element minOccurs="1" name="strNeigoboorhoodWatch" nillable="true" type="xs:string" />
            <xs:element minOccurs="1" name="strStreetName" nillable="true" type="xs:string" />
            <xs:element minOccurs="1" name="strDirection" nillable="true" type="xs:string" />
            <xs:element minOccurs="1" name="strStreetType" nillable="true" type="xs:string" />
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="GetICRResultsResponse">
        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="1" name="GetICRResultsResult" nillable="true" type="tns:ArrayOfICRResults" />
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="GetICRResultsForLastDayOrWeek">
        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="1" name="strDayOrWeek" nillable="true" type="xs:string" />
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="GetICRResultsForLastDayOrWeekResponse">
        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="1" name="GetICRResultsForLastDayOrWeekResult" nillable="true" type="tns:ArrayOfICRResults" />
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>
    <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/">
      <xs:element name="anyType" nillable="true" type="xs:anyType" />
      <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
      <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
      <xs:element name="boolean" nillable="true" type="xs:boolean" />
      <xs:element name="byte" nillable="true" type="xs:byte" />
      <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
      <xs:element name="decimal" nillable="true" type="xs:decimal" />
      <xs:element name="double" nillable="true" type="xs:double" />
      <xs:element name="float" nillable="true" type="xs:float" />
      <xs:element name="int" nillable="true" type="xs:int" />
      <xs:element name="long" nillable="true" type="xs:long" />
      <xs:element name="QName" nillable="true" type="xs:QName" />
      <xs:element name="short" nillable="true" type="xs:short" />
      <xs:element name="string" nillable="true" type="xs:string" />
      <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
      <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
      <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
      <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
      <xs:element name="char" nillable="true" type="tns:char" />
      <xs:simpleType name="char">
        <xs:restriction base="xs:int" />
      </xs:simpleType>
      <xs:element name="duration" nillable="true" type="tns:duration" />
      <xs:simpleType name="duration">
        <xs:restriction base="xs:duration">
          <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
          <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
          <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
        </xs:restriction>
      </xs:simpleType>
      <xs:element name="guid" nillable="true" type="tns:guid" />
      <xs:simpleType name="guid">
        <xs:restriction base="xs:string">
          <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
        </xs:restriction>
      </xs:simpleType>
      <xs:attribute name="FactoryType" type="xs:QName" />
      <xs:attribute name="Id" type="xs:ID" />
      <xs:attribute name="Ref" type="xs:IDREF" />
    </xs:schema>
    <xs:schema elementFormDefault="qualified" targetNamespace="https://henrico.gov/police/public-data-access/help/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="https://henrico.gov/police/public-data-access/help/" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/">
      <xs:import namespace="http://schemas.datacontract.org/2004/07/System" />
      <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
      <xs:complexType name="ICRResults" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/">
        <xs:sequence>
          <xs:element minOccurs="0" name="MagisDistrict" nillable="true" type="xs:string" />
          <xs:element nillable="true" minOccurs="0" name="beginDateTime" type="xs:dateTime" />
          <xs:element minOccurs="0" name="block" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="comments" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="disposition" nillable="true" type="xs:string" />
          <xs:element nillable="true" minOccurs="0" name="endDateTime" type="xs:dateTime" />
          <xs:element minOccurs="0" name="icrNumber" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="locationType" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="offSequenceID" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="offenseKey" type="xs:int" />
          <xs:element minOccurs="0" name="policeServiceArea" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="smallReportingArea" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="specCrime" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="status" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:complexType>
      <xs:element name="ICRResults" nillable="true" type="tns:ICRResults" />
      <xs:complexType name="ArrayOfICRResults" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/">
        <xs:sequence>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="ICRResults" nillable="true" type="tns:ICRResults" />
        </xs:sequence>
      </xs:complexType>
      <xs:element name="ArrayOfICRResults" nillable="true" type="tns:ArrayOfICRResults" />
    </xs:schema>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
    </xs:schema>
  </wsdl:types>
  <wsdl:message name="ISoapIcrService_GetICRResults_InputMessage">
    <wsdl:part name="parameters" element="tns:GetICRResults" />
  </wsdl:message>
  <wsdl:message name="ISoapIcrService_GetICRResults_OutputMessage">
    <wsdl:part name="parameters" element="tns:GetICRResultsResponse" />
  </wsdl:message>
  <wsdl:message name="ISoapIcrService_GetICRResultsForLastDayOrWeek_InputMessage">
    <wsdl:part name="parameters" element="tns:GetICRResultsForLastDayOrWeek" />
  </wsdl:message>
  <wsdl:message name="ISoapIcrService_GetICRResultsForLastDayOrWeek_OutputMessage">
    <wsdl:part name="parameters" element="tns:GetICRResultsForLastDayOrWeekResponse" />
  </wsdl:message>
  <wsdl:portType name="ISoapIcrService">
    <wsdl:operation name="GetICRResults">
      <wsdl:input wsam:Action="https://henrico.gov/police/public-data-access/help/ISoapIcrService/GetICRResults" message="tns:ISoapIcrService_GetICRResults_InputMessage" />
      <wsdl:output wsam:Action="https://henrico.gov/police/public-data-access/help/ISoapIcrService/GetICRResultsResponse" message="tns:ISoapIcrService_GetICRResults_OutputMessage" />
    </wsdl:operation>
    <wsdl:operation name="GetICRResultsForLastDayOrWeek">
      <wsdl:input wsam:Action="https://henrico.gov/police/public-data-access/help/ISoapIcrService/GetICRResultsForLastDayOrWeek" message="tns:ISoapIcrService_GetICRResultsForLastDayOrWeek_InputMessage" />
      <wsdl:output wsam:Action="https://henrico.gov/police/public-data-access/help/ISoapIcrService/GetICRResultsForLastDayOrWeekResponse" message="tns:ISoapIcrService_GetICRResultsForLastDayOrWeek_OutputMessage" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="BasicHttpBinding_ISoapIcrService" type="tns:ISoapIcrService">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetICRResults">
      <soap:operation soapAction="https://henrico.gov/police/public-data-access/help/ISoapIcrService/GetICRResults" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetICRResultsForLastDayOrWeek">
      <soap:operation soapAction="https://henrico.gov/police/public-data-access/help/ISoapIcrService/GetICRResultsForLastDayOrWeek" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="ISoapIcrService">
    <wsdl:port name="BasicHttpBinding_ISoapIcrService" binding="tns:BasicHttpBinding_ISoapIcrService">
      <soap:address location="http://ppd.henrico.gov/webservices/icrservice.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>