Search at Point - SOAP

The following SOAP Search at Point request against a table of polygons returns a list of points that are contained within the polygon at point -75, 42.

<?xml version="1.0"?> 
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.mapinfo.com/midev/service/feature/v1" xmlns:ns2="http://www.mapinfo.com/midev/service/geometries/v1" xmlns:ns3="http://www.mapinfo.com/midev/service/table/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
  <S:Header/>  
  <S:Body> 
      <ns1:SearchAtPointRequest> 
        <ns3:Table xsi:type="ns3:NamedTable" name="/Samples/NamedTables/USA"/> 
         <ns2:Point srsName="EPSG:4326"> 
            <ns2:Pos> 
               <ns2:X>-75</ns2:X> 
               <ns2:Y>42</ns2:Y> 
             </ns2:Pos> 
         </ns2:Point> 
      </ns1:SearchAtPointRequest> 
   </S:Body> 
</S:Envelope>

To view the SOAP response, go to the Feature Service SOAP demo page at http://<server>:<port>/Spatial/MappingService/DemoPage.html and submit the Search at Point request.