web services interoperability and standards. infrastructure challenge ● applied bioinformatics...
TRANSCRIPT
![Page 1: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/1.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/2.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/3.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/4.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/5.jpg)
Source: Gartner (August 2005)
![Page 6: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/6.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/7.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/8.jpg)
Web Service Standards
![Page 9: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/9.jpg)
● 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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/10.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/11.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/12.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/13.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/14.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/15.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/16.jpg)
Web Services Interoperability
![Page 17: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/17.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/18.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/19.jpg)
Web Service Resource Framework
![Page 20: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/20.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/21.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/22.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/23.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/24.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/25.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/26.jpg)
Composition of Web Services
![Page 27: Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/27.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/28.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022070418/56649ee05503460f94bf09ce/html5/thumbnails/29.jpg)
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: