I have an mxd file. Each time I share/publish a WMS service to the ArcGIS server as WMS, random numbers are added to the layer name. For example here is added number 8950 at the end of the
<Name> tag. Even though the original name is down in the title and there is no number at the end. I pair these services with other services by layer name and need to prevent ArcGIS to add random numbers to the names and let them stay as they are.
<Layer queryable="1"> <Name>Povodeň_z_topiaceho_sa_snehu_gc8950</Name> <Title> <![CDATA[ Povodeň z topiaceho sa snehu gc ]]> </Title>
I also checked the checkbox Use layer names from the map document.
I don't know what else to do to prevent this from happening...