Is This Content Helpful?
We're glad to know this article was helpful.
When adding a WMS (OGC) service as a layer to an ArcGIS Server Web application in ArcGIS Server Manager, an "Error Connecting to Host" message displays.
The Web ADF has two basic requirements for adding a WMS (OGC) service as a layer in an ArcGIS Server Web application.
First, ADF requires that a version 1.1.1 capabilities file be present for the service.
Second, the ADF expects the connection URL to be in a specific format to parse it correctly. If the ArcIMS WMS connector is aliased or deployed as something other than the standard form, it can still connect if the alias can be correctly mapped to the standard URL format.
Connecting to WMS services that depend on CGI script connections does not work. The ADF cannot parse the URL correctly.
To successfully add a WMS (OGC) service to an ArcGIS Server Web application, the WMS (OGC) service must meet the following requirements:
http://<serverName>/ArcIMS (deploy name)/WMS (servlet name)/<serviceName>
Any WMS connection URL should first be tested in ArcCatalog. If the WMS connection URL fails to connect when adding it as a WMS server in ArcCatalog, it is very likely to fail in an ADF Web application as well.