Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

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:

  1. Unzip G-Reg pack and start the server with -Duddi=enable.

...

  1.  I.e., for

...

  1. UNIX:

...

  1. /wso2server.sh -Duddi=enable.

...

  1. Login to OSB server and create a new session if you have not

...

  1. done

...

  1. so.

...

  1. Go to UDDI Registries in System Administration

...

  1. and click Add Registry.

...

  1. Now follow the exact steps

...

  1. in Adding UDDI RegistriesHere you need to provide the corresponding UDDI service interfaces/credentials as follows

...

  1. :

    Info
    iconfalse

    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

     Image Added

  2. 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 .

 Image Added 

- Select the proxy service you want to publish to UDDI and click Publish.

 Image Added 
 
- Now if the proxy is published successfully you should see the following.

 Image Added 

- 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.