Professional Documents
Culture Documents
Basically there are two mechanisms that you can use to interact with a
UDDI Registry. The first one is to use an HTTP browser-based interface.
You can check out these UDDI registries on the Internet:
• http://www-3.ibm.com/services/uddi/v2beta/protect/registry.html
- IBM Public UDDI Registry
The most recent information about UDDI is available at the UDDI.org site
[01].
Quick Introduction to the A UDDI Registry contains information about businesses and the services
UDDI Data Model they offer. The information is organized as follows:
When looking for a Web service, a developer queries the UDDI registry,
searching for a service offered by a business. From the Binding Template
entry for the specific service, the developer can obtain the service access
point and a pointer to the tModel that describes the service type. From the
tModel, the developer can obtain the WSDL description describing the
service interface. Using the access point and the WSDL description, the
developer can construct a SOAP client interface that can communicate with
the Web Service.
Using the UDDI API The UDDI API consists of two interfaces: a publishing API and an inquiry
API. We will first use the publishing API to register the FreeDB Web service
in Systinet's Live UDDI Registry: http://www.systinet.com/uddi/web . The
FreeDB Web service lets you search the Free DB music database for CD
and song titles. Please see the Systinet Developers' Corner demo [04] for
more details about the FreeDB Web service. Next we'll use the inquiry API
to find our service.
You'll also need to download the tutorial sources. All Java sources
mentioned in the tutorial examples can be found in the src subdirectory of
the unpacked tutorial sources archive. The link to tar sources for Linux is
available in the appendix. They all reside in the com.systinet.demos
package. Similarly all scripts used in the examples are located in the bin
subdirectory.
We will now publish our music search Web service in the UDDI registry
using a simple registration tool. Run the run.bat make_register and run.bat
run_register commands in the bin subdir of the tutorials directory. Provide
your UDDI user name and password and the demo business name from the
previous steps. Push the Publish button to publish the music search service
under your new business entity. You might want to verify that your
business entity was successfully published using the Systinet Live UDDI
Registry Browser again. See http://www.systinet.com/uddi/web
Review
In this part of the Web services tutorial we learned how to publish and
discover Web services using a UDDI registry. We first introduced the basic
UDDI data model, including Business Entity, Business Service, Binding
Template, and tModel, and explained how they work together. Then we
showed an example of programmatically interacting with UDDI using the
publishing and inquiry APIs.
If you want to follow along with the demo, you'll need to download WASP
Server for Java, 4.5
(http://www.systinet.com/products/wasp_jserver/download/list) from the
Systinet Web site. Unpack the downloaded package to a local disk and run
the install script from the bin subdirectory of the WASP Server installation.
You'll need to agree to the product license and then please answer with
default options to all installation questions (simply press Enter multiple
times).
You'll also need to download the tutorial sources (see below) for your
system and unpack them to the local disk.
Resources
[01] http://www.uddi.org - The official UDDI site.
[02]
http://www.systinet.com/doc/wasp_uddi/uddi/index.html#webinterfaceste
pbystepguide.html - Tutorial for using the WASP UDDI Web GUI.
[03]
http://www.systinet.com/get&dl=Li4vdXBsb2FkZWRfZGF0YS93cF9XU0RMX
3RvX1VEREkucGRm - a best practices whitepaper on working with WSDL
and UDDI
[07]
http://www.systinet.com/doc/wasp_jserver/waspj/index.html#utilitywebse
rvicespanel.html - WASP Utility Web Services Documentation.
[13] https://www-3.ibm.com/services/uddi/v2beta/protect/registry.html
[14] http://udditest.sap.com/
[15] http://www.ntt.com/uddi/
[16] http://www.systinet.com/uddi/web
Copyright and Disclaimer This document and the information contained herein are the property of
Systinet Corporation and shall not be reproduced or copied in whole or in
part without written permission of Systinet Corp.
Microsoft, Windows and Windows NT and the Windows logo are trademarks
or registered trademarks of Microsoft Corporation in the United States and
other countries.
UNIX is a registered trademark of The Open Group in the United States and
other countries.
Systinet Corp.
Five Cambridge Center, 8th Floor
Cambridge, MA 02142
Phone: 1.617.868.2224
http://www.systinet.com