Replacing User Exits in IDD Applications

Replacing User Exits in IDD Applications

Example Code

Example Code

This tutorial uses the BESExternalCall example from the MDM Hub Resource Kit.
The external call to the web service can perform the following actions:
  • When creating or updating a person, validate that the person has at least one address. If the validation fails, return a customized error message.
  • When generating a preview of merged records, do not merge telephone numbers
  • When merging records, do not merge telephone numbers.
The following table describes the files that support the BESExternalCall example and tells you where to find them:
File Name
Description
Location
bes-external-call.xsd
Defines the request and response types for all external calls. An external web service operation must use the request and response types for the input and output elements.
<MDM installation directory>/hub/server/lib/mdm-spi.jar
custom-logic-service.wsdl
WSDL file for the example web service. Defines the external services, operations, methods, and data types that the service methods exchange.
<MDM installation directory>/hub/resourcekit/samples/BESExternalCall/source/resources/webapp/WEB-INF/wsdl/
ValidatePerson.java
and
MergePerson.java
Examples of custom validate and merge operations that run with the example web service.
This example uses .java files, but your external web service might require a different coding standard.
<MDM installation directory>/hub/resourcekit/samples/BESExternalCall/source/java/
build.xml
Builds the
bes-external-call.ear
file.
<MDM installation directory>/hub/resourcekit/samples/BESExternalCall/
bes-external-call.ear
The .ear file that you deploy to the application server to run this example.
Generated file

0 COMMENTS

We’d like to hear from you!