WebSphere Application Server Network Deployment, Version 6.0.x   Operating Systems: AIX, HP-UX, Linux, Solaris, Windows
             [TIP: Focusing the table of contents and search results]

UDDI Version 3 Client

You can use the UDDI Version 3 Client for Java to access the UDDI Version 3 application programming interfaces (APIs) from Java client code.

The UDDI Version 3 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 Version 3 UDDI registry. This class library can be used to construct UDDI JAX-RPC objects and to invoke the UDDI Version 3 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

WebSphere Application Server provides a class library:
uddiv3client.jar
This jar contains the JAX-RPC UDDI Version 3 types and UDDI WebService invocation classes.

This jar is located in app_server_root/UDDIReg/clients

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

Samples illustrating the use of the Version 3 Client are available through the UDDI registry link on the Samples for WebSphere Application Server 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.

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    

Terms of Use | Feedback

Last updated: Mar 8, 2007 8:14:28 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/rwsu_v3client.html

© Copyright IBM Corporation 2002, 2006. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)