00158: Layer is z or m aware and the storage type is Oracle Spatial
Your layer is z or m aware and you are attempting to publish to a spatial database server (SDS) where the storage type is Oracle Spatial.
Solution
Remove the layer from your map.
More information
Oracle Spatial z or m enabled tables cannot be queried by SDS.
Learn more about authoring feature services for a spatial data server (SDS)
5/23/2013