<?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: Debugging a Geoprocessing service in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/debugging-a-geoprocessing-service/m-p/68758#M2441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp; yes it is verified because i am using arcserver advanced which has spatial extension built in. Is there any specific way to verify the license? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp; when the same service is included in arcmap as a toolbox, it works fine. Can the web apis display table as the final result of the service is a table? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3)&amp;nbsp;&amp;nbsp;&amp;nbsp; Can I pick up a single value from a table and use it as model output parameter?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Feb 2011 02:38:53 GMT</pubDate>
    <dc:creator>faisalmoeen</dc:creator>
    <dc:date>2011-02-01T02:38:53Z</dc:date>
    <item>
      <title>Debugging a Geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/debugging-a-geoprocessing-service/m-p/68756#M2439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any way to debug a geoprocessing service? I have made a model that calculates the population of any area marked by the user through drawing tools by using "Zonal Stats as a Table" tool. I have published it as a service. It works fine in arcmap but returns empty results when called from any web api. The server log shows that the service and the model has executed successfully but i get empty results in any web api.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 09:04:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/debugging-a-geoprocessing-service/m-p/68756#M2439</guid>
      <dc:creator>faisalmoeen</dc:creator>
      <dc:date>2011-01-31T09:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a Geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/debugging-a-geoprocessing-service/m-p/68757#M2440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Faisal,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you verified your License for &lt;/SPAN&gt;&lt;A href="http://www.esri.com/software/arcgis/arcgisserver/spatial-extension.html"&gt;ArcGIS Server Spatial Analyst Extension&lt;/A&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 14:47:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/debugging-a-geoprocessing-service/m-p/68757#M2440</guid>
      <dc:creator>ArokiyaJoseph</dc:creator>
      <dc:date>2011-01-31T14:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a Geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/debugging-a-geoprocessing-service/m-p/68758#M2441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp; yes it is verified because i am using arcserver advanced which has spatial extension built in. Is there any specific way to verify the license? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp; when the same service is included in arcmap as a toolbox, it works fine. Can the web apis display table as the final result of the service is a table? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3)&amp;nbsp;&amp;nbsp;&amp;nbsp; Can I pick up a single value from a table and use it as model output parameter?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 02:38:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/debugging-a-geoprocessing-service/m-p/68758#M2441</guid>
      <dc:creator>faisalmoeen</dc:creator>
      <dc:date>2011-02-01T02:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a Geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/debugging-a-geoprocessing-service/m-p/68759#M2442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Based on your information, your license level should be fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure which API you're using, but have a look at this link. It actually uses the Zonal tool inside to get a value. The code actually does the work of grabbing a single value from the results table to display it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/gp_zonalstats.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/gp_zonalstats.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;..if you arent using JavaScript, I believe the other APIs make use of a similar example. Just look for "Population Zonal Stats" or "Population Summary"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 17:07:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/debugging-a-geoprocessing-service/m-p/68759#M2442</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2011-02-01T17:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a Geoprocessing service</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/debugging-a-geoprocessing-service/m-p/68760#M2443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any specific way to verify the license?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]Yes. If it is a license failure, result.dat file in &amp;lt;arcgisserver&amp;gt;\ arcgisjobs\&amp;lt;toolname_gpserver&amp;gt;\&amp;lt;job id&amp;gt; folder will have a "T h e t o o l i s n o t l i c e n s e d" message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also verify the current license level of your server by examining the keycodes file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In windows: Program Files/ESRI/License10.0/sysgen/keycodes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In Linux: $HOME/.esriprogramfiles/{your_machine_name}/esri/License10.0/sysgen/keycodes[/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can the web apis display table, as the final result of the service is a table?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]Yes, the output table will be automatically converted to &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/gpresult.html"&gt;GPRecordSet(Look for GPRecordSet)&lt;/A&gt;&lt;SPAN&gt; parameter type and web apis will be able to display it.[/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I pick up a single value from a table and use it as model output parameter?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]Yes, it is possible. The best way to approach it is to append the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/0017/0017000000v8000000.htm"&gt;Calculate Value Tool &lt;/A&gt;&lt;SPAN&gt;to your model and get the desired output. But remember, the output of Calculate Value tool should be a supported parameter type.[/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also urge you to watch &lt;/SPAN&gt;&lt;A href="http://proceedings.esri.com/library/userconf/devsummit10/tech/tech_16.html"&gt;Devsummit 2010 Geoprocessing Services tech workshop&lt;/A&gt;&lt;SPAN&gt; to understand supported parameter types and Debugging Geoprocessing services.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 17:14:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/debugging-a-geoprocessing-service/m-p/68760#M2443</guid>
      <dc:creator>ArokiyaJoseph</dc:creator>
      <dc:date>2011-02-07T17:14:21Z</dc:date>
    </item>
  </channel>
</rss>

