Customer Service | Training | Contact Us
You are here: Home > User Forums > arcims product discussion conference > Thread Replies

ArcIMS Product Discussion Conference

ArcIMS: WMS Connector forum

WMS connector: Access to specified service...   Michael Vanderhoydonk Apr 26, 2006
Re: WMS connector: Access to specified serv...   Michael Vanderhoydonk Apr 26, 2006
Report Inappropriate Content • Top • Print • Reply    
Subject WMS connector: Access to specified service not available 
Author Michael Vanderhoydonk 
Date Apr 26, 2006 
Message Hi there,

I'm currently having serious problems with accessing our ArcIMS webservices through the wmsconnector. Installation and configuration of the wmsconnector was without any problems, so I'm able to perform the connectorPing command perfectly:

http://pcname/wmsconnector/com.esri.wms.Esrimap?cmd=connectorPing

ArcIMS WMS-OGC Connector 9.1.0
Build Number 1084.236
Enabled true

But I'm not able to perform a GetCapabilities request (with or without the ServiceName parameter):

http://pcname/wmsconnector/com.esri.wms.Esrimap?service=WMS&version=1.1.1&request=GetCapabilities

I always receive an error message, like the one you see at the bottom of this message. We are running ArcIMS 9.1 in combination with Apache 2.0 webserver and Tomcat 4.1.29 as servlet-engine.

Are there any additional configurations that need to be done or some additional parameters that need to be set? I tried some things I've read on this forum (like setting an AvailableServices parameter in the WMSEsrimap_prop file), but none of them seem to help.

Can someone please shed some light on this issue? Someone experienced similar problems?

Thanks very much!

Michael 
 
ERRORMESSAGE:
============
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE ServiceExceptionReport SYSTEM "http://www.digitalearth.gov/wmt/xml/exception_1_1_1.dtd">

<ServiceExceptionReport version="1.1.1" >
<ServiceException>
Access to the specified service abc_123456 is not available
</ServiceException>
</ServiceExceptionReport>


The WMSEsrimap_prop file:
========================
### ESRI ArcIMS v.9.1.0
### Properties for the ArcIMS WMS Connector

### Set this property to "True" to enable the WMX Connector.
### ConnnectorPing is the only request that will be allowed when
### disabled.
enable=True

### The name of the machine on which the ArcIMS Application Server is running.  
appServerMachine=pcname

### The port on which the connector communicates with the Application Server.
appServerClientPort=5300

### The capabilities directory is where you place your capabilities files.  A
### capability file specifies the contents of the map server capabilities data,
### returned by the getCapabilities operation or request.  A capabilities file
### gets created for each ArcIMS Service.  
### Windows Example:
### capabilitiesDir=C:\ArcIMS\capabilities
### UNIX Example:
### capabilitiesDir=/disk1/ArcIMS/capabilities
capabilitiesDir=C:\ArcIMS\capabilities

### Set this to "True" if you want additional debug information
debug=True

### Set this to "file" or "servlet" if you want debug information to be logged to
### the WMSEsrimap.log file or servlet context. The default is servlet. If debug is
### false there will not be any logging.
errorLog=

### Set this to "True" or "False" for reaspecting of the image
reaspect=True

### Set this to "png8" or "png24" for creating a 8 bit or 24 bit png image
pngformat=png8

### The default ArcIMS Service that you want the WMS Connector to recognize.
defaultService=abc_123456

###The stylesheets used for transformation of capabilities and featureinfo
wms_capabilities_100=wms_capabilities_100.xsl
wms_capabilities_110=wms_capabilities_110.xsl
wms_capabilities_111=wms_capabilities_111.xsl
wms_featureinfo=wms_featureinfo.xsl

###Username & Password for WMS adminstarator
adminPassword=
adminUser=

###The charset variable is for i18n support
charset=UTF-8

AvailableServices=*
 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: WMS connector: Access to specified service not available 
Author Michael Vanderhoydonk 
Date Apr 26, 2006 
Message Hello,

I've found a solution to my problem. In case someone else comes up with the same problem: go to http://pcname/wmsconnector/index.html and login with the appropriate credentials. Once logged in, there is an administrator's interface which gives you the ability to WMS enable individual services. Once that's done, the getCapabilities request works!

If you're not able to login to the administrator's interface, remove the adminUser en adminPassword values in the WMSEsrimap_prop file. Restart the web server and servlet engine. When the WMS Administrator is launched the next time, it should ask for a new username and password.

Michael.