BUG
If the web map service (WMS) capability is enabled on Sample World Cities, clicking the WMS link from the REST endpoint for the service returns an HTTP 400 error.
"The request sent by the client was syntactically incorrect."
"Error handling request to service '.MapServer'. java.io.IOException: Server object extension 'wmsserver' not found."Connection from ArcMap also fails.
This is a known issue.
Get help from ArcGIS experts
Download the Esri Support App