UDDI, DISCO, and web services - Koushik Nimmagadda.

12
UDDI, DISCO, and web services - Koushik Nimmagadda

Transcript of UDDI, DISCO, and web services - Koushik Nimmagadda.

Page 1: UDDI, DISCO, and web services - Koushik Nimmagadda.

UDDI, DISCO, and web services

- Koushik Nimmagadda

Page 2: UDDI, DISCO, and web services - Koushik Nimmagadda.

Web Services According to the W3C a Web service is a

software system designed to support interoperable machine-to-machine interaction over a network.

Provides a standard, universal medium for independent applications to communicate over http

Use of WSDL Accepted architecture for Distributed

applications and for SOA(Serivce Oriented Architectures).

Page 3: UDDI, DISCO, and web services - Koushik Nimmagadda.

Contd..

Issues and Concerns How are Web Services created Who knows about their existence ‘QoS’ Other issues

Page 4: UDDI, DISCO, and web services - Koushik Nimmagadda.

Web Service and related technologies

Creation WSDL

Deployment (Publishing) UDDI registry

Discovery DISCO and UDDI

Consumption Proxy classes

Page 5: UDDI, DISCO, and web services - Koushik Nimmagadda.

Contd..

Page 6: UDDI, DISCO, and web services - Koushik Nimmagadda.

UDDI

Universal Description Discovery and Integration

UDDI is a public registry designed to house information about businesses and their services in a structured way.

More than Yellow Pages.

Page 7: UDDI, DISCO, and web services - Koushik Nimmagadda.

Registering in UDDI Modeling UDDI Entry

Determine the tModels (WSDL files) . Determine the name of company and a brief

description of the company Determine the categories

North American Industry Classification System (NAICS),

Universal Standard Products and Services Codes (UNSPSC)

ISO 3166 Determine Web Services and Categories.

Page 8: UDDI, DISCO, and web services - Koushik Nimmagadda.

Discovery UDDI inquiry operations. Inquiry based on

businesses, services and tModels sample Inquiry based on business

<?xml version='1.0' encoding='utf-8'?> <s:Envelope

xmlns:s='http://schemas.xmlsoap.org/soap/envelope> <s:Body> <find_business generic="1.0" xmlns="urn:uddi-

org:api"> <name>Microsoft</name> </find_business> </s:Body>

</s:Envelope>

Page 9: UDDI, DISCO, and web services - Koushik Nimmagadda.

DISCO DISCO, introduced in .NET, makes it possible for

clients to reflect against endpoints to discover services and their associated WSDL documents.

<disco:discovery xmlns:disco="http://schemas.xmlsoap.org/disco/" xmlns:scl="http://schemas.xmlsoap.org/disco/scl/"> <!-- reference to other DISCO document --> <disco:discoveryRef ref="related-services/default.disco"/> <!-- reference to WSDL and documentation --> <scl:contractRef ref="math.asmx?wsdl" docRef="math.asmx"/> </disco:discovery>

Page 10: UDDI, DISCO, and web services - Koushik Nimmagadda.

Contd.. \inetpub

\wwwroot \math (vroot) math.asmx web.config

math.disco \bin

simpleMath.dll complexMath.dll c:\temp> disco.exe http://localhost/math/math.disco c:> wsdl resutls.discomap

Page 11: UDDI, DISCO, and web services - Koushik Nimmagadda.

References

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/anch_uddi.asp

http://msdn.micrsoft.com http://msdn2.microsoft.com/en-us/

library/sd5s0c6d.aspx

Page 12: UDDI, DISCO, and web services - Koushik Nimmagadda.

Questions.