EXCI clients specify the region containing the program they are invoking using a short name called an APPLID, which is usually the same as the region name. The EXCI client class needs to convert the APPLID into an HTTP URL which it can use to invoke the EXCI web service on the target region. It uses a list of APPLIDs and associated URLs, and optionally a user exit program, which are specified in the program's application configuration (program.exe.config) file, web configuration (web.config) file, or for programs running under JES, the JES region configuration file (Region_name.config).
For a standalone program, put the EXCI configuration in the program's application configuration file. To use EXCI from applications running in an Enterprise Server for .NET JES region, put it in the region configuration file, either by editing the file directly in a text editor or using the Enterprise Server for .NET administration console, and restart the region. For clients running under IIS, such as ASP.NET pages, put the configuration in the web configuration file.
In any of those configuration files, EXCI client configuration takes the form of a MicroFocus.SEE.EXCI section, which contains one or more <applid> elements and optionally a <dfhxcurm> element which configures the EXCI user exit. You must add a section-group element for the section, if one does not already exist, and then the group itself. The applid element specifies a region name and the corresponding URL; the dhfxcurm element specifies the path to the user exit module, which if configured is invoked at various times by the EXCI client and can change the APPLID specified by the application (letting you redirect the EXCI call without changing the application code).
Here is an example EXCI client configuration.
<configuration> <configSections> <sectionGroup name="MicroFocus.SEE.EXCI"> <section name="client" type="MicroFocus.SEE.Comms.ExciClientSection,MicroFocus.SEE.Comms.EXCI,Version=4.0.0.0,Culture=neutral,PublicKeyToken=0412c5e0b2aaa8f0" /> </sectionGroup> ... <MicroFocus.SEE.EXCI> <client> <!-- An applid element maps a CICS applid (region name) to the URL used to send EXCI requests to it. This example maps the ESDEMO applid to the default ES for .NET HTTP channel on the local system. There can be any number of applid elements. --> <applid region="ESDEMO" url="http://localhost:6265/rest/default/CPMI" /> <!-- This applid refers to a native Enterprise Server region, so it specifies a CTG URL. --> <applid region="NATIVE" url="ctg://localhost:9004" /> <!-- The dfhxcurm element configures the path to a user-supplied assembly that implements the DFHXCURM EXCI user exit. This user exit can change the applid that the client program specifies in its request. Environment variables in the value are expanded using the .NET Framework's Environment::ExpandEnvironmentVariables method. --> <dfhxcurm file="%RexBin%/DFHXCURM.dll" /> </client> </MicroFocus.SEE.EXCI> ... </configuration>
For more information, see To Add a Client EXCI Configuration.