Versions Compared

Key

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

...

This sample explains how to use the Governance API of WSO2 Governance Registry to create a simple webservice which is capable of looking up service endpoints. WSO2 Governance Registry contains an Apache Axis2 based runtime as a part of the WSO2 Carbon Framework. You can deploy web services on this runtime, which can be used as internal endpoints to receive notifications generated on the WSO2 Governance Registry. We will be reusing the code of the Handler Sample in this example. This sample requires Apache Maven. See Installing Apache Maven on Windows or Installing Apache Maven on Linux. This  This example also explains how to use soapUI, which is a very useful tool for testing web services.

...

Info
titleNote

The command mvn clean install will trigger an Apache Maven Build in your command line. This requires you having installed Apache Maven. See Installing Apache Maven on Windows or Installing Apache Maven on Linux.

A successful run of Apache Maven will generate a report similar to the following:

...

10. Start the server and observe the command prompt. See Installing on Windows or Installing on Linux and Solaris.

Running the Sample

1. After the sample has been successfully deployed and the server has started, open a browser Window and type the following URL:

...