DISCO/UDDI -Ketan Reddy Peddabachi

Download Report

Transcript DISCO/UDDI -Ketan Reddy Peddabachi

DISCO/UDDI
-Ketan Reddy Peddabachi
Agenda




Web Service
Disco
UDDI
Disco Vs UDDI
Web Services

Web Services are an evolving series of
standards that enable programs on
various computers to communicate with
other programs on similar or disparate
computers transparently over the
Internet
Disco And UDDI


DISCO- A Microsoft Technology
UDDI-Propelled by Microsoft, Ariba and
IBM
Disco



An XML document that contains links to
other resources that describe the Web
Service.
Disco Document-> Lists the capabilities
of the Web Service
WSDL->How to interact with the Web
Service
<?xml version="1.0" encoding="utf-8" ?>
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://schemas.xmlsoap.org/disco/">
<contractRef
ref="http://localhost/ket_webservice/ket_webservice.asmx?
wsdl"
docRef="http://localhost/ket_webservice/ket_webservice.asm
x" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
<soap
address="http://localhost/ket_webservice/ket_webservice.as
mx" xmlns:q1="http://localhost/ket_webservice/"
binding="q1:ServiceSoap"
xmlns="http://schemas.xmlsoap.org/disco/soap/" />
</discovery>
Client Side tools to discover
the Disco document

Command line client utility

Add Reference
DISCO Redirects





<HTML>
<HEAD>
<link type='text/xml' rel='alternate'
href=‘webservice.disco'/>
</HEAD> •••
</HTML>
DISCO and Dynamic Discovery



A .vsdisco should be placed in the root.
<dynamicDiscovery xmlns="urn:schemasdynamicdiscovery:disco.2000-03-17">
</dynamicDiscovery>
Requests for .vsdisco files are handled by
System.Web.Services.Discovery.DiscoveryReq
uestHandler.
UDDI



Defines an API for interacting with a
centralized Web Service information
repository.
UDDI is used to register and look up
services with a central registry
Service Providers can publish
information about their business and the
services that they offer.
UDDI




Analogous to a Telephone Directory:
White Pages- Basic Business info
Yellow Pages- categories based on
standards
Green Pages- Technical specifications
and references
UDDI




In order for someone to use your
service they have to know about it :
To allow users to discover a service it is
published to a registry (UDDI).
To allow users to interact with a service
you must publish a description of it’s
interface (methods & arguments).
This is done using WSDL
UDDI VS DISCO



DISCO makes it possible to discover
Web Services on a given server
It doesn't attempt to sort Web Servicerelated information across multiple
servers
UDDI is a repository where one can
enquire or publish web services
UDDI VS DISCO -cntd

UDDI has the advantage that one can
publish new services even after he has
shipped the product.
References


http://msdn.microsoft.com/msdnmag/is
sues/02/02/xml/
http://www.codeproject.com/dotnet/intr
o2websvc.asp
THANK YOU 