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 G-Reg 4.6.0.
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. And G-Reg is capable of creating governance artifacts like Services, WSDLs, Schemas and etc for the corresponding proxy services.
What needs to be done:
It is a set of simple steps that you need to follow.
- 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
...
:
Info icon false Username - root
Password - root
Inquiry URL-http://<G-Reg-HOST>:9763/juddiv3/services/inquiry
Publish URL -http://<G-Reg-HOST>:9763/juddiv3/services/publish
Security URL -http://<G-Reg-HOST>:9763/juddiv3/services/security
Subscription URL -http://<G-Reg-HOST>:9763/juddiv3/services/subscription
- 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.