Generating Component Interface Class Files
To generate Component interface class files
1. Logon to the PeopleSoft Application Designer using the same user ID and password that you will use with your PeopleSoft Adapter connection.
2. Test the component interface using the PeopleSoft Application Designer. If the test succeeds, then continue with the procedure. If the test fails, check the following:
a. Check whether the CI has the correct authorization.
b. Make sure that all of the CI's properties are valid.
c. Re-generate the component interface.
See the PeopleBooks documentation for instructions on how to set authorization, validate component interfaces, and create new component interfaces.
3. In the PeopleSoft Application Designer, select Build > PeopleSoft APIs. Then, on the Build APIs Bindings screen:
a. Disable all of the options except the Java Classes Build option.
b. Specify the directory where the built Java APIs are located; for example, c:\PT8.42\web\extapi.
c. Highlight the required component interface files or all files.
d. Click OK.
4. Navigate to the directory where the Java files are located and compile all of the Java files using the psjoa.jar file in classpath option. For example:
javac -classpath c:\PT8.42\web\psjoa\psjoa.jar c:\PT8.42\web\extapi\*.java