Select to view content in your preferred language

Mosaid DataSet Image Service + WMS

1673
1
08-10-2011 07:27 AM
TangoPapa
Deactivated User
Hey all,

I have been running into this one problem I can't seem to figure out.  Perhaps someone out there may be able to throw me a bone.

Setup:

I have laptop that has ArcGis Server & ArcDesktop 10 (recently installed SP2).

The ArcGIS server is configured properly for all I know and I can make a remote admin connection to it via ArcCatalog.

I created several Mosaic Data Sets that I wanted to publish as image services.  The raw raster files are located locally on the C:\ drive.  Some are GeoTiffs and some are JPEG2000's.

I can publish the Mosaic Data Sets with no issues (using the Right Click Context Menu) and I enable WCS & WMS along with it.  Once published, I can open my server connection in ArcCatalog and see the available services.  I can click on the services & view my rasters.  I can also view my Rasters when I make a WMS connection to a specific service.  Keep in mind, that I'm doing this via ArcCatalog that is resident on the ArcGIS host machine.

The problem occurs when I try to access the data from a different machine.  However, the problem is only when I try to make a WMS connection to one of the specific service.  If I make a GISServer connection (via ArcCatalog) on a remote system, I can freely look at my rasters (via imageService).  I can add the WMS service in ArcCatalog but when I select the layer I can't see my raster.  Nothing but blank.  I just can't seem to look at these rasters via WMS from remote systems.  I tried disabling the firewall and made sure that the SOC has permissions - but this shouldn't be an issue if it's WMS anyways.  Any ideas anyone?

Tango
0 Kudos
1 Reply
PeterBecker
Esri Regular Contributor
It is likely that service has been created through admin connection to �??localhost�?� and OnlineResource is constructed using http://localhost/arcgis/services/myservice/ImageServer/WMSServer.
This online resource is used by ArcMap (and any other clients) to see image from WMS. Behind the scene is a WMS GetMap request call to this online resource.

To fix it:
- stop the service
- Enter ArcGIS Server - Image Service Properties
- On the Capabilities tab, Change the OnlineResource property from http://localhost/ to http://hostName/
- start service.

Alternatively when you  make the admin connection to ArcGIS server in Desktop, use http://server_name/... instead of localhost, then any service publish from that connection will use the correct url by default.
0 Kudos