<?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: Validate service for FeatureLayer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/validate-service-for-featurelayer/m-p/93405#M8492</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Like Rich states, maybe you can attempt to access the service before really needing it. Perhaps you can alter the code snippit found in the API documentation for ESRI.Request to verify that the service is up and running:&amp;nbsp; &lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/namespace_esri.htm#request"&gt;esri.request&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you evtguy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That's what I needed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Nov 2012 17:47:55 GMT</pubDate>
    <dc:creator>KlimChugunkin</dc:creator>
    <dc:date>2012-11-01T17:47:55Z</dc:date>
    <item>
      <title>Validate service for FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/validate-service-for-featurelayer/m-p/93401#M8488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello there!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate it very much if you guys help me solve this issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to create FeatureLayer like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;featureLayer = new esri.layers.FeatureLayer(featureServiceURL, featureLayerOptions); &lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;the line above gives me an error: Unable to draw graphic (geometry:null, symbol:null): Unable to complete operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That's because &lt;/SPAN&gt;&lt;STRONG&gt;featureServiceURL &lt;/STRONG&gt;&lt;SPAN&gt;points to the server which does not exist or is inaccessible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is: how to find out if the service is OK before creating FeatureLayer - in other words, how to validate service prior to FeatureLayer please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Klim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 04:49:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/validate-service-for-featurelayer/m-p/93401#M8488</guid>
      <dc:creator>KlimChugunkin</dc:creator>
      <dc:date>2012-11-01T04:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Validate service for FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/validate-service-for-featurelayer/m-p/93402#M8489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just make any kind of request to the service and handle the response or (importantly in your case!) the error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 08:04:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/validate-service-for-featurelayer/m-p/93402#M8489</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-11-01T08:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Validate service for FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/validate-service-for-featurelayer/m-p/93403#M8490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Like Rich states, maybe you can attempt to access the service before really needing it. Perhaps you can alter the code snippit found in the API documentation for ESRI.Request to verify that the service is up and running:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/namespace_esri.htm#request"&gt;esri.request&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 16:55:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/validate-service-for-featurelayer/m-p/93403#M8490</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2012-11-01T16:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Validate service for FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/validate-service-for-featurelayer/m-p/93404#M8491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Just make any kind of request to the service and handle the response or (importantly in your case!) the error.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks you geos_rfleet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 17:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/validate-service-for-featurelayer/m-p/93404#M8491</guid>
      <dc:creator>KlimChugunkin</dc:creator>
      <dc:date>2012-11-01T17:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Validate service for FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/validate-service-for-featurelayer/m-p/93405#M8492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Like Rich states, maybe you can attempt to access the service before really needing it. Perhaps you can alter the code snippit found in the API documentation for ESRI.Request to verify that the service is up and running:&amp;nbsp; &lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/namespace_esri.htm#request"&gt;esri.request&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you evtguy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That's what I needed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 17:47:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/validate-service-for-featurelayer/m-p/93405#M8492</guid>
      <dc:creator>KlimChugunkin</dc:creator>
      <dc:date>2012-11-01T17:47:55Z</dc:date>
    </item>
  </channel>
</rss>

