After you have imported the JD Edwards Connectivity sample, for the sample
to be built successfully you must make the JD Edwards interface libraries
files available to the Adapter Connection project. You can get these libraries from
your JD Edwards administrator.
On Windows:
Copy the dependency libraries to the local subdirectory,
C:\JDEdwards.
On Linux:
Copy the dependency libraries to the local subdirectory,
/opt/SAP_JCO.
Modify the attributes of the files so that you have read
and execute access to all the files.
Update the JD Edwards library location:
Import the sample.
Right-click the Adapter Connection project,
CWYED_JDE_SAMPLE, select
Properties > Java Build Path > Library Tab,
and specify the correct location of local subdirectory for the appropriate
operating system, for example Windows or Linux.
To deploy message flows with JDEdwards nodes, you must configure the
IBM Integration run time with the prerequisite JD Edwards libraries.
These libraries are used by the underlying JD Edwards adapter component to
establish connections with the JD Edwards system.
To set the location of the directories that contain the JD Edwards
libraries, run the following mqsichangeproperties
commands from a command environment.
Run the following commands, changing the JD Edwards client directory
to match your operating system and choice of location:
Import the JD Edwards Connectivity sample into your workspace.
Expand the JDERequestSampleMessageSet message set project.
Click Adapters > Outbound > JDEdwards.
To open an editor in which you can specify the connection parameters
that are required to access your JD Edwards system, double-click
Adapter_JDEdwards_Request.outadapter.
Enter the following settings in the editor:
Environment. Typically the host name of
the JD Edwards application server.
Role.
Username for the JD Edwards system.
Password. The password that corresponds
to the user name.
Timeout. Optional
Save the updated adapter.
Expand the JDERequestSample Integration project.
To open the Broker Archive editor, double-click
JDERequest_Sample_BAR.bar.
Click the Prepare tab.
Click Build broker archive.
Save the broker archive.
Deploy the JDERequest_Sample_BAR.bar BAR
file to the JDERequestSample broker execution
group by right-clicking the BAR file and selecting Deploy, or by dragging
the BAR file to the execution group.