ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzamy_5.4.0.1/50/webserv/wsuddiov.htm

58 lines
2.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>UDDI4J</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h4><A NAME="wsuddiov">UDDI4J</A></h4>
<p>UDDI4J is a Java<sup>(TM)</sup> 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.</p>
<p>This class is a proxy for the UDDI server that is accessed from the client code. Its methods map to the <a href="http://www.uddi.org/specification.html" target="_">UDDI Specification</a> <img src="www.gif" width="18" height="15" alt="Go to Internet">.</p>
<p><strong>Note:</strong> this document is in PDF format. You must have the Adobe Acrobat Reader installed as a plugin to your browser to view this document.</p>
<p>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.</p>
<ul>
<li><strong>com.ibm.uddi.request</strong><br>
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.</li>
<li><strong>com.ibm.uddi.response</strong><br>
The subpackage com.ibm.uddi.response represents response messages from a UDDI server.</li>
</ul>
<!--<p>For an illustration of how to use UDDI, see <a href="wsuddisp.htm">UDDI4J samples</a>.</p>-->
<p><strong>UDDI4J error handling</strong></p>
<p>The com.ibm.uddi.client.UDDIProxy package contains the following Java exceptions:</p>
<ul>
<li><strong>UDDIException</strong><br>
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.</li>
<li><strong>SOAPException</strong><br>
SOAPException is thrown if a communication error occurs or if the resulting data cannot be parsed as a valid SOAP message.</li>
</ul>
<p>For more information, visit the <a href="http://oss.software.ibm.com/developerworks/projects/uddi4j" target="_">IBM DeveloperWorks uddi4j Project site</a> <img src="www.gif" width="18" height="15" alt="Go to Internet">.</p>
</body>
</html>