This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

JAXR Sample

JAXR is one of many standards supported by the WSO2 Governance Registry. Read more on Supported APIs & Standards for a complete list of standards supported by WSO2 Governance Registry.

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. 

  1. Start WSO2 Governance Registry with UDDI enable mode.

    sh wso2server.sh -Duddi=enable
     
    wso2server.bat -Duddi=enable
  2. Go in to the GREG_HOME/samples/jaxr and run the ant command inside the folder. 

  3. 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.