BUG
When adding an ArcGIS Server service published with WMS capability directly into the ArcGIS Online Map Viewer, the operations followed while working on the service correspond to the Map Server rather than WMS Server.
As per the standards of the ArcGIS Online Map Viewer's Java Script API, an ArcGIS Server service published with WMS capability behaves like a Map Server when added directly into it. This is due to the fact that when added directly into the Map Viewer, the Java Script API recognizes the service as an internal service and behaves in this way.
Get help from ArcGIS experts
Download the Esri Support App