DISCOUDDI Ketan Reddy Peddabachi Agenda n n Web
DISCO/UDDI -Ketan Reddy Peddabachi
Agenda n n Web Service Disco UDDI Disco Vs UDDI
Web Services n 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 n n DISCO- A Microsoft Technology UDDI-Propelled by Microsoft, Ariba and IBM
Disco n n n 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. w 3. org/2001/XMLSchemainstance" xmlns: xsd="http: //www. w 3. org/2001/XMLSchema" xmlns="http: //schemas. xmlsoap. org/disco/"> <contract. Ref ref="http: //localhost/ket_webservice. asmx? wsdl" doc. Ref="http: //localhost/ket_webservice. asm x" xmlns="http: //schemas. xmlsoap. org/disco/scl/" /> <soap address="http: //localhost/ket_webservice. as mx" xmlns: q 1="http: //localhost/ket_webservice/" binding="q 1: Service. Soap" xmlns="http: //schemas. xmlsoap. org/disco/soap/" /> </discovery>
Client Side tools to discover the Disco document n Command line client utility n Add Reference
DISCO Redirects n n n <HTML> <HEAD> <link type='text/xml' rel='alternate' href=‘webservice. disco'/> </HEAD> • • • </HTML>
DISCO and Dynamic Discovery n n n A. vsdisco should be placed in the root. <dynamic. Discovery xmlns="urn: schemasdynamicdiscovery: disco. 2000 -03 -17"> </dynamic. Discovery> Requests for. vsdisco files are handled by System. Web. Services. Discovery. Req uest. Handler.
UDDI n n n 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 n n Analogous to a Telephone Directory: White Pages- Basic Business info Yellow Pages- categories based on standards Green Pages- Technical specifications and references
UDDI n n 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 n n n 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 n UDDI has the advantage that one can publish new services even after he has shipped the product.
References n n http: //msdn. microsoft. com/msdnmag/is sues/02/02/xml/ http: //www. codeproject. com/dotnet/intr o 2 websvc. asp
THANK YOU
- Slides: 17