Oracle Service Bus
This section explains how to integrate Oracle Service Bus (OSB) with WSO2 Governance Registry (G-Reg) and publish OSB artifacts like proxy services to G-Reg.
Prerequisites:
- Install OSB 11g. Refer [1] for more details.
- You need to download WSO2 G-RegÂ
Oracle is capable of publishing their proxy services to a UDDI [2] registry. So WSO2 G-Reg has an embedded UDDI registry (based on Apache JUDDI). What we are doing here is to expose G-Reg’s UDDI interface to OSB, so that it can publish its proxy services to G-Reg. G-Reg is capable of creating governance artifacts like Services, WSDLs, Schemas and etc for the corresponding proxy services.
To integrate OSB with G-Reg:
- Unzip G-Reg pack and start the server with -Duddi=enable. I.e., for UNIX: /wso2server.sh -Duddi=enable.
- Login to OSB server and create a new session if you have not done so.
- Go to UDDI Registries in System Administration and click Add Registry.
Now follow the exact steps in Adding UDDI Registries. Here you need to provide the corresponding UDDI service interfaces/credentials as follows:
Â
- Once done, make sure you activate the oracle session to persist the changes.
Now you have successfully configured G-Reg’s UDDI with OSB. The next step is to publish proxy services to UDDI.
Now need to follow the steps to publish a proxy service to a UDDI registry. For  more info refer section 30.7 at [3].
- Goto System Administration > Publish to UDDI. Make sure you exit from the oracle session. And select the UDDI registry you already configured and click next .
 Â
- Select the proxy service you want to publish to UDDI and click Publish.
 Â
 - Now if the proxy is published successfully you should see the following.
 Â
- To check whether the services are added successfully in G-Reg’s UDDI registry, follow [4] to use UDDI APIs. You can use inquiry service to fetch all services.
- To check where the corresponding governance artifacts created on G-Reg itself, login to G-Reg as admin/admin  and goto management console > Metadata and view WSDLs Services.
Â