The Z39.50 Connector can implement the HTTP, HTTPS, or TCP/IP protocol for communicating with Z39.50 clients. You configure the connector to use a protocol by setting a series of properties in the z3950.properties file. By default, the connector is set to use HTTP; however, you may prefer to use a different protocol. Before changing the protocol, you must consider the consequences—HTTP or HTTPS and TCP/IP have different capabilities for restricting access to your metadata. For details, see ‘Protocols and restricting access to your metadata’ in this chapter.
To use the HTTP or HTTPS protocol with the Z39.50 Connector, set the connectionType property in the z3950.properties file to “http”; this is the default value. Set the url property to the Internet location of the machine that hosts the ArcIMS services; the URL will be either an http or an https address, depending on the protocol you are using.
To use the TCP/IP protocol, set the connectionType property to “tcp” and set the appServerMachine property to the name of the machine that hosts the ArcIMS Application Server. If the ArcIMS Application Server was configured to run on a port other than 5300, you must also modify the appServerPort property in the z3950.properties file.
Edit the z3950.properties file in a text editor. This file is located in the Z39.50 Connector’s install directory.
Set the connectionType property to “http”. Use the same value for the HTTP and HTTPS protocol.
As shown in the sample file below, under ### The connection protocol used to connect z39.50—connectionType=http
Set the url property to the Internet address of the server that hosts the ArcIMS Metadata Service. For example, for HTTP:
url=http://<localhost>.<domain>.com
Or for HTTPS:
url=https://<localhost>.<domain>.com
In this file, it is set to url=http://www.myServer.com.
Save and close the file.
Stop and restart the ArcIMS Z3950 service in the Services window.
Edit the z3950.properties file in a text editor. This file is located in the Z39.50 Connector’s install directory.
Set the connectionType property to “tcp”.
In the file shown below, this is shown as connectionType=tcp
.
Set the appServerMachine property to the name of the computer where the ArcIMS Application Server is installed.
appServerMachine=hostname
.
The default port on which the ArcIMS Application Server runs is 5300. If necessary, modify the appServerPort property.
The default, appServerPort=5300
, is shown in the file below.
Save and close the file.
Stop and restart the ArcIMS Z3950 service in the Services window.