Modifying a SOA Project in JDeveloper

26-2 Oracle Fusion Middleware Developers Guide for Oracle Identity Manager

26.2.1 Setting an Application Server Connection in JDeveloper

Ensure that a new application server connection, which represents the application server on which Oracle Identity Manager is installed, is first setup in JDeveloper . Make sure that the WebLogic Administrative Server and the SOA server are running before performing these steps. To set up the new application server connection:

1. From the File menu, select New. The New Gallery dialog box is displayed.

2. From the left menu, select All Items. On the right pane, select Application Server

Connection , and then click OK. The Create Application Server Connection wizard is displayed.

3. In the Name and Type window, enter a name that will identify the application

server in JDeveloper. Select Weblogic 10.3 as the connection type, and then click Next .

4. In the Authentication window, provide the username and password of the

WebLogic user. Click Next. 5. In the Configuration window, enter the host name, port number, and the WebLogic domain name in which the SOA managed server is running. The port must be the WebLogic Administrative Server port usually 7001. Click Next.

6. In the Test window, click Test Connection to make sure all the information

entered is correct. The test passes with success status. Click Next. 7. Click Finish to exit the wizard. This creates the connection to the application server. This connection is required to deploy the composite to the server after making all changes.

26.2.2 Setting Up the SOA Composite in JDeveloper

To set up the SOA composite in JDeveloper for editing: 1. Copy the DefaultRequestApproval.zip file from the OIM_HOMEworkflowscomposites directory to your JDeveloper working directory. Unzip it in the same directory to create the DefaultRequestApproval directory. 2. Start JDeveloper in the Default Role.

3. From the File menu, select Open. The file-open dialog box is displayed. Select the

DefaultRequestApproval.jpr file in the DefaultRequestApproval directory. This opens the composite in JDeveloper. Click OK or Yes while the project file is created. 4. To successfully compile the Java code that you want to write in the composite, the oimclient.jar file must be in the JDeveloper copy of the composite. Copy the oimclient.jar file from the OIM_HOMEserverclient directory to the JDEVELOPER_WORKING_DIRECTORYDefaultRequestApprovalSCA-INFlib directory. This directory is the lib directory of the composite that you are editing. See Also: Deploying a Single SOA Composite in Oracle JDeveloper in the Oracle Fusion Middleware Developers Guide for Oracle SOA Suite for more information about setting up the SOA composite in JDeveloper