RAS Web service API example

The com.ibm.ras.example.webservice package provides examples of how to programmatically perform a compound query on a workgroup repository or connect to a workgroup repository using proxies generated from a Web Services Description Language (WSDL) file.

com.ibm.ras.example.webservice package

To successfully run this pluglet you must install a workgroup repository. For details about how to install a workgroup repository, go to the IBM alphaWorks Web site and search for RAS. After setting up and configuring your workgroup repository, change the connection URL in the pluglet code to connect to it.

The com.ibm.ras.example.webservice package contains the following pluglets:
Pluglet Description Results
CompoundQueryWorkgroup Provides an example of how to perform a compound query on a workgroup repository using proxies generated from a WSDL file. The pluglet in the example demonstrates the following procedures:
  • Creating a service locater
  • Creating a connection to a workgroup repository
  • Creating multiple query conditions
  • Executing a compound query on the workgroup repository
When run successfully, lists the number of assets in the repository that have a descriptor named "author" and one or more related assets.
ConnectToWorkgroupRepository Provides an example of how to connect to a workgroup repository using proxies generated from a WSDL file. The pluglet in the example demonstrates the following procedures:
  • Creating a service locater
  • Creating a connection to a workgroup repository
  • Acquiring the metrics from the workgroup repository
When run successfully, the metrics about the workgroup repository are sent to the Console view.

Feedback