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 Java API for XML-based RPC (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.
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.
WebSphere® Application Server provides the class library uddiv3client.jar, which contains the JAX-RPC UDDI Version 3 types and UDDI WebService invocation classes. This Java archive (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 WebSphere Application Server 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.
These classes contain details on how to compile and run the samples.