<?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: IdentifyTask Error in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-error/m-p/405971#M37413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I figured out the problem. The proxy.jsp file does not work in older versions of Java. Specifically it doesn't like the ".contains" method. I switched out this line of code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;if(reqUrl.toLowerCase().contains(stokens[0].toLowerCase())) {&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;with this one&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;if(reqUrl.toLowerCase().indexOf(stokens[0].toLowerCase())&amp;gt;=0) {&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;and replace&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;for(String surl : serverUrls) {&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;with this&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;for(int i = 0; i&amp;lt;serverUrls.length; i++) {&amp;nbsp; String surl = serverUrls&lt;I&gt;;&lt;/I&gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;and it worked.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Nov 2012 20:19:54 GMT</pubDate>
    <dc:creator>AndyStewart1</dc:creator>
    <dc:date>2012-11-06T20:19:54Z</dc:date>
    <item>
      <title>IdentifyTask Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-error/m-p/405967#M37409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am doing some work for a client using 9.3 and the IdentifyTask is acting strange. I get the following error: "Could not complete the operation due to error c00ce56e". Any ideas what I could be doing wrong? Is there something in the service settings that could be causing this? My code is below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;dojo.connect(map, "onClick", SimpleIdentifyTask);&amp;nbsp; function SimpleIdentifyTask(evt) {&amp;nbsp; var identifyTask = new esri.tasks.IdentifyTask("http://[hidden]/ArcGIS/rest/services/myMap/MapServer");&amp;nbsp; var identifyParams = new esri.tasks.IdentifyParameters();&amp;nbsp; identifyParams.tolerance = 2;&amp;nbsp; identifyParams.returnGeometry = true;&amp;nbsp;&amp;nbsp; identifyParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_ALL;&amp;nbsp; identifyParams.layerIds = [5,7];&amp;nbsp; identifyParams.geometry = evt.mapPoint;&amp;nbsp; identifyParams.mapExtent = map.extent;&amp;nbsp; identifyParams.spatialReference = map.spatialReference;&amp;nbsp; identifyTask.execute(identifyParams, function(idResults) { alert(idResults.length); }, function(err){alert(err.message);}); }&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 19:48:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-error/m-p/405967#M37409</guid>
      <dc:creator>AndyStewart1</dc:creator>
      <dc:date>2012-11-01T19:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: IdentifyTask Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-error/m-p/405968#M37410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Our client upgraded to 10.1 and I am still getting the same error. Has anyone seen this before?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 16:54:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-error/m-p/405968#M37410</guid>
      <dc:creator>AndyStewart1</dc:creator>
      <dc:date>2012-11-05T16:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: IdentifyTask Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-error/m-p/405969#M37411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;what happens when you try to make a similar identify request directly from the &lt;/SPAN&gt;&lt;A href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/SampleWorldCities/MapServer/identify"&gt;rest&lt;/A&gt;&lt;SPAN&gt; services page?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 20:11:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-error/m-p/405969#M37411</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2012-11-05T20:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: IdentifyTask Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-error/m-p/405970#M37412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have narrowed it down to the proxy.jsp file not compiling correctly for some reason. The IdentifyTask goes through the proxy because the client uses a well-known text for their Spatial Reference, so it forces it through the proxy. I have downloaded the proxy directly from the arcgis.com website and the only thing I changed was the serverUrls variable. Still troubleshooting.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 14:00:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-error/m-p/405970#M37412</guid>
      <dc:creator>AndyStewart1</dc:creator>
      <dc:date>2012-11-06T14:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: IdentifyTask Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-error/m-p/405971#M37413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I figured out the problem. The proxy.jsp file does not work in older versions of Java. Specifically it doesn't like the ".contains" method. I switched out this line of code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;if(reqUrl.toLowerCase().contains(stokens[0].toLowerCase())) {&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;with this one&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;if(reqUrl.toLowerCase().indexOf(stokens[0].toLowerCase())&amp;gt;=0) {&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;and replace&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;for(String surl : serverUrls) {&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;with this&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;for(int i = 0; i&amp;lt;serverUrls.length; i++) {&amp;nbsp; String surl = serverUrls&lt;I&gt;;&lt;/I&gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;and it worked.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 20:19:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-error/m-p/405971#M37413</guid>
      <dc:creator>AndyStewart1</dc:creator>
      <dc:date>2012-11-06T20:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: IdentifyTask Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-error/m-p/405972#M37414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;nice troubleshooting!&amp;nbsp; thanks for taking the time to share the exact fix for the problem.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in working with another customer today i believe we pinpointed a similar problem when Oracle WebLogic was used for hosting.&amp;nbsp; in version 10.3.3.0 of WebLogic, our JSP proxy worked out of the box, but it was necessary to make a few changes to get things up and running in version 8.1.4 because of the underlying version of Java in use.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 20:28:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-error/m-p/405972#M37414</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2012-11-06T20:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: IdentifyTask Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-error/m-p/405973#M37415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;in working with another customer today i believe we pinpointed a similar problem when Oracle WebLogic was used for hosting.&amp;nbsp; in version 10.3.3.0 of WebLogic, our JSP proxy worked out of the box, but it was necessary to make a few changes to get things up and running in version 8.1.4 because of the underlying version of Java in use.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That was us.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 22:03:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-error/m-p/405973#M37415</guid>
      <dc:creator>AndyStewart1</dc:creator>
      <dc:date>2012-11-06T22:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: IdentifyTask Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-error/m-p/405974#M37416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hahaha.&amp;nbsp; i had my suspicions. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 22:45:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifytask-error/m-p/405974#M37416</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2012-11-06T22:45:06Z</dc:date>
    </item>
  </channel>
</rss>

