<?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 Error publishing a View in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/error-publishing-a-view/m-p/751995#M3570</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created a View in Oracle with a distinct statement from an existing table in arcSDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm able to see this View in ArcMap, so it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I publish my mxd to ArcGis Server as a service and try to Query it in the REST API interface I get the following error: &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Error -1 Code: 500&lt;/SPAN&gt;&lt;SPAN&gt;. Instead, the original table, published in the same service can be queried.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone has a solution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Nov 2010 14:04:12 GMT</pubDate>
    <dc:creator>joanvallespir</dc:creator>
    <dc:date>2010-11-02T14:04:12Z</dc:date>
    <item>
      <title>Error publishing a View</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/error-publishing-a-view/m-p/751995#M3570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created a View in Oracle with a distinct statement from an existing table in arcSDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm able to see this View in ArcMap, so it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I publish my mxd to ArcGis Server as a service and try to Query it in the REST API interface I get the following error: &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Error -1 Code: 500&lt;/SPAN&gt;&lt;SPAN&gt;. Instead, the original table, published in the same service can be queried.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone has a solution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 14:04:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/error-publishing-a-view/m-p/751995#M3570</guid>
      <dc:creator>joanvallespir</dc:creator>
      <dc:date>2010-11-02T14:04:12Z</dc:date>
    </item>
  </channel>
</rss>

