120 likes | 303 Views
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 .
E N D
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).
Contd.. • Issues and Concerns • How are Web Services created • Who knows about their existence • ‘QoS’ • Other issues
Web Service and related technologies • Creation • WSDL • Deployment (Publishing) • UDDI registry • Discovery • DISCO and UDDI • Consumption • Proxy classes
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.
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.
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>
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>
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
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