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.
...
- 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 yet done itso.
- Go to UDDI Registries in System Administration > UDDI Registries and click Add Registry.
Now follow the exact steps
as in [3].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.