The 100% Inspiration

insidiousbehaviorΑσφάλεια

3 Νοε 2013 (πριν από 3 χρόνια και 5 μήνες)

52 εμφανίσεις

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

Visual Studio Web Services Demo

Web Services Stack

Visual Studio Web App Demo

The Future

Quiz



The Evolution of
Distributed Computing

MS
-
BASIC

Turbo Pascal

QuickBasic


The PC

Big Iron

Cobol

RPG

Visual Basic

PowerBuilder

Delphi

GUI

Web Services

The Web

HTML

Script

What is a Web Service?

“A programmable
application
component
accessible via
standard Web
protocols”

?

Web Services Benefits

Allows for sharing of functionality across:

Devices

Networks

Operating Systems

Programming languages

Built using open Internet standards

XML, SOAP, UDDI, WSDL


The Potential of Web Services

“ 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


Online Ordering of Concert
Tickets

video


Internet

Alerts

EMI

Bank

Homework

Reminders

News
providers



Service Provider

Network

What Just Happened?

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


Creating Web Services in Visual
Studio .NET

The Web Services Stack

UDDI

WSDL

SOAP

XML

Transport

e.g. HTTP, FTP or SMTP

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

WSDL

SOAP

XML

XML Code snippet

UDDI

WSDL

SOAP

XML

<?xml version=“1.0”encoding=“utf
-
8”?>

<concerts>


<concert>



<name>The Darkness</name>



<venue seating=“3000”>Reading



</venue>


</concert>

</concerts>

SOAP



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

WSDL

SOAP

XML

SOAP Code snippet

UDDI

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>

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



UDDI

WSDL

SOAP

XML

WSDL 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

UDDI

WSDL

SOAP

XML

Web application using Web
Services logic

The Global Web Services
Architecture (GXA)


SOAP

HTTP/SMTP

XML

TCP/IP

Directory

Inspection

The Internet

Description


Building Block Modules

Inter Application Protocols

Referral

Routing

Security

License

Eventing



Reliable Messaging





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