The Cover PagesThe OASIS Cover Pages: The Online Resource for Markup Language Technologies
SEARCH | ABOUT | INDEX | NEWS | CORE STANDARDS | TECHNOLOGY REPORTS | EVENTS | LIBRARY
SEARCH
Advanced Search
ABOUT
Site Map
CP RSS Channel
Contact Us
Sponsoring CP
About Our Sponsors

NEWS
Cover Stories
Articles & Papers
Press Releases

CORE STANDARDS
XML
SGML
Schemas
XSL/XSLT/XPath
XLink
XML Query
CSS
SVG

TECHNOLOGY REPORTS
XML Applications
General Apps
Government Apps
Academic Apps

EVENTS
LIBRARY
Introductions
FAQs
Bibliography
Technology and Society
Semantics
Tech Topics
Software
Related Standards
Historic
Created: July 17, 2002.
News: Cover StoriesPrevious News ItemNext News Item

IBM alphaWorks Releases UDDI for Python Package (UDDI4Py).

The IBM alphaWorks development team has released a UDDI4Py Python package that "allows the sending of requests to and processing of responses from the UDDI Version 2 APIs. UDDI4Py supports access to the UDDI Registry by abstracting the underlying XML constructs and by the transmission/processing of the various SOAP API messages. It is meant to complement the UDDI tool kit available to the Java development community, and gives customers the alternative of using a different Web services development platform. UDDI4Py is not for the development of Web Services, but rather for discovering and/or publishing the technical interfaces that describe specific Web services using the UDDI Registry. UDDI4Py supplies glue that allows Python applications to dynamically discover and/or publish Web services to and from the public registry. The rapid application development that the Python language provides is leveraged by any system working within the Web services arena and utilizing the UDDI4Py package."

From the UDDI4Py FAQ document:

UDDI4Py is not for the development of Web Services, but rather for discovering and/or publishing the technical interfaces that describe specific Web services using the UDDI Registry. These technical interfaces can be as simple as an HTTP URL or as complex as a WSDL document. The Web Services Description Language (WSDL) is emerging as the standard for defining the technical interfaces used for communicating with their associated Web services. Please consult the recommended Web Services Description Language for Python (WSDL4Py) package for information on defining WSDL interfaces to Web services.

Python is a scripting language that fits very easily into the new Web services development environment. The standard Python system comes with a variety of modules well-suited for Internet development. Programmers can easily create robust Internet software using tools for HTTP, FTP, SMTP transport, XML processing, socket and URL connections, and much more. The interpreter is also available for a wide variety of platforms ranging from the PalmOS to Linux on the mainframe, and programs are highly portable. Python is object-oriented; this gives it a significant advantage when compared to other scripting languages (PERL, Rexx, etc.). It is very helpful to model XML data as objects, and this is easily implemented using Python's object-oriented constructs. The Python Web site (www.python.org) is a good place to get all of the information necessary to get started using this powerful language.

The Universal Description, Discovery, and Integration (UDDI) Registry serves as a central location for publishing or acquiring information about various businesses, the services that they provide, and any technical interfaces they may use. Access to the registry can be gained through an Internet graphical interface or programmatically through SOAP messaging.

Python is a scripting language that fits very easily into the new Web services development environment. The standard Python system comes with a variety of modules well suited towards Internet development. Programmers can easily create robust Internet software using tools for HTTP, FTP, SMTP transport, XML processing, socket and URL connections, and much more. The interpreter is also available for a wide variety of platforms from the PalmOS to Linux on the mainframe, and programs are highly portable. Python is object-oriented, which gives it a significant advantage when compared to other scripting languages (PERL, Rexx, etc...). It is very helpful to model XML data as objects, and this is easily implemented using Python's object-oriented constructs. The Python web site (www.python.org) is a good starting place to get all of the information needed to get started using this powerful language. There are also many other articles pertaining to Python development hosted on the IBM developerWork's Web Services Zone.

From the white paper "Using the UDDI Public Registry with Python": "The Universal Description, Discovery and Integration (UDDI) Registry serves as a central location for publishing/acquiring information about various businesses, the services that they provide, and any technical interfaces they may use. Users can access the registry via an Internet graphical interface or programmatically through SOAP messaging. In this article Julio Ruano introduces UDDI4Py, a Python package that facilitates the transport and processing of the various SOAP messages that the UDDI 2.0 API supports."

Requirements for UDDI4Py:

  • Python: version 2.2.1 or more recent. UDDI4Py makes use of SSL connections, and this is available in Python v 2.0 and later. Unfortunately the Python binary is not enabled with SSL. I have compiled the Python source in order to provide the supporting libraries for making use of the OS specific secure socket() calls for Win32 systems. They are contained in the UDDI4Py package hosted by alphaWorks.
  • SOAP.py: version 0.9.7 or more recent. The UDDI API uses SOAP messaging to handle requests. This module simplifies the use of SOAP functionality and also provides a mechanism to allow WSDL documents to bind to SOAP-based service API's. This module is available for download at the sourceforge website.
  • Web Services Description Language for Python (WSDL4Py) is recommended.

Examples: The examples provided in the package correspond to inquiry and publish APIs. Examples are provided in the whitepaper; these have been commented out to serve as templates for development. You need to open a user account for an operator in order to get the proper authentication information needed in using these templates. Please visit https://www-3.ibm.com/services/uddi/v2beta/protect/registry.html in order to open a user account with the IBM UDDI Business Registry. The examples should provide a good foundation for writing Python applications to interact with the UDDI Registry, and also to integrate Web Services with Python."

Principal references:


Hosted By
OASIS - Organization for the Advancement of Structured Information Standards

Sponsored By

IBM Corporation
ISIS Papyrus
Microsoft Corporation
Oracle Corporation

Primeton

XML Daily Newslink
Receive daily news updates from Managing Editor, Robin Cover.

 Newsletter Subscription
 Newsletter Archives
Bottom Globe Image

Document URI: http://xml.coverpages.org/ni2002-07-17-a.html  —  Legal stuff
Robin Cover, Editor: robin@oasis-open.org