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.
Add the following property to the
axis2.xmlof 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.
- Start Governance Registry and then WSO2 Application Server using the command
- 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.
- 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.
- 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.