JAXR enables Java programmers to use an abstraction API to access a variety of XML registries, in the case of Governance Registry it would be the embedded UDDI registry. To get an idea on how the Embedded UDDI registry works please refer The Usage of UDDI APIs.
Follows the steps given below to test the given JAXR sample.
Start WSO2 Governance Registry with UDDI enable mode.
sh wso2server.sh -Duddi=enable wso2server.bat -Duddi=enable
- Go in to the
GREG_HOME/samples/jaxr
and run theant
command inside the folder.
- This sample would create an organization and a service in UDDI registry. And then it would browse through the UDDI registry to find that organization and service.