For an updated, online version of these release notes, see Release Notes.
Revised: 09/26/2003
Before you work with this release, make sure that you have installed the required software and are on a supported operating system. You can find this information in the JavaTM Web Services Developer Pack (Java WSDP) home page and Release Notes and the JAXR home page.
This release includes
This release implements version 1.0 of the JAXR specification. The specification is available from the JAXR downloads page, http://java.sun.com/xml/downloads/jaxr.html.
The JAXR RI release contents are arranged in the following structure within the Java WSDP release:
Directory Name | Contents |
---|---|
jaxr/bin |
Registry Browser scripts |
jaxr/docs |
Release documentation for the JAXR RI |
jaxr/lib |
JAR files used by the JAXR RI |
jaxr/samples |
Example code, including the Registry Browser. See Samples.html for details. |
<JWSDP_HOME>/docs/api |
API documentation for the JAXR RI |
The implementation of JAXR in the Java WSDP allows you to set a number of properties on a JAXR connection. Some of these are standard properties described in the JAXR specification. Others are implementation-specific properties. The following tables list and describe these properties.
Property Name | Description | Data Type | Default Value |
---|---|---|---|
javax.xml.registry.queryManagerURL |
Specifies the URL of the query manager service within the target registry provider | String | None |
javax.xml.registry.lifeCycleManagerURL |
Specifies the URL of the life cycle manager service within the target registry provider (for registry updates) | String | Same as the specified queryManagerURL
value |
javax.xml.registry.semanticEquivalences |
Specifies semantic equivalences of concepts as one or
more tuples of the ID values of two equivalent concepts separated by a
comma; the tuples are separated by vertical bars:
id1,id2|id3,id4 |
String | None |
javax.xml.registry.security.authenticationMethod |
Provides a hint to the JAXR provider on the authentication method to be used for authenticating with the registry provider | String | None (UDDI_GET_AUTHTOKEN is the only
supported value) |
javax.xml.registry.uddi.maxRows |
The maximum number of rows to be returned by find operations. Specific to UDDI providers | Integer | None |
javax.xml.registry.postalAddressScheme |
The ID of a ClassificationScheme to be used as the default postal address scheme | String | None |
Property Name | Description | Data Type | Default Value |
---|---|---|---|
com.sun.xml.registry.http.proxyHost |
Specifies the HTTP proxy host to be used for accessing external registries | String | Proxy host value specified in
conf/jwsdp.properties . If you specified a proxy host and
port when you installed the Java WSDP, the values you specified are
in this file. |
com.sun.xml.registry.http.proxyPort |
Specifies the HTTP proxy port to be used for accessing external registries; usually 8080 | String | Proxy port value specified in
conf/jwsdp.properties |
com.sun.xml.registry.https.proxyHost |
Specifies the HTTPS proxy host to be used for accessing external registries | String | Same as HTTP proxy host value
|
com.sun.xml.registry.https.proxyPort |
Specifies the HTTPS proxy port to be used for accessing external registries; usually 8080 | String | Same as HTTP proxy port value |
com.sun.xml.registry.http.proxyUserName |
Specifies the user name for the proxy host for HTTP proxy authentication, if one is required | String | None |
com.sun.xml.registry.http.proxyPassword |
Specifies the password for the proxy host for HTTP proxy authentication, if one is required | String | None |
com.sun.xml.registry.useCache |
Tells the JAXR implementation to look for registry objects in the cache first and then to look in the registry if not found | Boolean, passed in as String | True |
You can set these properties as follows:
Properties props = new Properties(); props.setProperty("javax.xml.registry.queryManagerURL", "http://uddi.ibm.com/testregistry/inquiryapi"); props.setProperty("javax.xml.registry.lifeCycleManagerURL", "https://uddi.ibm.com/testregistry/publishapi"); ConnectionFactory factory = ConnectionFactory.newInstance(); factory.setProperties(props); connection = factory.createConnection();
postalAddressScheme
and useCache
properties
may be set in a <sysproperty>
tag in a
build.xml
file for the Ant
tool. For example:
<sysproperty key="useCache" value="true"/>These properties may also be set with the
-D
option on the
java
command line.
The 1.0.5 release of the JAXR RI has the following limitations:
DeclarativeQueryManager
interface.
At this release, the JAXR RI has the following known issues:
Description
value that you specify for a User
. This
problem does not occur on the Solaris platform.
find_relatedBusinesses
request message at this release,
use of the JAXR API findAssociations
method will fail with
the Registry Server. For details, see the
Java WSDP Registry Server
Release Notes.
[ERROR] registry - -java.lang.ClassNotFoundException: com/sun/xml/registry/uddi/bindingsv2/Soap:Fault java.lang.ClassCastException at com.sun.xml.registry.common.util.CastorUtil.unmarshalObject(Unknown Source) at com.sun.xml.registry.uddi.Processor.processResponse(Unknown Source) ....
You may safely ignore these messages. To avoid them, choose a query URL first after you start the Registry Browser.