<?xml version='1.0' encoding='UTF-8'?>
<!--generated by Glue Standard 5.0.2 build 77 on Fri Jul 03 04:27:33 PDT 2009-->
<wsdl:definitions name='SpatialQuery' targetNamespace='http://www.arcwebservices.com/v2006' xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:n4='http://www.webmethods.com/package/com.esri.is.services.soap.v3.common/' xmlns:n5='http://www.themindelectric.com/2001/schemaArray/' xmlns:n6='http://www.webmethods.com/package/com.esri.is.services.soap.v3.common.geom/' xmlns:n7='http://www.webmethods.com/package/com.esri.is.services.soap.v3.spatialquery/' xmlns:tns='http://www.arcwebservices.com/v2006' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'><wsdl:types><xsd:schema targetNamespace='http://www.webmethods.com/package/com.esri.is.services.soap.v3.common/'><xsd:import namespace='http://www.themindelectric.com/2001/schemaArray/'/><xsd:complexType name='ResultSet'><xsd:sequence><xsd:element name='fields' nillable='true' type='n4:ArrayOfFieldDesc'/><xsd:element name='rows' nillable='true' type='n4:ArrayOfRowData'/><xsd:element name='totalCount' type='xsd:int'/></xsd:sequence></xsd:complexType><xsd:complexType name='FieldDesc'><xsd:sequence><xsd:element name='length' type='xsd:int'/><xsd:element name='name' nillable='true' type='xsd:string'/><xsd:element name='precision' type='xsd:int'/><xsd:element name='shortDesc' nillable='true' type='xsd:string'/><xsd:element name='type' nillable='true' type='xsd:string'/></xsd:sequence></xsd:complexType><xsd:complexType name='ArrayOfFieldDesc'><xsd:sequence><xsd:element name='FieldDesc' maxOccurs='unbounded' nillable='true' form='qualified' type='n4:FieldDesc'/></xsd:sequence></xsd:complexType><xsd:complexType name='RowData'><xsd:sequence><xsd:element name='fieldValues' nillable='true' type='n5:ArrayOfstring'/></xsd:sequence></xsd:complexType><xsd:complexType name='ArrayOfRowData'><xsd:sequence><xsd:element name='RowData' maxOccurs='unbounded' nillable='true' form='qualified' type='n4:RowData'/></xsd:sequence></xsd:complexType><xsd:complexType name='SearchOptions'><xsd:sequence><xsd:element name='orderByList' nillable='true' type='n4:ArrayOfOrderBy'/><xsd:element name='resultSetRange' nillable='true' type='n4:ResultSetRange'/><xsd:element name='returnFields' nillable='true' type='n5:ArrayOfstring'/><xsd:element name='whereClause' nillable='true' type='xsd:string'/></xsd:sequence></xsd:complexType><xsd:complexType name='OrderBy'><xsd:sequence><xsd:element name='descending' type='xsd:boolean'/><xsd:element name='field' nillable='true' type='xsd:string'/></xsd:sequence></xsd:complexType><xsd:complexType name='ArrayOfOrderBy'><xsd:sequence><xsd:element name='OrderBy' maxOccurs='unbounded' nillable='true' form='qualified' type='n4:OrderBy'/></xsd:sequence></xsd:complexType><xsd:complexType name='ResultSetRange'><xsd:sequence><xsd:element name='count' type='xsd:int'/><xsd:element name='startIndex' type='xsd:int'/></xsd:sequence></xsd:complexType><xsd:complexType name='SpatialBuffer'><xsd:sequence><xsd:element name='bufferDistance' type='xsd:double'/><xsd:element name='bufferUnits' nillable='true' type='xsd:string'/></xsd:sequence></xsd:complexType></xsd:schema><xsd:schema targetNamespace='http://www.themindelectric.com/2001/schemaArray/'><xsd:complexType name='ArrayOfstring'><xsd:sequence><xsd:element name='string' maxOccurs='unbounded' nillable='true' form='qualified' type='xsd:string'/></xsd:sequence></xsd:complexType><xsd:complexType name='ArrayOfint'><xsd:sequence><xsd:element name='int' maxOccurs='unbounded' nillable='true' form='qualified' type='xsd:int'/></xsd:sequence></xsd:complexType></xsd:schema><xsd:schema targetNamespace='http://www.webmethods.com/package/com.esri.is.services.soap.v3.common.geom/'><xsd:import namespace='http://www.themindelectric.com/2001/schemaArray/'/><xsd:complexType name='Point'><xsd:sequence><xsd:element name='coordSys' nillable='true' type='n6:CoordSys'/><xsd:element name='x' type='xsd:double'/><xsd:element name='y' type='xsd:double'/></xsd:sequence></xsd:complexType><xsd:complexType name='CoordSys'><xsd:sequence><xsd:element name='datumTransformation' nillable='true' type='xsd:string'/><xsd:element name='projection' nillable='true' type='xsd:string'/></xsd:sequence></xsd:complexType><xsd:complexType name='Geometry'><xsd:sequence><xsd:element name='coordSys' nillable='true' type='n6:CoordSys'/><xsd:element name='parts' nillable='true' type='n5:ArrayOfint'/><xsd:element name='points' nillable='true' type='n6:ArrayOfSimplePoint'/><xsd:element name='type' type='xsd:int'/></xsd:sequence></xsd:complexType><xsd:complexType name='SimplePoint'><xsd:sequence><xsd:element name='x' type='xsd:double'/><xsd:element name='y' type='xsd:double'/></xsd:sequence></xsd:complexType><xsd:complexType name='ArrayOfSimplePoint'><xsd:sequence><xsd:element name='SimplePoint' maxOccurs='unbounded' nillable='true' form='qualified' type='n6:SimplePoint'/></xsd:sequence></xsd:complexType><xsd:complexType name='Envelope'><xsd:sequence><xsd:element name='coordSys' nillable='true' type='n6:CoordSys'/><xsd:element name='maxX' type='xsd:double'/><xsd:element name='maxY' type='xsd:double'/><xsd:element name='minX' type='xsd:double'/><xsd:element name='minY' type='xsd:double'/></xsd:sequence></xsd:complexType></xsd:schema><xsd:schema targetNamespace='http://www.webmethods.com/package/com.esri.is.services.soap.v3.spatialquery/'><xsd:import namespace='http://www.webmethods.com/package/com.esri.is.services.soap.v3.common/'/><xsd:complexType name='SpatialQueryOptions'><xsd:sequence><xsd:element name='dataSource' nillable='true' type='xsd:string'/><xsd:element name='distanceUnits' nillable='true' type='xsd:string'/><xsd:element name='returnDistance' type='xsd:boolean'/><xsd:element name='returnGeometry' type='xsd:boolean'/><xsd:element name='searchOptions' nillable='true' type='n4:SearchOptions'/><xsd:element name='spatialBuffer' nillable='true' type='n4:SpatialBuffer'/></xsd:sequence></xsd:complexType><xsd:complexType name='SpatialQueryInfo'><xsd:sequence><xsd:element name='availableFields' nillable='true' type='n4:ArrayOfFieldDesc'/><xsd:element name='dataSource' nillable='true' type='xsd:string'/></xsd:sequence></xsd:complexType><xsd:complexType name='ArrayOfSpatialQueryInfo'><xsd:sequence><xsd:element name='SpatialQueryInfo' maxOccurs='unbounded' nillable='true' form='qualified' type='n7:SpatialQueryInfo'/></xsd:sequence></xsd:complexType></xsd:schema><xsd:schema elementFormDefault='qualified' targetNamespace='http://www.arcwebservices.com/v2006'><xsd:import namespace='http://www.themindelectric.com/2001/schemaArray/'/><xsd:import namespace='http://www.webmethods.com/package/com.esri.is.services.soap.v3.common/'/><xsd:import namespace='http://www.webmethods.com/package/com.esri.is.services.soap.v3.spatialquery/'/><xsd:import namespace='http://www.webmethods.com/package/com.esri.is.services.soap.v3.common.geom/'/><xsd:element name='findFeaturesByPoint'><xsd:complexType><xsd:sequence><xsd:element name='point' type='n6:Point'/><xsd:element name='spatialQueryOptions' type='n7:SpatialQueryOptions'/><xsd:element name='token' type='xsd:string'/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name='findFeaturesByPointResponse'><xsd:complexType><xsd:sequence><xsd:element name='Result' nillable='true' type='n4:ResultSet'/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name='findFeaturesByGeometry'><xsd:complexType><xsd:sequence><xsd:element name='geometry' type='n6:Geometry'/><xsd:element name='spatialQueryOptions' type='n7:SpatialQueryOptions'/><xsd:element name='token' type='xsd:string'/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name='findFeaturesByGeometryResponse'><xsd:complexType><xsd:sequence><xsd:element name='Result' nillable='true' type='n4:ResultSet'/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name='findFeaturesByExtent'><xsd:complexType><xsd:sequence><xsd:element name='extent' type='n6:Envelope'/><xsd:element name='spatialQueryOptions' type='n7:SpatialQueryOptions'/><xsd:element name='token' type='xsd:string'/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name='findFeaturesByExtentResponse'><xsd:complexType><xsd:sequence><xsd:element name='Result' nillable='true' type='n4:ResultSet'/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name='getAvailableFieldNames'><xsd:complexType><xsd:sequence><xsd:element name='dataSources' type='n5:ArrayOfstring'/><xsd:element name='token' type='xsd:string'/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name='getAvailableFieldNamesResponse'><xsd:complexType><xsd:sequence><xsd:element name='Result' nillable='true' type='n7:ArrayOfSpatialQueryInfo'/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name='getVersion'><xsd:complexType><xsd:sequence/></xsd:complexType></xsd:element><xsd:element name='getVersionResponse'><xsd:complexType><xsd:sequence><xsd:element name='Result' nillable='true' type='xsd:string'/></xsd:sequence></xsd:complexType></xsd:element></xsd:schema></wsdl:types><wsdl:message name='findFeaturesByPoint0In'><wsdl:part name='parameters' element='tns:findFeaturesByPoint'/></wsdl:message><wsdl:message name='findFeaturesByPoint0Out'><wsdl:part name='parameters' element='tns:findFeaturesByPointResponse'/></wsdl:message><wsdl:message name='findFeaturesByGeometry1In'><wsdl:part name='parameters' element='tns:findFeaturesByGeometry'/></wsdl:message><wsdl:message name='findFeaturesByGeometry1Out'><wsdl:part name='parameters' element='tns:findFeaturesByGeometryResponse'/></wsdl:message><wsdl:message name='findFeaturesByExtent2In'><wsdl:part name='parameters' element='tns:findFeaturesByExtent'/></wsdl:message><wsdl:message name='findFeaturesByExtent2Out'><wsdl:part name='parameters' element='tns:findFeaturesByExtentResponse'/></wsdl:message><wsdl:message name='getAvailableFieldNames3In'><wsdl:part name='parameters' element='tns:getAvailableFieldNames'/></wsdl:message><wsdl:message name='getAvailableFieldNames3Out'><wsdl:part name='parameters' element='tns:getAvailableFieldNamesResponse'/></wsdl:message><wsdl:message name='getVersion4In'><wsdl:part name='parameters' element='tns:getVersion'/></wsdl:message><wsdl:message name='getVersion4Out'><wsdl:part name='parameters' element='tns:getVersionResponse'/></wsdl:message><wsdl:portType name='SpatialQuery'><wsdl:operation name='findFeaturesByPoint'><wsdl:input name='findFeaturesByPoint0In' message='tns:findFeaturesByPoint0In'/><wsdl:output name='findFeaturesByPoint0Out' message='tns:findFeaturesByPoint0Out'/></wsdl:operation><wsdl:operation name='findFeaturesByGeometry'><wsdl:input name='findFeaturesByGeometry1In' message='tns:findFeaturesByGeometry1In'/><wsdl:output name='findFeaturesByGeometry1Out' message='tns:findFeaturesByGeometry1Out'/></wsdl:operation><wsdl:operation name='findFeaturesByExtent'><wsdl:input name='findFeaturesByExtent2In' message='tns:findFeaturesByExtent2In'/><wsdl:output name='findFeaturesByExtent2Out' message='tns:findFeaturesByExtent2Out'/></wsdl:operation><wsdl:operation name='getAvailableFieldNames'><wsdl:input name='getAvailableFieldNames3In' message='tns:getAvailableFieldNames3In'/><wsdl:output name='getAvailableFieldNames3Out' message='tns:getAvailableFieldNames3Out'/></wsdl:operation><wsdl:operation name='getVersion'><wsdl:input name='getVersion4In' message='tns:getVersion4In'/><wsdl:output name='getVersion4Out' message='tns:getVersion4Out'/></wsdl:operation></wsdl:portType><wsdl:binding name='SpatialQuery' type='tns:SpatialQuery'><soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/><wsdl:operation name='findFeaturesByPoint'><soap:operation soapAction='findFeaturesByPoint' style='document'/><wsdl:input name='findFeaturesByPoint0In'><soap:body use='literal'/></wsdl:input><wsdl:output name='findFeaturesByPoint0Out'><soap:body use='literal'/></wsdl:output></wsdl:operation><wsdl:operation name='findFeaturesByGeometry'><soap:operation soapAction='findFeaturesByGeometry' style='document'/><wsdl:input name='findFeaturesByGeometry1In'><soap:body use='literal'/></wsdl:input><wsdl:output name='findFeaturesByGeometry1Out'><soap:body use='literal'/></wsdl:output></wsdl:operation><wsdl:operation name='findFeaturesByExtent'><soap:operation soapAction='findFeaturesByExtent' style='document'/><wsdl:input name='findFeaturesByExtent2In'><soap:body use='literal'/></wsdl:input><wsdl:output name='findFeaturesByExtent2Out'><soap:body use='literal'/></wsdl:output></wsdl:operation><wsdl:operation name='getAvailableFieldNames'><soap:operation soapAction='getAvailableFieldNames' style='document'/><wsdl:input name='getAvailableFieldNames3In'><soap:body use='literal'/></wsdl:input><wsdl:output name='getAvailableFieldNames3Out'><soap:body use='literal'/></wsdl:output></wsdl:operation><wsdl:operation name='getVersion'><soap:operation soapAction='getVersion' style='document'/><wsdl:input name='getVersion4In'><soap:body use='literal'/></wsdl:input><wsdl:output name='getVersion4Out'><soap:body use='literal'/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name='SpatialQuery'><wsdl:documentation>Spatial Query Web Service performs query and proximity searches such as &quot;find nearest&quot;, &quot;find within a distance&quot;, and &quot;tell me about this area&quot;. You can use Spatial Query Web Service to find all features nearby a location or area and to determine the nearest specified number of features to a specified location or area. You can also use Spatial Query Web Service to determine the characteristics and features for a specified location.</wsdl:documentation><wsdl:port name='SpatialQuery' binding='tns:SpatialQuery'><soap:address location='http://www.arcwebservices.com/services/v2006/SpatialQuery'/></wsdl:port></wsdl:service></wsdl:definitions>