English

Bug: WMS and WCS services based on image services fail to draw

Description

WMS and WCS services based on image services can fail to draw depending on the application used to publish the service.

This problem occurs when using the 'Add New Service' wizard in the ArcGIS Server Manager for the Microsoft .NET Framework or the 'Publish GIS Resource' wizard in the ArcGIS Server Manager for the Java platform.

These problems occur in both the 9.3.1 and 10 versions of the software. This problem does not occur when publishing Image Services using ArcGIS Desktop.

Cause

When publishing an image service and enabling the WMS or WCS capability, the incorrect service type is being inserted into the OnlineResource property.

Incorrect OnlineResource values for an image service contain the string 'MapServer'. Examples of these URLs are:

http://MyServer/arcgis/services/MyImageService/MapServer/WMSServer
http://MyServer/arcgis/services/MyImageService/MapServer/WCSServer

Correct values would contain 'ImageServer' instead:

http://MyServer/arcgis/services/MyImageService/ImageServer/WMSServer
http://MyServer/arcgis/services/MyImageService/ImageServer/WCSServer

Workaround

Use ArcCatalog or ArcGIS Server Manager to edit the incorrect OnlineResource URL value for the WMS or WCS capability.

  1. Stop the image service that needs to be fixed.
  2. View the service properties for the image service.
  3. Click the 'Capabilities' tab.
  4. Highlight either the WMS or WCS capability.
  5. Edit the OnlineResource property by replacing the string 'MapServer' with 'ImageServer'.
  6. Repeat Steps 4 and 5 for the other capability, if both have been enabled on the image service.
  7. Save the changes and restart the image service.

Related Information