Namespace configuration

The namespace must be configured to use the correct repository. In the namespace definition XML file, configure the image request handler to retrieve images. The DUP_PAYMENT namespace reference implementation file, ReferenceNamespaces.xml, uses the default values to configure an image request handler that integrates with the Transaction Server. The following information may need to be changed depending on the implementation:
HostName
Configured value is localhost. If the Transaction Server is not on the same machine as the Duplicate Detect console, change the HostName value to the reflect the correct name.
Port
Configured value is 1099 (default for the Transaction Server). This is the port number the Transaction Server listens on for Java™ RMI requests. If the value has changed in the Transaction Server configuration properties, update the value in the namespace XML to match.
To change the HostName or Port values, edit the namespace file, ReferenceNamespaces.xml. It is located in the install_directory\check\v409\DupDetect\server\samples\db2\xxx\build directory, where xxx indicates the operating system, as follows:
  • unix - AIX® or Linux®
Find the section that matches the following:
<HandlerDefinition>
  <HandlerClassName>
    com.ibm.paydir.dupdet.user.samples.ReferenceItsImageRequestHandlerProxy
  </HandlerClassName>
  <Description>For obtaining TS Images for the Dup_Payment namespace.</Description>
  <HandlerTypeValue>IMAGE.REQUEST</HandlerTypeValue>
  <HandlerAttributes>
    <ComponentAttribute>
      <AttributeName>HostName</AttributeName>
      <AttributeDefaultValue>localhost</AttributeDefaultValue>
    </ComponentAttribute>
    <ComponentAttribute>
      <AttributeName>Port</AttributeName>
      <AttributeDefaultValue>1099</AttributeDefaultValue>
    </ComponentAttribute>
  </HandlerAttributes>
</HandlerDefinition>

Edit the AttributeDefaultValue entries for HostName and Port.

After changing the values, import the namespace definitions file back into the Duplicate Detect database.