Draft comment: This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
When a service component invokes another service component synchronously, you must
configure the invoking service component to point to the system running the target so the target
service can communicate results to the invoking service component.
Before you begin
Ensure you already installed IBM® Business Automation Workflow on the systems for which you are configuring
the communications but have not yet installed the applications involved.
About this task
A service component that invokes another service synchronously can communicate with the target if you configure the import on the invoking system by using the Java™™ Naming and Directory Interface (JNDI) name of the export component on the target system. For the purposes of this task, the invoking service module resides on System A and the target resides on System B. Figure 1 contains the information to use in
the configuration.
Figure 1. Invoking a service on a different system
Procedure
Install the applications on each server.
Create a new namespace binding on the invoking system (System A, in the example) pointing to
the export on the target system.
On the Name Space Bindings panel, select a scope of Cell and click
Apply. With the changed scope, click New in the
display to create the new binding.
In the wizard, specify the following (the values are appropriate for the example configuration):
Binding type is CORBA
The basic properties are:
Binding identifier is a unique string, in our example:
sca_import_test_sca_cross_simple_custinfo_CustomerInfo
Name in Name space is the JNDI name of the enterprise Java
bean (EJB) you are invoking on the target system, for example:
When finished, click Next and verify the values on the
Summary page. After verifying, click Finish.
Your system displays your new binding.
Save your changes by clicking Save.
If your cross cell configuration consists of servers on the same host with the same name and
you encounter JNDI lookup failures with a NameNotFoundException, then you need to
set a system property.
Follow the directions in the Application access problems under the subheading Two servers with the
same name running on the same host are being used to interoperate.
What to do next
Start the applications. The service component on System A can now synchronously invoke the
service on System B.
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15