Enhance WMS Capabilities of ArcGIS for Server to reflect unique layer IDs defined by a user in their MXD, as is currently possible with map services.
WMS layer IDs are not preserved in ArcGIS Server.
What this means is that as we add and remove layers from an ArcGIS Service, the WMS layer IDs may change. Anyone that has a WMS layer added to ArcMap, or are referencing the layers through business applications will potentially have the layers break every time we add or remove layers.
ENH-000096784: Enhance WMS Capabilities of ArcGIS for Server to reflect unique layer IDs defined by a user in their MXD, as is currently possible with map services.]
When we publish feature layers to ArcGIS Server, the map documents are set to preserve layer and table IDs.
Set up the map document to preserve layer and table IDs
Map publishing considerations
WMS should use these.