29
Web Services interoperability and standards

Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Embed Size (px)

Citation preview

Page 1: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Web Services interoperability and standards

Page 2: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Infrastructure Challenge

● Applied bioinformatics need various computer resources

● The amount and size of databases and tools are growing rapidly

● Systems Biology is predicted to become more important

Page 3: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

How Web Services Can Help

● Replace local resources with remote resources

● Web Services can provide a standardized access method.

● Web Services is being adopted in bioinformatics

Page 4: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Definition Of Web Services

A Web service is a software system designed to support interoperable machine-to-machine interaction over a network.

It has an interface described in a machine-processable format (specifically WSDL).

Other systems interact with the Web service in a manner prescribed by its description using SOAP messages, typically conveyed using HTTP with an XML serialization in conjunction with other Web-related standards.

W3C Web Services Architecture Working Group

Page 5: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Source: Gartner (August 2005)

Page 6: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Value Of Web Services

Based on standards

– Lots of tools available

– Massive development of new tools and supporting technologies.

– Easy to find information and support

Page 7: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Value Of Web Services

Provides interoperability

● Text over the Internet => Nothing new

● Remote access => Nothing new

● Interoperability =>New!

Widely accepted standards = Interoperability

Page 8: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Web Service Standards

Page 9: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

● SOAP Version 1.2– W3C Recommendation since 24 June 2003

– Stable

● Web Services Description Language (WSDL) 1.1– Not a W3C Recommendation

– Version 2.0 is a “Candidate Recommendation” at W3C

Page 10: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

SOAPThe Protocol formerly known as

“Simple Object Access Protocol”

–The SOAP Envelope for messages

–Processing model for how to deal with the messages

–Protocol binding framework

Page 11: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

SOAP Message

<Envelope>

<Header> ... </Header>

<Body> ...

</Body>

</Envelope>

Page 12: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

SOAP Engines

● Translates from software constructs to SOAP messages (XML). This is known as Serialization.

● Interprets SOAP messages and performs translation into software constructs (de-serialization)

Page 13: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Consumer

Serialize into a SOAP

messageProvider

Serialize into a SOAP

message

De-serialize into native data types

De-serialize into native data types

Serialize into a SOAP

messageMessage

Message

Backend SOAP Engine

Transport SOAP Engine

Backend

Page 14: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Web Service Description Language

Provides an abstract definition of a Web Service and a binding which ties it to a concrete endpoint.

Is completely independent of the Web Service it

describes.

Page 15: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Architecture Of a Web Service

WSDL File

Backend

Client

Server Stub

SOAPEngine

Page 16: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Web Services Interoperability

Page 17: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

WS-I

● An open industry effort chartered to promote Web Services interoperability across platforms, applications and programming languages

● Has defined Basic Profile 1.0 which resolves many interoperability issues.

Page 18: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Document/Literal wrapped pattern

● WSDL allows a high degree of freedom in the interface design.

● Different SOAP engines might interpret the WSDL in different ways.

● The most interoperable way of designing a WSDL file is the Document/Literal wrapped pattern. Understood by all major SOAP engines.

Page 19: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Web Service Resource Framework

Page 20: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Challenge

● Some jobs take a long time to complete

– CPU intensive tasks

– Jobs in queue

● Vanilla Web Services use HTTP calls and expect fast results.

● Possible to extend timeout, but there is still a problem of keeping an open socket for a long time.

Page 21: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Asynchronous calls

● Client send request

● Server replies with a reference to the running job

● Client polls for status

● Client retrieves results when the status is completed

Page 22: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Client

FactoryService

Resource

InstanceService

Resource

Resource

Submit

Web Service Resource Framework

Page 23: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Client

FactoryService

Resource

InstanceService

Resource

Resource

Submit

CreateResource

Page 24: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Client

FactoryService

Resource

InstanceService

Resource

Resource

EPR

Page 25: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Client

FactoryService

Resource

InstanceService

Resource

ResourceEPR

Get status/results

Page 26: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Composition of Web Services

Page 27: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Composition Types

● Orchestration– Centralized coordinator

– Individual services are not aware of other services

● Choreography– No centralized coordinator

– Each service is aware of its role

Page 28: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Orchestration standards

● SCUFL– The language used by Taverna

– Made especially for eScience/bioinformatics

– Proprietary

● BPEL– Standard. Specification soon ready.

– Widely accepted

– Lots of tools already available, more will come

Page 29: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of

Svenn Helge Grindhaug System EngineerEric Hajjar PhD Student Anders Lanzén Programmer Ketil Malde ScientistPål Puntervoll Senior Scientist Nathalie Reuter Group Leader, Service Scientist Gisle Sælensminde PhD Student

Thanks to the CBU Service Group: