I'd like to add tables to my MapServer. I want it to include both feature layers and tables which enables me to associate the layers with the relevant tables and retrieving the necessary fields of the tables. The resulting structure will be like the one in the following link; http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Petroleum/KSPetro/MapServer
After clicking on the "tops" table, the relationship between the layers and the table "tops" can be seen. Though all the necessary tables and layers can be seen through ArcCatalog, it cannot be seen in the MapServer. After updating the ArcCatalog, The MapServer is reset.
Can anyone help me?