com.ibm.ras.example.webservice
Class ConnectToWorkgroupRepository

java.lang.Object
  extended bycom.ibm.xtools.pluglets.Pluglet
      extended bycom.ibm.ras.example.webservice.ConnectToWorkgroupRepository

public class ConnectToWorkgroupRepository
extends com.ibm.xtools.pluglets.Pluglet

The ConnectToWorkgroupRepository pluglet provides an example of how to connect to a workgroup repository using proxies generated from the Web Services Description Language (WSDL) file. The pluglet demonstrates the following operations:

When run successfully, the metrics about the workgroup repository are output to the Console view.

Note: To successfully execute 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 (connectionURL) in the pluglet code to connect to it.

Warning: This example uses RAS API that is located in internal packages. It is subject to significant change without any warning to implementing clients. Any client using this API should anticipate adapting to multiple changes in future releases.


Field Summary
 String connectionURL
          Represents the connection URL to the workgroup repository.
 
Fields inherited from class com.ibm.xtools.pluglets.Pluglet
out
 
Constructor Summary
ConnectToWorkgroupRepository()
           
 
Method Summary
 void plugletmain(String[] args)
           
 
Methods inherited from class com.ibm.xtools.pluglets.Pluglet
confirm, confirm, dumpStack, dumpStack, error, error, getDialog, getDirectory, getFile, getFullName, getName, inform, inform, printStackTrace, printStackTrace, prompt, prompt, prompt, question, question, setDialog, setDirectory, setFile, setFullName, setName, warning, warning
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connectionURL

public String connectionURL
Represents the connection URL to the workgroup repository.

The connection URL is pre-defined to a local URL to verify that the pluglet runs. You need to setup your own workgroup repository and change the URL.

Constructor Detail

ConnectToWorkgroupRepository

public ConnectToWorkgroupRepository()
Method Detail

plugletmain

public void plugletmain(String[] args)