Portlet Factory, Version 6.1.2


 

Using WSRR with IBM® WebSphere Portlet Factory

WebSphere® Service Registry and Repository (WSRR) provides a master metadata registry and repository for web services.

These services range from traditional web services that use SOAP or HTTP bindings to services that use a broad range of protocols and programming models.

You can use WSRR to register, search for, and download SOA-related artifacts, such as WSDL documents, XSD schemas and XML files, all of which may be useful in a WebSphere Portlet Factory application. A typical use case for portlet and widget development entails a developer searching WSRR for such resources (for example, by service name, XML namespace or by properties), and then downloading the appropriate resources from WSRR to the Eclipse project for use in development of the application.

Once you download WSDL, XSD, or XML files from WSRR into the project, they may be used from the project just as any other such file-based resources you might have obtained from other sources, with builders such as Web service call, schema or the import to XML builder.

For instance, a localWeather.wsdl downloaded from WSRR to your project WEB-INF folder could be referenced by the Web Service Call builder WSDL input as WEB-INF/localWeather.wsdl.

WSRR provides two graphical user interfaces for searching and exporting WSDL, XSD and XML files: a web-based user interface and an Eclipse plugin.

  • The Service Registry web interface may be used from a browser to search and query WSRR artifacts and export them to the local disk. Because the interface is outside of the Eclipse development environment, provide the specific location of your Eclipse project when downloading the WSRR artifacts (for example, C:\Documents and Settings\username\workspace\myproject\WEB-INF\).

  • The WSRR Service Registry Eclipse plugin is a better choice when working in an Eclipse-based tool such as WebSphere Portlet Factory because it presents you with a list of projects to choose from when you select WSRR artifacts to download.

By default, the WebSphere Portlet Factory perspective in Eclipse attempts to verify whether the WSRR Eclipse plugin is installed. If it is installed, the plugin is launched in the bottom layout area of Eclipse along with the Tasks and Applied Profiles views. If you have already customized your perspective, or have a previous perspective layout that Eclipse has cached, you might need to explicitly configure Eclipse to show the WSRR Plugin view with the Eclipse menu action: Window > Show View > Other > Service Registry.

Parent topic: Web Service Call builder


Library | Support |