The WS Registry API exposes a complete set of registry operations that can be accessed through Web Service calls. This section explains how to run the sample that uses the WS Registry client sample.
To get the sample to work, you must first do the following:
GREG_HOME/bindirectory and run Ant from there. This action will copy all the necessary libraries to their respective locations. To run Ant from the command-line, type the following command and press <Enter>:
Start the WSO2 Governance Registry by running the appropriate script from
See Running the Product for more information.
The following are the JAR dependencies for this sample to work:
Steps to get this sample to work
- Execute the
ant runcommand from the
- Each operation that occurred will be displayed on the console.
- A resource will be created in root by the name of
path = /abc). And the resource will contain a rating of three stars, comments and the content of the resource will be printed. This can be checked through the Resource Browser which can be accessed through the Management Console.