Integrating wih Oracle Service Bus

For more information, see: • Section 4.1.1, Connecting to Oracle Service Registry from JDeveloper • Section 4.1.2, Using the JDeveloper Integration • Section 4.2, Integrating with BPEL Designer • Section 4.3, Integrating with Enterprise Service Bus ESB Designer

4.2. Integrating with BPEL Designer

BPEL Designer, which is integrated into the JDeveloper environment, allows you to graphically design BPEL processes by dragging and dropping elements into the process and editing their property pages. This eliminates the need to write BPEL code. By integrating BPEL Designer with Oracle Service Registry, you can also search the Registry for services that you can add as partner links to your BPEL process. To make Oracle Service Registry accessable to Oracle BPEL Designer: 1. Create a connection to the Registry instance as described in Connecting to Oracle Service Registry from JDeveloper . 2. Open the BPEL process .bpel file to launch the BPEL Designer. 3. Right-click in the Partner Links area in the right or left margins of the BPEL Designer view. 4. Click Create Partner Link. 5. Click the flashlight icon under WSDL Settings to launch the Service Explorer. 6. Expand the UDDI Registry node and select the appropriate Oracle Service Registry connection. 7. Select the Service Provider node representing the business entity the service is published under, then select the service WSDL you want to add as a partner link.

4.3. Integrating with Enterprise Service Bus ESB Designer

The ESB Designer allows you to query an Oracle Service Registry instance to select a service to create as an ESB Service or ESB adapter in your Design tab. To integrate Oracle Service Registry with ESB Designer: 1. Right click the ESB project that is, the .esb file in JDeveloper. 2. Select either Create ESB Service or Create Adapter Service. 3. Click the flashlight icon under WSDL Settings to launch the Service Explorer. 4. Expand the UDDI Registry node and select the appropriate Oracle Service Registry connection. 5. Select the Service Provider node representing the business entity the service is published under, then select the service WSDL you want to add.

4.4. Enabling Dynamic Lookup of BPEL Partner Link Endpoints

BPEL Server is now able to query an Oracle Service Registry instance to retrieve the latest endpoint for a service defined as a partner link within a BPEL process. This feature requires that the UDDI serviceKey be added to the bpel.xml file created for the BPEL process. Page 290

4.4. Enabling Dynamic Lookup of BPEL Partner Link Endpoints