Please send feedback on this JAXR 1.0 EA release to jaxr-ri-feedback@sun.com.
The JavaTM API for XML Registries (JAXR) provides a uniform and standard API for accessing different kinds of XML Registries. XML registries are an enabling infrastructure for building, deployment and discovery of web services.
Currently there are several overlapping specifications for XML registries. Examples include ISO 11179, OASIS, eCo Framework, ebXML, and the Universal Description, Discovery and Integration (UDDI) project. The JAXR API enables programmers to use a single, easy-to-use abstraction API to access a variety of XML registries. Simplicity and ease of use are facilitated within the JAXR API by a unified JAXR information model, which describes content and metadata within XML registries.
The current version of the JAXR specification includes detailed bindings between the JAXR information model and both the ebXML registry and the UDDI registry specifications.
docs/tutorial/doc/JAXR.html
.
Set environment variables. You must set the following environment variable to use the JAXR RI, in addition to those required by the Java Web Services Developer Pack (Java WSDP):
<JWSDP_HOME>
) In the rest of this document, <JAXR_HOME>
and
<CATALINA_HOME>
both refer to
<JWSDP_HOME>
.
Set the classpath.
To run a JAXR client, set your classpath
to include the <JAXR_HOME>/common/lib
directory and
the JAR files in it.
Set properties. To set properties correctly for JAXR, do the following:
<JAXR_HOME>/docs/jaxr/sample.jaxr.properties
to your home directory and rename it .jaxr.properties
.
Note: You can run the following class file to find out where your home directory is:
public class WhichHome { public static void main(String args[]) { System.out.println(System.getProperty("user.home")); } }
.jaxr.properties
file in an editor.
servletHost
to point to your own
system (usually localhost
).
http.proxyHost
and
https.proxyHost
to point to your Web proxy server, and insert
the correct proxyPort
values.
tomcat.home
to point to the
<CATALINA_HOME>
directory. Make sure this path is absolute,
not relative (on a UNIX® system, do not use $HOME or $CATALINA_HOME).
Start Tomcat. You must start Tomcat in order to run JAXR clients, including the Registry Browser. See the Java Web Services Tutorial for instructions on how to do this.