Setting up the JD Edwards Connectivity sample
The JD Edwards Connectivity sample has been developed for a level of
JD Edwards that has a given definition of various JD Edwards business
functions.
The following sections describe the configuration setup that is required
to run the samples that demonstrate the JDEdwardsRequest node.
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
WebSphere Message Broker 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:
mqsichangeproperties MB8BROKER -c EISProviders -o JDEdwards -n jarsURL -v C:\JDEdwards
mqsichangeproperties MB8BROKER -c EISProviders -o JDEdwards -n nativeLibs -v C:\JDEdwards
- To verify that the properties are set up correctly, run the following
command:
mqsireportproperties MB8BROKER -c EISProviders -o JDEdwards -r
- Stop and restart the broker by using the following commands:
mqsistop MB8BROKER
mqsistart MB8BROKER
- 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 Message Broker 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.
Back to sample home