Implementation > Banque de France repository > Using the Banque de France Custom-Functions

Using the Banque de France Custom-Functions

Overview

Axway Financial Exchange provides two add-on Custom-Functions that you use in Integrator to generate the BIC from the Banque de France repository rather than the SWIFT repository. This is useful for mapping CFONB messages to SEPA messages.

Banque de France Custom-Functions

Custom-Function Description Input Parameters Output Parameter
GetBICinBdF() Returns the BIC from the Banque de France repository

Parameter1: String: IBAN Code (French account)

Example: FR7690001000010002012345472

String (11): BIC related to input IBAN

IsKeyPresentBICinBdF() Validates the presence of the BIC in the Banque de France repository

Parameter1: String: Location Code

Parameter2: String: Branch Code

Boolean:

  • True if BIC code is found
  • False if technical problem or BIC not found

Integrating the Custom-Functions

General procedure

To make use of the Banque de France Custom-Functions inside your mappings, you need to:

  1. Create the Banque de France database.
  2. Import the Custom-Functions definition into Composer.
  3. Using the Banque de France Custom-Functions.
  4. Link the Integration-Task to a Channel referring to the Banque de France database.
  5. Implement the Custom-Function in Integrator.
  6. Check and send the Integration-Task to Integrator. The Integration-Task is then ready for use.

Creating the Banque de France database

Refer to Creating Banque de France database objects

Importing the Custom-Functions definition into Composer

This step defines the Custom-Function parameters (input and output).

  1. Start Axway Composer.
  2. In the Composer Integration-Services workbench, click to select a user folder in the object tree structure.
  3. From the Composer Tools menu, run the Import Object command.
  4. Composer displays the Import Wizard.
  5. In the Import Wizard, navigate to the Custom-Function directory in the FEX installation package: \Software\BDF\Function
  6. Import the files:
  7. Click Finish.
  8. Composer imports the files and creates the GetBICinBdF and IsKeyPresentBICinBdF Custom-Functions in the Custom-Function folder of the Composer navigation pane. You can now open and display these Custom-Functions in Composer.

Using the Banque de France Custom-Functions

You can now use the Custom-Function in any DML part of an Integration-Process, for example:

Linking the Integration-Task to a Channel referring to the Banque de France database

The database must be defined in Composer. You need to make the link between this database and the Integration-Task through a Channel.

Implementing the Custom-Function in Integrator

To use the Java Custom-Function, copy BDF\Jar Files\axway_fex_customfunction_IsKeyPresentBICinBDF.jar

to the following directories:

Checking and sending the Integration-Task to Integrator

Check and send the Integration-Task to Integrator. The Integration-Task is then ready for use.

Related topics

About the Banque de France repository

Importing Custom-Functions to Composer

Using Custom-Functions