the 100% inspiration tour
Post on 03-Jan-2016
27 Views
Preview:
DESCRIPTION
TRANSCRIPT
The 100% The 100% Inspiration Inspiration
TourTour
Web Services – An Industry Web Services – An Industry Approach to the evolution of Approach to the evolution of Distributed ArchitectureDistributed Architecture
Mark JohnstonAcademic Team, Microsoft UKi-markj@microsoft.comhttp://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
The Evolution of Distributed Computing
MS-BASIC MS-BASIC Turbo Pascal Turbo Pascal QuickBasicQuickBasic
The The PCPCBig Iron Big Iron
Cobol Cobol
RPGRPG
Visual Basic Visual Basic PowerBuildePowerBuilde
r r DelphiDelphi
GUIGUI
Web Web ServicesServices
The The WebWeb
HTMLHTMLScriptScript
What is a Web Service?
““A programmable A programmable application application component component
accessible via accessible via standard Web standard Web
protocols”protocols”??
Web Services Benefits
Allows for sharing of functionality across:Devices
Networks
Operating Systems
Programming languages
Built using open Internet standardsXML, SOAP, UDDI, WSDL
The Potential of Web Services
“ “ Web Services will revolutionise how we Web Services will revolutionise how we work - how we interact with each other, work - how we interact with each other, with companies, with websites and with companies, with websites and beyond. beyond.
A world of seamlessly connected A world of seamlessly connected applications awaits.”applications awaits.”
Silicon.comSilicon.com
““With Web services, it’s easy for us to build a With Web services, it’s easy for us to build a tool that takes route information and displays tool that takes route information and displays it on the Web in a number of different formats, it on the Web in a number of different formats, including a schematic layout that tells you not including a schematic layout that tells you not only where the bus is, but also where it has only where the bus is, but also where it has been.”been.”
Massachusetts Institute of TechnologyMassachusetts Institute of TechnologyApplied Implications of Web ServicesApplied Implications of Web Services
““We’ve proven that the promise of XML Web We’ve proven that the promise of XML Web services is real. You can develop a service that services is real. You can develop a service that can be exposed across multiple media formats, can be exposed across multiple media formats, and not have to write an application for each and not have to write an application for each platform to render it for each medium. platform to render it for each medium.
This has incredible implications…”This has incredible implications…”
GlaxoSmithKlineGlaxoSmithKline
Online Ordering of Concert Online Ordering of Concert TicketsTickets
videovideo
Internet
AlertsAlertsEMIEMIBankBankHomeworkHomeworkRemindersRemindersNews News providersproviders……
Service ProviderNetwork
What Just Happened?
Applications of Web Services
eCommerceOnline ordering, B2B
Building-block services for developersSign-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
Creating Web Services in Visual Creating Web Services in Visual Studio .NETStudio .NET
The Web Services Stack
UDDIUDDIUDDIUDDI
WSDLWSDLWSDLWSDL
SOAPSOAPSOAPSOAP
XMLXMLXMLXML
TransportTransportTransportTransport e.g. HTTP, FTP or SMTPe.g. HTTP, FTP or SMTP
XML
XML is the core of Web ServicesProvides platform independent data interchange
The format of all administrative data used by web services
Verbose and Human readable
Highly extensible
UDDIUDDIUDDIUDDI
WSDLWSDLWSDLWSDL
SOAPSOAPSOAPSOAP
XMLXMLXMLXML
XML Code snippetUDDIUDDIUDDIUDDI
WSDLWSDLWSDLWSDL
SOAPSOAPSOAPSOAP
XMLXMLXMLXML
<?xml version=“1.0”encoding=“utf-8”?><concerts>
<concert><name>The Darkness</name><venue seating=“3000”>Reading </venue>
</concert></concerts>
SOAP
Simple Object Access ProtocolThe primary communications interface between Web services
Language and OS independent
Protocol independentNot reliant on HTTP for transfer
Can be encrypted by nature of the transport method used
UDDIUDDIUDDIUDDI
WSDLWSDLWSDLWSDL
SOAPSOAPSOAPSOAP
XMLXMLXMLXML
SOAP Code snippetUDDIUDDIUDDIUDDI
WSDLWSDLWSDLWSDL
SOAPSOAPSOAPSOAP
XMLXMLXMLXML
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi=““ xmlns:xsd=“” xmlns:soap=“”>
<soap:Body><GetConcerts xmlns=“” /> </soap:Body>
</soap:Envelope>
WSDL
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
UDDIUDDIUDDIUDDI
WSDLWSDLWSDLWSDL
SOAPSOAPSOAPSOAP
XMLXMLXMLXML
WSDL Proxy Class GenerationWSDL Proxy Class Generation
UDDI
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
UDDIUDDIUDDIUDDI
WSDLWSDLWSDLWSDL
SOAPSOAPSOAPSOAP
XMLXMLXMLXML
Web application using Web Web application using Web Services logicServices logic
The Global Web Services
Architecture (GXA)
SOAPSOAP
HTTP/SMTPHTTP/SMTPXMLXMLTCP/IPTCP/IP
DirectoryDirectory
InspectionInspection
The InternetThe Internet
DescriptionDescription
Building Block ModulesBuilding Block Modules
Inter Application ProtocolsInter Application Protocols
ReferralReferral
RoutingRouting
SecuritySecurity
LicenseLicense
EventingEventing ……
Reliable MessagingReliable Messaging
……
……
Applications of GXA
Suitable for secure of high-performance architecturesUsed for Grid Computing
Super ComputingOutsourcingInternet-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 integrationFundamental shift: distributed computing for the InternetVisual Studio .NET makes creating powerful Web service-driven applications simple
Further Resources
Web Serviceswww.microsoft.com/webservices
www.uddi.org
Developer Communitywww.gotdotnet.com
msdn.microsoft.com
Inspiration Tour Sitewww.microsoft.com/uk/inspiration
top related