Contenido

The component has been developed by Imola Informatica.

 

Main features

The WSDL Navigator provides facilities for retrieving web service definition (WSDL) registered with Roma (The Registry Aspect) from a Remote Repository instance.
The Downloaded WSDL files are stored in a local repository (folder in the local FileSystem) that representsa a local copy of the Remote Repository and are available to be used for building BPEL Process directly from the Netbeans BPEL Editor
.

Software requirements and dependencies

  • Java 6 JDK [Java]

  • Apache Ant [Ant]

  • Netbeans 6.5.1 IDE [Netbeans]

  • Roma Framework 2.0 (for info see Roma Framework web site) [Roma]

 

Source code

The source code for the WSDL Navigator is availbale on the SourceFroge web site, at the address:

By using a Subversion client, you can checkout it with the following

svn co https://ict-romulus.svn.sourceforge.net/svnroot/ict-romulus/trunk/ESB4Romulus/wsdlNavigator_6.5_suite

Compile it all

Follow this steps:

  1. Change current directory to the NetbeansPlugin directory and execute:

    ant nbms

  1. Wait for building and when finished you will find the nbm files in the directory

    [NetbeansPlugin]/build/updates

Get Binaries

The binary distributions for IDE4Romulus are available on line in the the SVN (subversion) repository for Romulus Project.

WSDLNavigator Netbeans Installation

  1. Open Netbeans IDE. Go to Tools->Plugins. On the Downloaded tab, click on the AddPlugins button and add the generated nbm files for the plugin.

  2. Click on the Intall button

  3. After the installation you should see the new plugin installed in the list showed on the Intalled tab

Tutorial

The following tutorial shows how to use the WSDL Navigator to import an existent registerd WSDL in a new or existent BPEL Process, and how it's possible register the BPEL process created as a Service in the same repository.

Configure the Navigator

In order to Configure the WSDLNavigator to synchronize your local repository with the remote WSO2 registry instance, go to Tools->Options

This open the following dialog.

 

 

 

 Insert the WSO2 Registry URL in the URL field, insert your username and password and specify the path for the local repository creation, where the Navigator will save all the registered WSDL.

Once we have insert all information you can click ok.

The navigator will proceed with the synchronization of the local repository with the remote repository.

Import Registered WSDL in a BPEL process

Once we have installed and configured the WSDL Navigator we can see all files registered in the remote repository. 

 

The Refresh Button can be used for a new synchronization with the WS02 Registry.

After the synchronization users are able to import registered WSDL in a existent BPEL process and to register deployed BPEL Process as services in the WSO2 remote instance.

To import WSDL in a existent or in a new BPEL process:

Open Existent BPEL Proces or Create a new BPEL Process.

After this you can see the BPEL process project and you can add the Downloaded WSDL as partnerlink to the BPEL process.


To add the WSDL to the BPEL process drag the WSDL from the Navigator and drop it to the BPEL process.

Once you have added the WSDL you can start to design your BPEL process.

 

 

Register Bpel as Service in the Repository

Once we have complete the BPEL process definition it's possible register the BPEL consumer partnerlink WSDL as service.

To perform the service registration click on the consumer WSDL and select “Register WSDL” action.

 Bpel Process WSDL Registration

  The action will show the following dialog


The registration can be performed on the default WSO2 remote registry instance or in a different WSO2 remote registry instance. To change the default configuration, you have to uncheck the Default Settings check box and specify the new configuration data (URL, Username and Password ).

In order to complete the registration additional service information are required and can be added by the users using the WSDL Registration Wizard. Requested information are : the Organization package i.e org.default.package, used as path in the remote repository , a simple Service Description and information about Author.

Optionally the users can be add the icon path, that specify the icon file that has to be associated to the new registered Service.

To complete the registration click ok and it will perform the registration of the new Service.

After the registration of the new service, it can be retrieved from the WSDL Navigator, and used as a partnerlink in others BPEL process.

Important: The new Registered service become available only after the deploy of a service assembly.