Installation and Getting Started Guide (On-Premises)

Installation and Getting Started Guide (On-Premises)

Initializing Informatica Address Verification

Initializing Informatica Address Verification

Before you can start processing addresses using Informatica Address Verification, you must initialize Address Verification by calling the
AD_Initialize()
function. For
AD_Initialize()
to succeed, you must include a valid unlock code and the path to the corresponding reference address database in the
setconfig.xml
file. After you finish processing the addresses, call
AD_DeInitialize()
to deinitialize Address Verification.
This topic shows the C function calls. If you are using Java or other implementations of Address Verification, use the corresponding function calls.

Prerequisites

Before you call
AD_Initialize()
, complete the following prerequisites:
  • Install Address Verification.
  • Download reference address databases and extract the contents to a location on the device on which you install Address Verification.
  • Update
    SetConfig.xml
    to include at least one valid unlock code and the path to the corresponding reference address database.
  • If you are using the Java API, set the
    Encoding
    and
    WriteXMLEncoding
    attributes of Input and Result elements in
    Parameters.xml
    and
    SetConfig.xml
    to UTF-16.

Calling Initialization and Deinitialization functions

Call the Address Verification initialization and deinitialization functions in the following sequence:
  1. To initialize Address Verification, call
    AD_Initialize()
    .
    AD_Initialize()
    verifies the settings and configures Address Verification accordingly. You can call other functions such as
    AD_GetAddressObject()
    only after
    AD_Initialize()
    finishes successfully. .
  2. To release
    AddressObjects
    after you complete address processing, call
    AD_ReleaseAddressObject()
    .
  3. To deinitialize Address Verification, call
    AD_DeInitialize()
    . You can call
    AD_DeInitialize()
    only after you call
    AD_ReleaseAddressObject()
    .
    After the successful completion of
    AD_DeInitialize()
    , Address Verification is ready to be initialized again.

0 COMMENTS

We’d like to hear from you!