Versions Compared

Key

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

This is currently deprecated in WSO2 Governance Registry. For more information, see Discovering Services Using the Service Discovery Client.

Governance Registry would function as a WS-Discovery proxy and store discovered services and related metadata. For an example any WS-Discovery compliant web services server (E.g. - Axis2) would be able to configure to use Governance Registry as a WS-Discovery proxy which would discover any deployed service and store in registry. 

...

  1. Add the following property to the axis2.xml of WSO2 Application Server, to configure Governance Registry to work as a WS-Discovery proxy. The value of the parameter is the URL of the web service deployed in Governance Registry to discover services. 

    Code Block
    <parameter name="DiscoveryProxy">https://localhost:9443/services/DiscoveryProxy</parameter>
  2. Start Governance Registry and then WSO2 Application Server using the command ./wso2server.sh.

  3. Add an Axis2 service to WSO2 Application Server (E.g. - ChainingService.aar). After adding it would be displayed on the service list as given below. 


     
  4. Now when we check the Service list of Governance Registry then it would display all the services which were deployed in Application Server including the newly added service. 


     
  5. This means that Governance Registry has discover all the web services deployed in Application Server and stored them in Registry. Now these service endpoints can be used from registry to different purposes.