4 Integrating with Capscan Matchcode

This document describes how to integrate address verification and cleansing features from GBGroup Capscan Matchcode with EDQ. This documentation is intended for system administrators responsible for installing and maintaining EDQ applications.

This chapter includes the following sections:

4.1 Software Requirements

You must have the Capscan Matchcode software installed on a system that is accessible to the EDQ Server. For more information, see the GBGroup Matchcode website found at http://www.gbgplc.com/products/matchcode/.

4.2 Integrating the Capscan Matchcode Libraries into EDQ

EDQ includes a connector to the Capscan Matchcode API. EDQ includes a connector to the Capscan Matchcode API from GBGroup. This API provides address verification and cleansing features. This API provides address verification and cleansing features. Integrate the Capscan Matchcode Libraries into EDQ as follows:

  1. Copy the capscan.jar client API file from the Capscan Matchcode installation to the ORACLE_HOME/user_projects\domains\edq_domain\servers\edq_server1\tmp\_WL_user\edq\iz3lfy\war\WEB-INF\widgetjars directory.

    The location of the capscan.jar file in a Capscan Matchcode installation depends on the installation platform; for example, it is located in the Capscan\SDK\Matchcode client API\Java directory on Windows.

    Note:

    You can copy the capscan.jar file to a directory other than the default directory given in this step. If you do so, you must edit the capscan.jar property of the capscan.properties file to specify the location of the file. If you specify a relative path, the path must be relative to one of the directories in the EDQ configuration path.
  2. Edit capscan.properties file in the ORACLE_HOME/user_projects\domains\domains\edq_domain\edq\oedq.home\capscan directory.

  3. Edit the server.host property to refer to the system where Capscan Matchcode is running.

  4. Restart your EDQ Server.

4.3 Customizing the Matchcode API

Various aspects of the Capscan Matchcode API behavior can be controlled using the capscan.properties file. It allows you to set the following properties:

capscan.jar

The location of the capscan.jar client API file in the EDQ installation. If you specify a relative path, the path must be relative to one of the directories in the EDQ configuration path. The default value is the relative path capscan/capscan.jar.

server.host

The IP address of the machine where Capscan Matchcode is running.

connection.timeout

A timeout period, in seconds, after which the Capscan Matchcode API will abort the search and return (a timeout period of zero indicates that there is no time limit on searches).

connection.type

The connection mode to use when communicating with the Capscan Matchcode API. The default connection mode is CONNECTIONLESS. The remaining options are:

  • CONNORIENTED

  • STATELESS

  • WEBCONNECTION

  • ONDEMAND

For information about these connection modes, refer to the Capscan Matchcode API documentation.

number.capscan.connections

The number of connections that EDQ should make to the Capscan Matchcode API.

number.threads

The number of threads that should be used when communicating with the Capscan Matchcode API.

The default contents of the capscan.properties file are as follows:

# This configuration file is configuring the CapScan processor   
# to be able to communicate with the CapScan server      
#        
# Capscan server name    
server.host = 127.0.0.1  
#        
# Connection timeout in seconds (0 means no time out)    
connection.timeout = 30  
#        
# The connection type to make to the CapScan server.     
# Possible values are:   
#        
# CONNORIENTED   
# CONNECTIONLESS 
# STATELESS      
# WEBCONNECTION  
# ONDEMAND       
connection.type = CONNECTIONLESS 
#        
# The number of connections the director server should   
# make to the CapScan server     
number.capscan.connections = 1   
#        
# The number of threads that should be used to   
# communicate with the CapScan server    
number.threads = 1