+

Search Tips   |   Advanced Search

UDDI Version 3 Client

Use the UDDI Version 3 Client for Java to access the UDDI Version 3 APIs from Java client code.

The UDDI Version 3 Client for Java is a JAX-RPC class library that provides an API that client programs can use to interact with a Version 3 UDDI registry. This class library can be used to construct UDDI JAX-RPC objects and to invoke the UDDI Version 3 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

WebSphere Application Server provides the class library uddiv3client.jar, which contains the JAX-RPC UDDI Version 3 types and UDDI WebService invocation classes. This JAR file is in app_server_root/UDDIReg/clients.

The UDDI Version 3 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 Version 3 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 Version 3 Client samples

The following UDDI registry samples illustrate the use of the Version 3 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.


Related:

  • Digital signatures and the UDDI registry
  • Access control for UDDI registry interfaces
  • Additional Application Programming Interfaces (APIs)
  • Samples for WAS