Presentation is loading. Please wait.

Presentation is loading. Please wait.

T-110.5140 NAF & XML UDDI Sasu Tarkoma and Pekka Nikander Helsinki Institute for Information Technology.

Similar presentations


Presentation on theme: "T-110.5140 NAF & XML UDDI Sasu Tarkoma and Pekka Nikander Helsinki Institute for Information Technology."— Presentation transcript:

1 T-110.5140 NAF & XML UDDI Sasu Tarkoma and Pekka Nikander Helsinki Institute for Information Technology

2 UDDI n Universal Description Discovery and Integration n A “meta service” for locating web services by enabling robust queries against rich metadata n Distributed registry of businesses and their service descriptions implemented in a common XML format

3 Web Service Challenges n Who provides web services? n How are they implemented? n Where are they provided? n What is their behavior? n Is an application compatible? n Searching and indexing do not work today u how to find the right services at the right time? u we need solutions designed for tools and apps

4 What is UDDI? n Universal Description Discovery and Integration n Industry-wide initiative supporting web services n Specifications u Schemas for service description u Schemas for business (service implementers) description u Developed on industry standards F Applies equally to XML and non-XML web services n Implementation u Public web service registry and development resources u SOAP-based programming protocol for registering and discovering Web services F XML schema for SOAP messages F a description of the API n UDDI does not directly specify how pricing, deadlines, etc. are handled/matched u Advanced discovery via portals and marketplaces

5 Again: What is UDDI? n A project to speed interoperability and adoption for web services u Standards-based specifications for service description and discovery u Shared operation of a business registry on the web n Partnership among industry and business leaders n With UDDI a programmer or a program can locate u Information about services exposed by a partner u find compatible in-house services u Find links to specifications of a Web service u Maintain technical compatibility by automatically configuring certain technical connections n Businesses can locate potential partners

6 The four core types of data structures that are specified by the UDDI API Schema and their relationships are shown here

7 UDDI v1 Implementation UDDI Business Registry Programmatic descriptions of web services Programmatic descriptions of businesses and the services they support Programming model, schema, and platform agnostic Uses XML, HTTP, and SOAP Free on the Internet Manufacturers Flower Shops Marketplaces Source: www.uddi.org, UDDI Overview presentation 9/6/2000

8 Standards Bodies, Agencies, Programmers, Publishers register specifications for their Service Types Service providers register precise information about themselves and their Web services UDDI Registry Entries

9 White pages n Business name n General business description u Any number of languages n Contact info u Names, phone numbers, fax numbers, web sites, etc. n Known identifiers u List of unique identifiers for a business

10 Yellow pages n Business categories u Based on standard taxonomies u 3 base taxonomies in V1 n Taxonomies u Industry: NAICS (Industry codes - US Govt.) u Product/Services: UNSPSC (ECCMA) u Location: Geographical taxonomy (ISO 3166) u …easy extension in upcoming releases n Realized using name-value pairs, any valid taxonomy identifier can be attached to the business white page

11 Green pages n New set of information businesses use to describe how to “do e-commerce” with them u References to specifications for Web Services n Business process (functional) n Service specifications (technical) u Programming/platform/implementation agnostic n Binding information (implementation)

12 IBM Ariba Microsoft other Now look at that again:Registry Operation n Peer nodes (websites) n Companies register with any node n Registrations replicated on a daily basis n Complete set of “registered” records available at all nodes n Common set of SOAP APIs supported by all nodes n Compliance enforced by business contract UDDI.org queries Source: www.uddi.org, UDDI Overview presentation 9/6/2000

13 The programmer’s API Implementation n UDDI is up and running at Microsoft, IBM, and Ariba. n An online Web Service that you can use from your applications to dynamically discover other online services, all neatly packaged in a simple XML interface: u http://uddi.microsoft.com/inquire u http://uddi.ariba.com/UDDIProcessor.aw/ad/process u http://www-3.ibm.com/services/uddi/inquiryapi n These are the UDDI entry points for “INQUIRIES”. The entry points for updates are different and are typically HTTPS addresses for security reasons.

14 UDDI Invocation Model 1. The programmer uses the UDDI business registry to locate the businessEntity information for the desired advertised Web Service 2. The programmer selects a particular bindingTemplate and saves it 3. The program is prepared on this knowledge, obtained from tModel key information in the bindingTemplate 4. At runtime, the program invokes the Web service as planned using the cached bindingTemplate information

15 Registry APIs n Inquiry API u find_business, find_service, find_binding, find_tModel u get_businessDetail, get_serviceDetail, get_bindingDetail, get_tModelDetail n Publisher’s API u save_business, save_service, save_binding, save_tModel u delete_business, delete_service, delete_binding, delete_tModel n Security u get_authToken, discard_authToken

16 What XML Do You POST? <Envelope xmlns='http://schemas.xmlsoap.org/soap/envelope/'> <find_business generic="1.0" xmlns="urn:uddi-org:api"> Microsoft

17 How Do You Post the XML? http = new ActiveXObject("Microsoft.XMLHTTP"); http.open("POST", url, false); http.setRequestHeader("Accept","text/xml"); http.setRequestHeader("Cache-Control","no- cache"); http.setRequestHeader("SOAPAction",'""'); http.send(msg);

18 What Do You Get Back? <businessList generic="1.0" operator="Microsoft Corporation" truncated="false" xmlns="urn:uddi-org:api"> <businessInfo businessKey="0076B468-EB27-42E5-AC09-9955CFF462A3"> Microsoft Corporation <serviceInfo businessKey="0076B468-…-9955CFF462A3" serviceKey="8BF2F51F-…-38D8205D1333"> EBI Services <serviceInfo businessKey="0076B468-…-9955CFF462A3" serviceKey="D2BC296A-…-494F9E53F1D1"> UDDI Web Services

19 More Information n UDDI Resources u http://www.uddi.org u http://uddi.microsoft.com u http://www-3.ibm.com/services/uddi n For Developers u SOAP/Web Services SDK u Visual Basic UDDI SDK u IBM AlphaWorks Web Services Toolkit


Download ppt "T-110.5140 NAF & XML UDDI Sasu Tarkoma and Pekka Nikander Helsinki Institute for Information Technology."

Similar presentations


Ads by Google