Friday, October 3, 2008

PeopleSoft Listener Issues

Making PeopleSoft Connector URL work can be an issue sometimes.
So, here is the process you need to follow to make it work:

1. Create a folder C:\TEMPSFT

2. cd\TEMPSFT

3. In this folder copy your peopleSoftUserMgmt.war

4. Create another folder C:\TEMPSFT\META-INF

5. Under this folder C:\TEMPSFT\META-INF, create a file called application.xml

6. Put the following contents:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">
<application>
<display-name>PeopleSoft UserMgmt Listener</display-name>
<module>
<web>
<web-uri>peopleSoftUserMgmt.war</web-uri>
<context-root>/peopleSoftUserMgmt</context-root>
</web>
</module>
</application>

7. Create another file MANIFEST.MF with the following contents:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.5.3
Created-By: 1.4.2_17-b06 (Sun Microsystems Inc.)
Assembled-By: XIM Assembler
Assembled-At: 07/01/2008 21:10
Product-Version: 9.1.0
Build-Number: 9.1.0.1849.0

8. Go to C:\TEMPSFT folder and execute the following command:

jar -cvf peopleSoftUserMgmt.ear peopleSoftUserMgmt.war META-INF/

9. Now, deploy (copy) peopleSoftUserMgmt.ear file in your application server. Say for JBOSS:
C:\jboss4.0.3SP1\server\default\deploy

10. Restart your app server.

11. Now your application should be ready to recieve the PSFT xml:

Your url should be:

http://<hostname>:<port>/peopleSoftUserMgmt/do/peopleSoftAction

12. Go to your out of the box connector test folder now and try to change server url and test psft-xel-test.vbs

13. You should see a reconciliation event now in Design Console and trace.txt should show the contents of the xml posted to this listener.

14. Same steps can be applied to Employee Reconciliation.

No comments: