270 likes | 377 Views
The 100% Inspiration Tour. Web Services – An Industry Approach to the evolution of Distributed Architecture. Mark Johnston Academic Team, Microsoft UK i-markj@microsoft.com http://blogs.gotdotnet.com/i-markj. Topics help. Introduction Web Services Video What's it all about
E N D
Web Services – An Industry Approach to the evolution of Distributed Architecture Mark JohnstonAcademic Team, Microsoft UK i-markj@microsoft.com http://blogs.gotdotnet.com/i-markj
Topicshelp • Introduction • Web Services Video • What's it all about • Visual Studio Web Services Demo • Web Services Stack • Visual Studio Web App Demo • The Future • Quiz
GUI The Evolution of Distributed Computing Web Services HTMLScript Visual Basic PowerBuilder Delphi MS-BASIC Turbo Pascal QuickBasic The Web Cobol RPG The PC Big Iron
“A programmable application component accessible via standard Web protocols” What is a Web Service? ?
Web Services Benefits • Allows for sharing of functionality across: • Devices • Networks • Operating Systems • Programming languages • Built using open Internet standards • XML, SOAP, UDDI, WSDL
“ Web Services will revolutionise how we work - how we interact with each other, with companies, with websites and beyond. A world of seamlessly connected applications awaits.” Silicon.com “With Web services, it’s easy for us to build a tool that takes route information and displays it on the Web in a number of different formats, including a schematic layout that tells you not only where the bus is, but also where it has been.” Massachusetts Institute of Technology Applied Implications of Web Services “We’ve proven that the promise of XML Web services is real. You can develop a service that can be exposed across multiple media formats, and not have to write an application for each platform to render it for each medium. This has incredible implications…” GlaxoSmithKline The Potential of Web Services
video Online Ordering of Concert Tickets
Service Provider Network Internet What Just Happened? • Alerts • EMI • Bank • Homework • Reminders • News providers • …
Applications of Web Services • eCommerce • Online ordering, B2B • Building-block services for developers • Sign-in, eWallets, etc. • Value-added features for client applications • E.g. banking Web services for MS Money
Web Services in .NET • .NET Framework designed with distributed computing in mind • Web services support loosely-coupled distributed computing • Creating Web services in .NET is easy! • Based on open standards • Cross-platform • Simple to create, design and test • Human readable messages
The Web Services Stack UDDI WSDL SOAP XML Transport e.g. HTTP, FTP or SMTP
UDDI XML WSDL SOAP XML • XML is the core of Web Services • Provides platform independent data interchange • The format of all administrative data used by web services • Verbose and Human readable • Highly extensible
UDDI XML Code snippet WSDL SOAP XML <?xml version=“1.0”encoding=“utf-8”?> <concerts> <concert> <name>The Darkness</name> <venue seating=“3000”>Reading </venue> </concert> </concerts>
UDDI SOAP WSDL SOAP XML • Simple Object Access Protocol • The primary communications interface between Web services • Language and OS independent • Protocol independent • Not reliant on HTTP for transfer • Can be encrypted by nature of the transport method used
UDDI SOAP Code snippet WSDL SOAP XML <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi=““ xmlns:xsd=“” xmlns:soap=“”> <soap:Body> <GetConcerts xmlns=“” /> </soap:Body> </soap:Envelope>
UDDI WSDL WSDL SOAP XML • Web Services Description Language • Describes what services a web service can be provide • Analogous to ‘reflection’ • Gives a detailed “contract” for each service provided • Contract specifies what interfaces are exposed
UDDI UDDI WSDL SOAP XML • Universal Description Discovery and Integration • An industry-wide project to standardize the discovery of web services • A data model and API specification • Details on providers and their services • Both XML and non-XML services • Publish, Find & Bind Operations • An example UDDI registry can be found at www.xmethods.com
Inter Application Protocols Reliable Messaging Eventing … Building Block Modules Referral Security … … Routing License The Global Web Services Architecture (GXA) Directory Inspection Description SOAP The Internet TCP/IP XML HTTP/SMTP
Applications of GXA • Suitable for secure of high-performance architectures • Used for Grid Computing • Super Computing • Outsourcing • Internet-scale DataGrid • GXA is aligning with OGSA (Open Grid Services Architecture) • Co-evolution of MS GXA and GGF OGSA
Summary • Industry is widely adopting and supporting Web services • Not just a Microsoft initiative • XML Web services provide open, Internet-native integration • Fundamental shift: distributed computing for the Internet • Visual Studio .NET makes creating powerful Web service-driven applications simple
Further Resources • Web Services • www.microsoft.com/webservices • www.uddi.org • Developer Community • www.gotdotnet.com • msdn.microsoft.com • Inspiration Tour Site • www.microsoft.com/uk/inspiration