Creating the PeopleSoft HRMS Jar File
Perform the following steps to create the PeopleSoftHRMS.jar
file:
-
Sign in to PeopleSoft Application Designer in two-tier mode.
-
Open the component interface that will be used in provisioning rule. For example, CI_PERSONAL_DATA
-
From the menu select Build > PeopleSoft APIs.
-
From the Build PeopleSoft API Bindings window, select the JAVA classes Build checkbox and deselect the COM Type Library and C Header Files Build checkboxes.
-
In the JAVA Classes frame select the checkbox for Build and select the appropriate Component Interfaces from the drop down menu. Select the following options from the drop down menu:
-
CompIntfc.CompIntfcPropertyInfo
-
CompIntfc.CompIntfcPropertyInfoCollection
-
PeopleSoft*
-
CompIntfc.CI_PERSONAL_DATA*
-
CompIntfc.CI_JOB_DATA*
-
CompIntfc.BADGE*
Specify the appropriate file path for the JAVA files. The Component Interface JAVA files are generated in the
PeopleSoft\Generated\CompIntfc
directory that is created in the specified location.For example, if you specify
C:\CI
as the file path, then the Component Interface Java files are generated inC:\CI\PeopleSoft\Generated\CompIntfc
. -
-
Compile the JAVA files by performing the following steps:
-
Open the command prompt and change directories to the folder where the generated JAVA files are located. For example,
C:\CI
. -
Go to the
PeopleSoft\Generated\CompIntfc\
directory. -
Run the following command:
javac -classpath %PS_HOME%\class\psjoa.jar *.java
Where
%PS_HOME%
is the location that PeopleSoft is installed.Note
Ensure that the JAVA compiler used for compiling the generated JAVA files is compatible with the JAVA provided with the PeopleSoft installation that needs to be managed. -
(Optional) You can delete all the generated java files from the existing directory, except the
.class
files.
-
-
Perform the following steps to package the compiled files as the PeopleSoftHRMS.jar file:
-
Open the Command prompt and change directories to the folder where the generated JAVA files are located. For example, if the java files are generated in
C:\CI\PeopleSoft\Generated\CompIntfc
folder, then run the command fromcd C:\CI
-
Run the command:
jar -cvf PeopleSoftHRMS.jar *
-
-
Copy the generated
PeopleSoftHRMS.jar
and%PS_HOME%\class\psjoa.jar
files to the computer where IdentityIQ is running. -
The location of the above jar file must be specified for the Jar location configuration attribute during connector configuration.