<?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 Accomplish &amp;amp;quot;GET SERVICE INFO&amp;amp;quot; of ArcGIS Server Service with Flex API? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/accomplish-amp-quot-get-service-info-amp-quot-of/m-p/762734#M16806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I used to use the GET_SERVICE_INFO ArcXML element with ArcIMS to get service information, such as layer names, field names, and field types.&amp;nbsp; That technology would return error information when the service is not available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I want to detect if ArcGIS Server services are available through our Flex app.&amp;nbsp; I didn't find a class (1.3 library) that accomplishes the same thing as the old GET_SERVICE_INFO.&amp;nbsp; I did try to use the getLayerDetails of an ArcGISDynamicMapServiceLayer object to see if anything comes back to the responder when getting layer details for the first layer (0);&amp;nbsp; I wanted to handle the case in which the service is not running (error trapping)...&amp;nbsp; The fault function would inform the user that the service appears to be down.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I stopped the service in ArcGIS Server Manager, waited for the REST API to refresh, and tried my approach.&amp;nbsp; The app still gets layer details returned, even when the service is stopped!&amp;nbsp; I was surprised.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know of a good approach to detecting service availability and acquiring information on the layers that are available in a service?&amp;nbsp; I really want to trap error conditions, such as "service not available," and "expected layer does not exist in service."&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Sep 2010 14:49:00 GMT</pubDate>
    <dc:creator>IvanBrown</dc:creator>
    <dc:date>2010-09-10T14:49:00Z</dc:date>
    <item>
      <title>Accomplish &amp;quot;GET SERVICE INFO&amp;quot; of ArcGIS Server Service with Flex API?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/accomplish-amp-quot-get-service-info-amp-quot-of/m-p/762734#M16806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I used to use the GET_SERVICE_INFO ArcXML element with ArcIMS to get service information, such as layer names, field names, and field types.&amp;nbsp; That technology would return error information when the service is not available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I want to detect if ArcGIS Server services are available through our Flex app.&amp;nbsp; I didn't find a class (1.3 library) that accomplishes the same thing as the old GET_SERVICE_INFO.&amp;nbsp; I did try to use the getLayerDetails of an ArcGISDynamicMapServiceLayer object to see if anything comes back to the responder when getting layer details for the first layer (0);&amp;nbsp; I wanted to handle the case in which the service is not running (error trapping)...&amp;nbsp; The fault function would inform the user that the service appears to be down.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I stopped the service in ArcGIS Server Manager, waited for the REST API to refresh, and tried my approach.&amp;nbsp; The app still gets layer details returned, even when the service is stopped!&amp;nbsp; I was surprised.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know of a good approach to detecting service availability and acquiring information on the layers that are available in a service?&amp;nbsp; I really want to trap error conditions, such as "service not available," and "expected layer does not exist in service."&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 14:49:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/accomplish-amp-quot-get-service-info-amp-quot-of/m-p/762734#M16806</guid>
      <dc:creator>IvanBrown</dc:creator>
      <dc:date>2010-09-10T14:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Accomplish "GET SERVICE INFO" of ArcGIS Server Service with Flex API?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/accomplish-amp-quot-get-service-info-amp-quot-of/m-p/762735#M16807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you listening to loadError like this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:Map&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISDynamicMapServiceLayer id="lyr"
&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; load="trace(event)"
&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; loadError="trace(event)"
&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Foo/MapServer"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:Map&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:25:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/accomplish-amp-quot-get-service-info-amp-quot-of/m-p/762735#M16807</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2021-12-12T08:25:18Z</dc:date>
    </item>
  </channel>
</rss>

