<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://ws.address.lands.nsw.gov" xmlns:impl="http://ws.address.lands.nsw.gov" xmlns:intf="http://ws.address.lands.nsw.gov" xmlns:tns2="http://data.address.lands.nsw.gov" xmlns:tns3="http://utl.search.address.lands.nsw.gov" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <wsdl:types>
    <schema targetNamespace="http://ws.address.lands.nsw.gov" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns2="http://data.address.lands.nsw.gov" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <import namespace="http://data.address.lands.nsw.gov"/>
   <element name="findAddressByPlanResponse">
    <complexType>
     <sequence>
      <element name="findAddressByPlanReturn" nillable="true" type="tns2:LotAddressResult"/>
     </sequence>
    </complexType>
   </element>
   <element name="findAddress">
    <complexType>
     <sequence>
      <element name="houseNumber" nillable="true" type="xsd:string"/>
      <element name="roadName" nillable="true" type="xsd:string"/>
      <element name="roadType" nillable="true" type="xsd:string"/>
      <element name="suburb" nillable="true" type="xsd:string"/>
      <element name="postCode" nillable="true" type="xsd:string"/>
      <element name="projection" nillable="true" type="xsd:string"/>
     </sequence>
    </complexType>
   </element>
   <element name="findAddressResponse">
    <complexType>
     <sequence>
      <element name="findAddressReturn" nillable="true" type="tns2:AddressResult"/>
     </sequence>
    </complexType>
   </element>
   <element name="findAddressByPlanCadId">
    <complexType>
     <sequence>
      <element name="cadid" nillable="true" type="xsd:long"/>
      <element name="projection" nillable="true" type="xsd:string"/>
     </sequence>
    </complexType>
   </element>
   <element name="findAddressByPlanCadIdResponse">
    <complexType>
     <sequence>
      <element name="findAddressByPlanCadIdReturn" nillable="true" type="tns2:LotAddressResult"/>
     </sequence>
    </complexType>
   </element>
   <element name="findAddressByPlan">
    <complexType>
     <sequence>
      <element name="planType" nillable="true" type="xsd:string"/>
      <element name="lotNumber" nillable="true" type="xsd:string"/>
      <element name="sectionNumber" nillable="true" type="xsd:string"/>
      <element name="planNumber" nillable="true" type="xsd:int"/>
      <element name="projection" nillable="true" type="xsd:string"/>
     </sequence>
    </complexType>
   </element>
   <complexType name="ArrayOf_tns2_nillable_LotAddressRecord">
    <sequence>
     <element maxOccurs="unbounded" minOccurs="0" name="LotAddressRecord" nillable="true" type="tns2:LotAddressRecord"/>
    </sequence>
   </complexType>
   <complexType name="ArrayOf_xsd_nillable_string">
    <sequence>
     <element maxOccurs="unbounded" minOccurs="0" name="string" nillable="true" type="xsd:string"/>
    </sequence>
   </complexType>
   <complexType name="ArrayOf_tns2_nillable_AddressRecord">
    <sequence>
     <element maxOccurs="unbounded" minOccurs="0" name="AddressRecord" nillable="true" type="tns2:AddressRecord"/>
    </sequence>
   </complexType>
  </schema>
    <schema targetNamespace="http://data.address.lands.nsw.gov" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:intf="http://ws.address.lands.nsw.gov" xmlns:tns3="http://utl.search.address.lands.nsw.gov" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <import namespace="http://utl.search.address.lands.nsw.gov"/>
   <import namespace="http://ws.address.lands.nsw.gov"/>
   <complexType name="LotAddressResult">
    <sequence>
     <element name="addresses" nillable="true" type="impl:ArrayOf_tns2_nillable_LotAddressRecord"/>
     <element name="errMsg" nillable="true" type="xsd:string"/>
     <element name="numRecs" type="xsd:int"/>
     <element name="searchMethod" nillable="true" type="tns3:SearchMethod"/>
    </sequence>
   </complexType>
   <complexType name="LotAddressRecord">
    <complexContent>
     <extension base="tns2:AddressRecord">
      <sequence>
       <element name="lotNumber" nillable="true" type="xsd:string"/>
       <element name="planNumber" nillable="true" type="xsd:int"/>
       <element name="planType" nillable="true" type="xsd:string"/>
       <element name="sectionNumber" nillable="true" type="xsd:string"/>
      </sequence>
     </extension>
    </complexContent>
   </complexType>
   <complexType name="AddressRecord">
    <sequence>
     <element name="houseNumberFirst" type="xsd:int"/>
     <element name="houseNumberFirstSuffix" nillable="true" type="xsd:string"/>
     <element name="houseNumberSecond" type="xsd:int"/>
     <element name="houseNumberSecondSuffix" nillable="true" type="xsd:string"/>
     <element name="objectId" type="xsd:long"/>
     <element name="postCode" type="xsd:long"/>
     <element name="roadName" nillable="true" type="xsd:string"/>
     <element name="roadSuffix" nillable="true" type="xsd:string"/>
     <element name="roadType" nillable="true" type="xsd:string"/>
     <element name="shortAddressString" nillable="true" type="xsd:string"/>
     <element name="suburbName" nillable="true" type="xsd:string"/>
     <element name="addressType" nillable="true" type="xsd:string"/>
     <element name="council" nillable="true" type="xsd:string"/>
     <element name="houseNumberString" nillable="true" type="xsd:string"/>
     <element name="addressPoint" nillable="true" type="tns2:AddressPoint"/>
    </sequence>
   </complexType>
   <complexType name="AddressPoint">
    <sequence>    
     <element name="coordRefSys" nillable="true" type="xsd:string"/>
     <element name="centreX" type="xsd:double"/>
     <element name="centreY" type="xsd:double"/>
    </sequence>
   </complexType>
   <complexType name="AddressResult">
    <sequence>
     <element name="addresses" nillable="true" type="impl:ArrayOf_tns2_nillable_AddressRecord"/>
     <element name="errMsg" nillable="true" type="xsd:string"/>
     <element name="numRecs" type="xsd:int"/>
     <element name="searchMethod" nillable="true" type="tns3:SearchMethod"/>
    </sequence>
   </complexType>
  </schema>
    <schema targetNamespace="http://utl.search.address.lands.nsw.gov" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:intf="http://ws.address.lands.nsw.gov" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <import namespace="http://ws.address.lands.nsw.gov"/>
   <complexType name="SearchMethod">
    <sequence>
     <element name="methodDescriptions" nillable="true" type="impl:ArrayOf_xsd_nillable_string"/>
    </sequence>
   </complexType>
  </schema>
  </wsdl:types>
  <wsdl:message name="findAddressByPlanCadIdResponse">
    <wsdl:part element="impl:findAddressByPlanCadIdResponse" name="parameters"/>
  </wsdl:message>
  <wsdl:message name="findAddressByPlanCadIdRequest">
    <wsdl:part element="impl:findAddressByPlanCadId" name="parameters"/>
  </wsdl:message>
  <wsdl:message name="findAddressRequest">
    <wsdl:part element="impl:findAddress" name="parameters"/>
  </wsdl:message>
  <wsdl:message name="findAddressByPlanRequest">
    <wsdl:part element="impl:findAddressByPlan" name="parameters"/>
  </wsdl:message>
  <wsdl:message name="findAddressResponse">
    <wsdl:part element="impl:findAddressResponse" name="parameters"/>
  </wsdl:message>
  <wsdl:message name="findAddressByPlanResponse">
    <wsdl:part element="impl:findAddressByPlanResponse" name="parameters"/>
  </wsdl:message>
  <wsdl:portType name="AddressSearch">
    <wsdl:operation name="findAddressByPlan">
      <wsdl:input message="impl:findAddressByPlanRequest" name="findAddressByPlanRequest"/>
      <wsdl:output message="impl:findAddressByPlanResponse" name="findAddressByPlanResponse"/>
    </wsdl:operation>
    <wsdl:operation name="findAddress">
      <wsdl:input message="impl:findAddressRequest" name="findAddressRequest"/>
      <wsdl:output message="impl:findAddressResponse" name="findAddressResponse"/>
    </wsdl:operation>
    <wsdl:operation name="findAddressByPlanCadId">
      <wsdl:input message="impl:findAddressByPlanCadIdRequest" name="findAddressByPlanCadIdRequest"/>
      <wsdl:output message="impl:findAddressByPlanCadIdResponse" name="findAddressByPlanCadIdResponse"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="AddressSearchSoapBinding" type="impl:AddressSearch">
    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="findAddressByPlan">
      <wsdlsoap:operation soapAction="findAddressByPlan"/>
      <wsdl:input name="findAddressByPlanRequest">
        <wsdlsoap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="findAddressByPlanResponse">
        <wsdlsoap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="findAddress">
      <wsdlsoap:operation soapAction="findAddress"/>
      <wsdl:input name="findAddressRequest">
        <wsdlsoap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="findAddressResponse">
        <wsdlsoap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="findAddressByPlanCadId">
      <wsdlsoap:operation soapAction="findAddressByPlanCadId"/>
      <wsdl:input name="findAddressByPlanCadIdRequest">
        <wsdlsoap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="findAddressByPlanCadIdResponse">
        <wsdlsoap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="AddressSearchService">
    <wsdl:port binding="impl:AddressSearchSoapBinding" name="AddressSearch">
      <wsdlsoap:address location="http://address.maps.nsw.gov.au/AddressSearchWeb/services/AddressSearch"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>