<?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 ArcGIS Enterprise Service Shows Incorrect Table Schema in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-service-shows-incorrect-table/m-p/403353#M15623</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have an interesting situation with an ArcGIS Service.&amp;nbsp; &amp;nbsp; &amp;nbsp;We have three different environments.&amp;nbsp; &amp;nbsp; There are two tables as part of a map service that show the schema/fields of the other table when the service is published.&amp;nbsp; They have the same table name, but are on different Oracle database schemas (different ArcSDE table owners).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oracle 11.2.0.1&lt;/P&gt;&lt;P&gt;ArcGIS Enterprise 10.5&lt;/P&gt;&lt;P&gt;ArcSDE 10.2.1&lt;/P&gt;&lt;P&gt;Versioned tables, with some relationship classes defined.&lt;/P&gt;&lt;P&gt;Federated with ArcGIS Portal 10.5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table schemas/fields are reflected correctly in the .mxd used to publish the service.&amp;nbsp; &amp;nbsp;The map service layer numbers are identical in both environments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Environment #1&lt;/P&gt;&lt;P&gt;Service has SCHEMA111.MyTable and SCHEMA222.MyTable layers in it.&amp;nbsp; &amp;nbsp; &amp;nbsp;The database tables have different fields defined on them.&amp;nbsp; &amp;nbsp;In development when the service is published it shows the same table schema/fields defined, even though the service shows the correct layer name (different table) in the REST page.&amp;nbsp; &amp;nbsp;In this environment the REST page shows SCHEMA111.MyTable and it correctly reflects the table fields.&amp;nbsp; &amp;nbsp; &amp;nbsp;The service shows SCHEMA222.MyTable correctly in the REST page, however it reflects the fields in SCHEMA111.MyTable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Environment #2&lt;/P&gt;&lt;P&gt;The exact same behavior occurs, however it is totally &lt;STRONG&gt;reversed&lt;/STRONG&gt;!&amp;nbsp; &amp;nbsp;SCHEMA222.MyTable shows correctly in the REST page with the correct fields defined on the table.&amp;nbsp; &amp;nbsp;SCHEMA111.MyTable shows correctly in the REST page but the table has the fields (layers and numbers) from&amp;nbsp;SCHEMA222.MyTable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To reiterate:&lt;/P&gt;&lt;P&gt;The table names (MyTable above) are the same but in different Oracle database schemas (different ArcSDE table owners).&amp;nbsp; &amp;nbsp; ArcSDE and Oracle do not object to this, but is ArcGIS Server perhaps protesting?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The .mxds are correct and show the correct fields&lt;/STRONG&gt;&amp;nbsp;for each layer, but the fields are listed incorrectly on the service layer when it is published, even though it says it is the correct name in the REST page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any feedback!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Oct 2019 21:39:41 GMT</pubDate>
    <dc:creator>BillHarvey</dc:creator>
    <dc:date>2019-10-16T21:39:41Z</dc:date>
    <item>
      <title>ArcGIS Enterprise Service Shows Incorrect Table Schema</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-service-shows-incorrect-table/m-p/403353#M15623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have an interesting situation with an ArcGIS Service.&amp;nbsp; &amp;nbsp; &amp;nbsp;We have three different environments.&amp;nbsp; &amp;nbsp; There are two tables as part of a map service that show the schema/fields of the other table when the service is published.&amp;nbsp; They have the same table name, but are on different Oracle database schemas (different ArcSDE table owners).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oracle 11.2.0.1&lt;/P&gt;&lt;P&gt;ArcGIS Enterprise 10.5&lt;/P&gt;&lt;P&gt;ArcSDE 10.2.1&lt;/P&gt;&lt;P&gt;Versioned tables, with some relationship classes defined.&lt;/P&gt;&lt;P&gt;Federated with ArcGIS Portal 10.5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table schemas/fields are reflected correctly in the .mxd used to publish the service.&amp;nbsp; &amp;nbsp;The map service layer numbers are identical in both environments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Environment #1&lt;/P&gt;&lt;P&gt;Service has SCHEMA111.MyTable and SCHEMA222.MyTable layers in it.&amp;nbsp; &amp;nbsp; &amp;nbsp;The database tables have different fields defined on them.&amp;nbsp; &amp;nbsp;In development when the service is published it shows the same table schema/fields defined, even though the service shows the correct layer name (different table) in the REST page.&amp;nbsp; &amp;nbsp;In this environment the REST page shows SCHEMA111.MyTable and it correctly reflects the table fields.&amp;nbsp; &amp;nbsp; &amp;nbsp;The service shows SCHEMA222.MyTable correctly in the REST page, however it reflects the fields in SCHEMA111.MyTable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Environment #2&lt;/P&gt;&lt;P&gt;The exact same behavior occurs, however it is totally &lt;STRONG&gt;reversed&lt;/STRONG&gt;!&amp;nbsp; &amp;nbsp;SCHEMA222.MyTable shows correctly in the REST page with the correct fields defined on the table.&amp;nbsp; &amp;nbsp;SCHEMA111.MyTable shows correctly in the REST page but the table has the fields (layers and numbers) from&amp;nbsp;SCHEMA222.MyTable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To reiterate:&lt;/P&gt;&lt;P&gt;The table names (MyTable above) are the same but in different Oracle database schemas (different ArcSDE table owners).&amp;nbsp; &amp;nbsp; ArcSDE and Oracle do not object to this, but is ArcGIS Server perhaps protesting?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The .mxds are correct and show the correct fields&lt;/STRONG&gt;&amp;nbsp;for each layer, but the fields are listed incorrectly on the service layer when it is published, even though it says it is the correct name in the REST page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any feedback!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 21:39:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-service-shows-incorrect-table/m-p/403353#M15623</guid>
      <dc:creator>BillHarvey</dc:creator>
      <dc:date>2019-10-16T21:39:41Z</dc:date>
    </item>
  </channel>
</rss>

