Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This sample explains how to create a query processor that can be used to run custom queries on WSO2 Governance Registry in few easy steps. We will be reusing the code of the Handler Sample and the WS-API Sample in this example. This sample requires Apache Maven and Apache Ant. See Installation Prerequisites for links on how to install it.

...

4. Copy the GREG_HOME/ samples/handler/src/target/org.wso2.carbon.registry.samples.handler-5.12.0.jar into GREG_HOME/repository/components/dropins.

...

9. Replace the main method of the class in GREG_HOME/samples/ws-client/src/org/wso2/carbon/registry/ws/client/sample/SampleWSRegistryClient.java with the following source:

...