UDDI4J
UDDI4J is a Java(TM) class library that provides an API that is used to interact with a UDDI registry. This class library generates and parses messages sent to and received from a UDDI server. The central class in this set of APIs is com.ibm.uddi.client.UDDIProxy.
This class is a proxy for the UDDI server that is accessed from the client code. Its methods map to the UDDI Specification .
Note: this document is in PDF format. You must have the Adobe Acrobat Reader installed as a plugin to your browser to view this document.
The classes within com.ibm.uddi.datatype represent data objects that send or receive UDDI information. In the business and service model, the data objects are also known as subpackages.
- com.ibm.uddi.request
The subpackage com.ibm.uddi.request contains messages sent to the server. Generally, these classes are not used directly; rather, they are invoked by the UDDIProxy class.- com.ibm.uddi.response
The subpackage com.ibm.uddi.response represents response messages from a UDDI server.
For an illustration of how to use UDDI, see UDDI4J samples.
UDDI4J error handling
The com.ibm.uddi.client.UDDIProxy package contains the following Java exceptions:
- UDDIException
UDDIException is thrown when errors are received from the UDDI proxy when invoking UDDIProxy inquiry methods. UDDIException can contain a DispositionReport with information regarding the error. APIs that do not return a data object provide the disposition report.- SOAPException
SOAPException is thrown if a communication error occurs or if the resulting data cannot be parsed as a valid SOAP message.
For more information, visit the IBM DeveloperWorks uddi4j Project site .