+

Search Tips   |   Advanced Search

 

UDDI V3 Client

 

You can use the UDDI V3 Client for Java to access the UDDI V3 APIs from Java client code.

The UDDI V3 Client for Java is a JAX-RPC Java class library that provides an API that can be used by client programs 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 WebService.

This client also contains an XML Digital Signature utility class called SignatureUtilities, provided to construct and validate Digital Signatures on UDDI elements. See Use of digital signatures with the UDDI registry for full details.

 

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 transparent to the user application.

 

Client Jar

WAS provides a class library:

uddiv3client.jar

This jar contains the JAX-RPC UDDI V3 types and UDDI WebService invocation classes.

This jar is located in app_server_root/UDDIReg/clients

The UDDI V3 client provides port types which map onto the UDDI Version 3 SOAP inquiry, publish, custody transfer and security APIs. These APIs are protected as described in Access control for UDDI registry interfaces. A client program using the UDDI V3 client should get the appropriate port type for the request that is to be issued (such as the UDDI_Publication_PortType for a save_business request). If the role mappings are such that the request will require a WebSphere Application Server authenticated user ID, the client program should pass the user ID and password by setting the relevant properties on the JAX-RPC stub for that port.

 

UDDI V3 Client samples

Samples illustrating the use of the V3 Client are available through the UDDI registry link on the Samples for WAS page of the IBM developerWorks WebSphere Web site.:

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

UDDIv3ClientSignedTModelSample.java

An example of how to sign and verify TModels.

These classes contain details on how to compile and execute the samples.


 

Related tasks


UDDI registry client programming

 

Related information


Reference: Generated API documentation

 

Reference topic