` Integration with PeopleSoft Applications using Oracle SOA Suite 11g BPEL Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL Table of Contents 1 LAB OVERVIEW .................................................................................................................................... 3 2 GETTING STARTED ............................................................................................................................. 4 2.1 Starting Oracle SOA Suite and JDeveloper .......................................................................... 4 3 CREATE THE BPEL PROCESS ........................................................................................................... 5 3.1 Create the BPEL Workspace and Project ............................................................................. 5 3.2 Create the PeopleSoft Partner Link..................................................................................... 12 3.3 Create an Invoke activity ..................................................................................................... 15 3.4 Create an Assign activity ..................................................................................................... 18 3.5 Create a Transform activity ................................................................................................. 20 3.6 Create the Business Rules .................................................................................................. 23 3.7 Validating, Compiling and Deploying the BPEL Process .................................................... 37 4 TESTING .............................................................................................................................................. 39 4.1 Invoking the Component Interface Service from BPEL ....................................................... 39 5 ADDITIONAL CREDIT ......................................................................................................................... 41 5.1 BPEL Console ..................................................................................................................... 41 5.2 JDeveloper .......................................................................................................................... 41 5.3 PeopleSoft CI ...................................................................................................................... 42 Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL 1 Lab Overview This lab demonstrates native Web services integration to PeopleSoft using Oracle BPEL Process Manager. There are two major mechanisms to integrate with PeopleSoft using Web services; one is using Component Interfaces (CI) and the other using Application Messaging. This lab focuses on Component Interfaces. Oracle BPEL Process Manager (and other products such as Enterprise Service Bus) can just as easily integrate with Application Messaging. For more hands-on tutorials, check out the Oracle By Example Tutorials on the PeopleSoft and Fusion Middleware Best Practice Center on Oracle Technology Network: http://www.oracle.com/technology/tech/fmw4apps/peoplesoft In this Lab: • You will use a WSDL generated from a Component Interface for PeopleSoft HR component PERSONAL_DATA • The WSDL will be consumed by a BPEL Process • A BPEL Process will invoke the Get() operation within the WSDL and pass in Emp #. • The result will be a Sync response from PeopleSoft with Employee‘s Personal Data, containing only the fields we mapped out (using the transformation). • A business rule is then invoked to set the SecurityCheck flag depending on the employee‘s country of residence. For the purpose of this lab, we have chosen not to secure the Component Interface (CI). However, in production environments, you would generally secure the CI, and the BPEL process would also then have to pass in and validate a userid and password combination. The WSDL URL for PeopleSoft CI (PERSONAL_DATA) is pre-generated using the Provide Web Service Wizard in PIA (browser). The WSDL URL, which is an output of the wizard, is available for you to use for this lab. If you have time after your lab is complete, you may log into PeopleSoft to see how this was generated. There are instructions in the advanced credit section. Software Used: • PeopleSoft HCM 9.0 with PeopleTools 8.48 • Oracle SOA Suite version 11gR1 (available for download from OTN ) • Oracle JDeveloper version 11gR1 (available for download from OTN ) • All lab content and software are also available from FMW Best Practice Center for PeopleSoft at o http://www.oracle.com/technology/tech/fmw4apps/peoplesoft • Also check out FMW Best Practice Centers for E-Business Suite, Siebel and PeopleSoft o Web Search => Best Practice Center Siebel PeopleSoft E-Business Suite JD Edwards The PeopleSoft server is connected to the local lab environment. Questions: • Nishit Rao [email protected] • Srikant Subramaniam [email protected] Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL 3 2 Getting Started 2.1 Starting Oracle SOA Suite and JDeveloper 1. Enter the following in a command window. This will start up the WebLogic Admin and Managed servers automatically as shown in the next two screen shots. cd C:\Oracle\Middleware\ start_all.cmd 180 Successful startup of the Admin Server. Successful startup of the Managed Server 2. Verify that the Admin and Managed servers have started up as shown above. 3. Start K JDeveloper Studio 11.1.1.1.0 Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL 4 3 Create the BPEL Process 3.1 Create the BPEL Workspace and Project 1. Choose File > New 2. Select Applications in the Categories tree and SOA Application from the Items list. Click OK to continue. Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL 5 3. Name the Application as BPELPSFT . Click Next. 4. Enter EmplInfo as the Project Name. Click Next . Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL 6 5. Select the Composite with BPEL template. Click Finish . 6. Set the Process Name to EmplInfo and select Synchronous BPEL Process as shown. 7. Click on the icon next to the Input field to browse the input elements. Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL 7 8. Click on the Import Schema File icon. 9. Click on the Browse Resources icon. 10. Locate the schema file in your folder (C:\FMW4Apps K LabFiles K PeopleSoft) and click OK . Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL 8 11. Accept defaults on the next two screens by clicking OK. 12. Select GET_EMPLOYEE_INFORMATIONProcessRequest and click OK . Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL 9 13. Click on the icon next to the Output field to browse the output elements. 14. Select GET_EMPLOYEE_INFORMATIONProcessResponse and click OK . Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL 10 15. Click OK. 16. The BPEL process diagram should look as shown. 17. File > Save All to save your work. Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL 11 3.2 Create the PeopleSoft Partner Link 1. Drag and drop a PartnerLink activity from the BPEL Services drop down list to the designer window as shown. Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL 12 2. In the Create Partner Link window, enter the PeopleSoft WSDL URL in the WSDL File field and press the ENTER key. Oracle BPEL Process Manager will load WSDL from PeopleSoft repository. The URL is: http://hr848.us.oracle.com:7777/PSIGW/PeopleSoftServiceListeningConnector/ CI_CI_PERSONAL_DATA.1.wsdl Note: This is case sensitive. Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL 13 3. The Name and Partner Link Type fields are automatically populated. 4. Select CI_CI_PERSONAL_DATA_Provider in the Partner Role field as shown below. 5. Click OK. Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL 14 3.3 Create an Invoke activity 1. Drag and drop an Invoke from the BPEL Activities and Components drop down list to the designer window (after the receiveInput activity) as shown. 2. Double-click the Invoke icon to open the Invoke window. Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL 15 3. In the Invoke window: a. Set Invoke Name to Invoke_PSFT b. Click on icon next to the Partner Link field and select CI_CI_PERSONAL_DATA.1 c. Click OK d. Set Operation to CI_CI_PERSONAL_DATA_G. This is the Get () operation within the CI. Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL 16 e. Click on the icon next to the Input Variable text field to create a global variable for this activity. Accept defaults. Click Apply and then OK . f. Click on icon next to the Output Variable text field to create a global variable for this activity. Accept defaults. Click Apply , followed by OK . g. Ensure your invoke window looks as shown. Click OK. Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL 17 3.4 Create an Assign activity 1. Drag and drop an Assign activity from BPEL Activities and Components drop down list to between the receiveInput and Invoke_PSFT activities as shown. 2. Double click on the recently added Assign icon. 3. Click on the General tab and enter CopyInput in the Name field. 4. Click Apply 5. Click the Copy Operation tab Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL 18 6. Select Copy
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages44 Page
-
File Size-