<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Silverlight, Identify Task, Map Service in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-task-map-service/m-p/611585#M15679</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;David,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To make sure that your service is behaving correctly I suggest you invoke the Identify task directly from your map service. To do this open your browser and navigate to &lt;/SPAN&gt;&lt;A href="http://pc231/example/rest/services/hou/MapServer"&gt;http://pc231/example/rest/services/hou/MapServer&lt;/A&gt;&lt;SPAN&gt; and at the end of the page click on "Identify" link, then pass the parameters like the input you see in Fiddler (passed from your application).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Oct 2010 16:33:13 GMT</pubDate>
    <dc:creator>AliMirzabeigi</dc:creator>
    <dc:date>2010-10-26T16:33:13Z</dc:date>
    <item>
      <title>Silverlight, Identify Task, Map Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-task-map-service/m-p/611584#M15678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I recently implemented an identify tool using the example on the Resource Center (&lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/samples/start.htm#Identify"&gt;http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/samples/start.htm#Identify&lt;/A&gt;&lt;SPAN&gt;).&amp;nbsp; The tool was working but I am now having a problem with the following code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;foreach (IdentifyResult result in identifyArgs.IdentifyResults)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Graphic graphic = AddGraphicToLayer(MyMap.Layers[CUSTOM_GRAPHICS_LAYER_ID] as GraphicsLayer, result.Feature, GetResultsSymbolForGeometry(result.Feature.Geometry),result.LayerName); //ResultsFillSymbol);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The foreach loop (taken from the ESRI example) never gets executed because identifyArgs.IdentifyResults is empty.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only difference between my code and the ESRI code is that I am pulling in my own dynamic map service.&amp;nbsp; I am confident the map service is set up correctly because the layers appear in the application; i.e. can be turned on and off.&amp;nbsp; However, the service does not seem to be working for the identify tool.&amp;nbsp; The line of code used to access the service was taken from the ESRI example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;IdentifyTask identifyTask = new IdentifyTask("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://pc231/example/rest/services/hou/MapServer" rel="nofollow" target="_blank"&gt;http://pc231/example/rest/services/hou/MapServer&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 13:06:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-task-map-service/m-p/611584#M15678</guid>
      <dc:creator>DavidRoberts1</dc:creator>
      <dc:date>2010-10-26T13:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight, Identify Task, Map Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-task-map-service/m-p/611585#M15679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;David,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To make sure that your service is behaving correctly I suggest you invoke the Identify task directly from your map service. To do this open your browser and navigate to &lt;/SPAN&gt;&lt;A href="http://pc231/example/rest/services/hou/MapServer"&gt;http://pc231/example/rest/services/hou/MapServer&lt;/A&gt;&lt;SPAN&gt; and at the end of the page click on "Identify" link, then pass the parameters like the input you see in Fiddler (passed from your application).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 16:33:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-task-map-service/m-p/611585#M15679</guid>
      <dc:creator>AliMirzabeigi</dc:creator>
      <dc:date>2010-10-26T16:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight, Identify Task, Map Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-task-map-service/m-p/611586#M15680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply.&amp;nbsp; The issue is my service has a different spatial reference than the ESRI map service that I am using for my base layer.&amp;nbsp; Would it be easier to change the spatial reference of my service or convert the Geometry Parameters on Identify to the correct units?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 18:45:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-task-map-service/m-p/611586#M15680</guid>
      <dc:creator>DavidRoberts1</dc:creator>
      <dc:date>2010-10-26T18:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight, Identify Task, Map Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-task-map-service/m-p/611587#M15681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was able to correct this by stating the spatial reference of the esri map service in code, i.e., "SpatialReferenceWKID=4326"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for the help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 19:51:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-task-map-service/m-p/611587#M15681</guid>
      <dc:creator>DavidRoberts1</dc:creator>
      <dc:date>2010-10-26T19:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight, Identify Task, Map Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-task-map-service/m-p/611588#M15682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any chance either of you can help with my Identify issue that I described &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/15527-Issue-with-Identify"&gt;here&lt;/A&gt;&lt;SPAN&gt;?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically similar sitiuation to David's - running an identify against a layer with a different projection than the map but args.Identify results is NULL even though a) the spatial reference is set for the IdentifyTask and b) I can see correct results coming back in Fiddler.&amp;nbsp; Thanks,&amp;nbsp; Terry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 12:30:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-task-map-service/m-p/611588#M15682</guid>
      <dc:creator>TerryGiles</dc:creator>
      <dc:date>2010-10-29T12:30:06Z</dc:date>
    </item>
  </channel>
</rss>

