Network Deployment (Distributed operating systems), v8.0 > Reference > Developer detailed usage information


UDDI v3 Client

We can use the UDDI v3 Client for Java to access the UDDI v3 API from Java client code.

The UDDI v3 Client for Java is a JAX-RPC class library that provides an API that client programs can use to interact with a v3 UDDI registry. This class library can be used to construct UDDI JAX-RPC objects and to invoke the UDDI v3 web service.

This client also contains an XML digital signature utility class called SignatureUtilities, which is provided to construct and validate digital signatures on UDDI elements.


Multiple language encoding support

The UDDI Version 3 API supports both UTF-8 and UTF-16 encoding. Internally, UTF-16 characters are stored as UTF-8 characters. This behavior is not apparent to the user application.


Client JAR file

WAS provides the class library uddiv3client.jar, which contains the JAX-RPC UDDI v3 types and UDDI WebService invocation classes. This JAR file is in WAS_HOME/UDDIReg/clients.

The UDDI v3 client provides port types that map onto the UDDI Version 3 SOAP Inquiry, Publish, Custody Transfer, and Security APIs. These APIs are protected by access control mechanisms, for example role mappings. A client program that uses the UDDI v3 client gets the appropriate port type for the request that is issued, for example, the UDDI_Publication_PortType for a save_business request. If the role mappings are such that the request requires a WAS authenticated user ID, the client program passes the user ID and password by setting the relevant properties on the JAX-RPC stub for that port.


UDDI v3 Client samples

The following UDDI registry samples illustrate the use of the v3 Client. To access the samples, see the Samples for WAS and use the UDDI Registry link.

UDDIv3ClientBindingSample.java

An example of how to save and find binding templates.

UDDIv3ClientBusinessSample.java

An example of how to save and find business entities.

UDDIv3ClientServiceSample.java

An example of how to save and find business services.

UDDIv3ClientSignedBusinessSample.java

An example of how to sign and verify a business entity.

UDDIv3ClientTModelSample.java

An example of how to save and find TModel entities.

UDDIv3ClientSignedTModelSample.java

An example of how to sign and verify TModel entities.

These classes contain details on how to compile and run the samples.
Digital signatures and the UDDI registry
Access control for UDDI registry interfaces
UDDI registry client programming
Additional Application Programming Interfaces (APIs)
Samples for WAS

+

Search Tips   |   Advanced Search