AnsweredAssumed Answered

How to avoid Geometry from QueryFromService call against Featureservice

Question asked by puttin on Apr 14, 2015

Hi folks,

 

Is there anyway to avoid Geometry from QueryFromService call against Featureservice? the below is the query (shortened, in reality, it includes lot of layers) that returns tons of unwanted geometry in the response.

 

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

   <soap:Body>

      <ns2:QueryFromService xmlns:ns2="http://www.esri.com/schemas/ArcGIS/10.1" xmlns:ns3="http://schemas.xmlsoap.org/soap/envelope/">

         <LayerOrTableDescriptions>        

            <GFSTableDescription>

               <ID>0</ID> <DefinitionExpression/>

            </GFSTableDescription>

            <GFSTableDescription>

               <ID>1</ID>

               <DefinitionExpression/>

            </GFSTableDescription>

            <GFSTableDescription>

               <ID>2</ID>

               <DefinitionExpression/>

            </GFSTableDescription> 

         </LayerOrTableDescriptions>        

         <Geometry xsi:type="ns2:PointN" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

            <X>6718885.733</X>

            <Y>1973186.440</Y>

         </Geometry>

         <ServiceDataOptions>

            <Etag/>

            <Format>Native</Format>

         </ServiceDataOptions>        

      </ns2:QueryFromService>

   </soap:Body>

</soap:Envelope>

Outcomes