SlideShare uma empresa Scribd logo
1 de 18
Web Services (NSWI145)
Lecture 01a: Introduction to Web Services

  Martin Nečaský, Ph.D.
  Faculty of Mathematics and Physics
  Charles University in Prague, Czech Republic




                Summer 2013
Foundations of Web Services
   communication of Component A and
    Component B
     consists of sequence of messages exchanged
      between A and B
     synchronous or asynchronous
     based on standards or proprietary


                              Internet or
Component A                      other       Component B
                               network




                Summer 2013
Communication Patterns
               Request – Response
   send purchase order – confirm acceptation


    Component A                            Component B

                                request



                                response




                  Summer 2013
Communication Patterns
             Subscribe (Publish) - Notify
   e.g. subscribe to account – notify account
    change

    Component A                              Component B

                       subscribe (publish)

                                notify
                                  …
                                notify



                  Summer 2013
Communication Patterns
  Arbitrary message exchange between two
                components


Component A                     Component B




              Summer 2013
Communication Patterns
 Arbitrary message exchange between more
                components


Component A                 Component B   Component C




              Summer 2013
Web Service
   software component which can be
    programmatically accessed by its clients
     clients send and receive messages to and from
      web service
     messages are processed programmatically
   comprises interface and implementation
     interface strictly separated from implementation
     interface is exposed to the clients
     implementation is hidden

                Summer 2013
Web Service Interface
   defines set of operations provided by web service
     each operation has well defined name and input and
      output messages
   binds operations to standardized message
    transfer formats
     e.g. HTTP requests and responses, SOAP over HTTP
   binds messages to messaging formats
     e.g. XML, JSON, RDF, AtomPub, RSS, etc.
   defines service location


                 Summer 2013
Message
   (human readable) document
     unstructured (simple text, HTML, PDF, etc.)
        • e.g. web page, weblog, ...
     semi-structured document (XML)
        • e.g. purchase order, public contract notification, etc.
   data structure (XML, JSON, AtomPub, RSS)
     e.g. personal profile from social network service, newspapers
      feed, etc.
   set of parameters
     e.g. request for the weather information on given GPS location
      at given time
   media
     image, video, etc.
     out of scope of this course


                      Summer 2013
Web Service Architecture



    Web Service

                          op1
                                Client A
Implementation            op2


                          op3
                                Client B




                 Summer 2013
Web Service Contract
   defines how service should be used
   technical and non-technical documents                Web Service Contract
                                                                   (example)
   technical contract part
                                                           Technical Contract
     designed for runtime consumption
     standardized machine readable notation
     usually consists of
        • message types definition (e.g. XML Schema)
        • interface definition (e.g. WSDL)               XSD        WSDL       WS-*
        • other definitions (e.g. WS-*)
   non-technical contract part
     designed for human (design-time)                   Non-technical Contract
      consumption
     consists of, e.g.:
        • description of semantics of message types
          and interface
        • documentation                                Semantics     Docs      SLA
        • Service-Level Agreement (SLA)


                       Summer 2013
Service-Oriented Architecture (SOA)
   web service ≠ service in SOA
   SOA is an architectural style
     service is a basic building block of SOA-based
      solution which meets 8 key principles




                 Summer 2013
Technologies/Standards for Web Services
 Subpart
                                       Open       Google    Semantic    Linked
   of          W3C
                           REST         Data       Data       Web        Data
Technical    (+OASIS)
                                      Protocol   Protocol   Services   Services
Contract
Message
Format
Message
Transfer
Message
Type
Definition
Interface
Definition
Other
technical
documents




                        Summer 2013
Technologies/Standards for Web Services
               Enterprise
 Subpart
                                         Open       Google    Semantic    Linked
   of          W3C
                             REST         Data       Data       Web        Data
Technical    (+OASIS)
                                        Protocol   Protocol   Services   Services
Contract
Message         XML
Format
Message      SOAP, HTTP
Transfer
Message         XSD
Type
Definition
Interface      WSDL
Definition
Other          WS-*
technical
documents




                          Summer 2013
Technologies/Standards for Web Services
                  Web
 Subpart
                                       Open       Google    Semantic    Linked
   of          W3C
                           REST         Data       Data       Web        Data
Technical    (+OASIS)
                                      Protocol   Protocol   Services   Services
Contract
Message                 XML, JSON       XML,     AtomPub,
Format                      or        AtomPub,     JSON
                        application     JSON
                         specific
Message                    HTTP        HTTP       HTTP
Transfer
Message                     XSD        CSDL
Type
Definition
Interface                  WADL
Definition
Other
technical
documents

                        Summer 2013
Technologies/Standards for Web Services
                Research
 Subpart
                                       Open       Google    Semantic      Linked
   of          W3C
                           REST         Data       Data       Web          Data
Technical    (+OASIS)
                                      Protocol   Protocol   Services     Services
Contract
Message                                                     XML, RDF
Format
Message                                                     SOAP, HTTP
Transfer
Message                                                        RDF
Type                                                         Schema,
Definition                                                     OWL
Interface                                                    SAWSDL,
Definition                                                    WSML
Other
technical
documents




                        Summer 2013
Technologies/Standards for Web Services
              Web/Research
 Subpart
                                       Open       Google    Semantic     Linked
   of          W3C
                           REST         Data       Data       Web         Data
Technical    (+OASIS)
                                      Protocol   Protocol   Services    Services
Contract
Message                                                                SPARQL, RDF
Format
Message                                                                     HTTP,
                                                                       SPARQL Graph
Transfer                                                               Store Protocol,
                                                                           SPARQL
                                                                          Protocol

Message                                                                RDF Schema,
Type                                                                      OWL
Definition
Interface                                                              SPARQL Service
                                                                         Description
Definition
Other                                                                  SPARQL Query
                                                                          Results
technical
documents


                        Summer 2013
Technologies/Standards for Web Services
             In this semester
 Subpart
                                         Open       Google    Semantic        Linked
   of          W3C
                             REST         Data       Data       Web            Data
Technical    (+OASIS)
                                        Protocol   Protocol   Services       Services
Contract
Message         XML        XML, JSON    AtomPub,   AtomPub,    XML, RDF     SPARQL, RDF
Format                                    JSON       JSON

Message      SOAP, HTTP       HTTP        HTTP       HTTP     SOAP, HTTP         HTTP,
                                                                            SPARQL Graph
Transfer                                                                    Store Protocol,
                                                                                SPARQL
                                                                               Protocol

Message         XSD           XSD         CSDL                RDF Schema,   RDF Schema,
Type                                                             OWL           OWL
Definition
Interface      WSDL          WADL                              SAWSDL,      SPARQL Service
                                                                WSML          Description
Definition
Other          WS-*                                                         SPARQL Query
                                                                               Results
technical
documents


                          Summer 2013

Mais conteúdo relacionado

Mais procurados

Apache Kafka in the Telco Industry (OSS, BSS, OTT, IMS, NFV, Middleware, Main...
Apache Kafka in the Telco Industry (OSS, BSS, OTT, IMS, NFV, Middleware, Main...Apache Kafka in the Telco Industry (OSS, BSS, OTT, IMS, NFV, Middleware, Main...
Apache Kafka in the Telco Industry (OSS, BSS, OTT, IMS, NFV, Middleware, Main...Kai Wähner
 
Spring Boot—Production Boost
Spring Boot—Production BoostSpring Boot—Production Boost
Spring Boot—Production BoostVMware Tanzu
 
JD Edwards Archiving and Upgrades - a Case Study from DBG
JD Edwards Archiving and Upgrades - a Case Study from DBGJD Edwards Archiving and Upgrades - a Case Study from DBG
JD Edwards Archiving and Upgrades - a Case Study from DBGNERUG
 
Cloud Native Java GraalVM 이상과 현실
Cloud Native Java GraalVM 이상과 현실Cloud Native Java GraalVM 이상과 현실
Cloud Native Java GraalVM 이상과 현실Taewan Kim
 
Bacterial Cell Differentiation
Bacterial Cell DifferentiationBacterial Cell Differentiation
Bacterial Cell DifferentiationN Poorin
 
Oxidation reduction reaction in living organisms
Oxidation reduction reaction in living organismsOxidation reduction reaction in living organisms
Oxidation reduction reaction in living organismsuzma irfan
 
Sulphate Assimilation
Sulphate AssimilationSulphate Assimilation
Sulphate Assimilationvibhakhanna1
 

Mais procurados (8)

Apache Kafka in the Telco Industry (OSS, BSS, OTT, IMS, NFV, Middleware, Main...
Apache Kafka in the Telco Industry (OSS, BSS, OTT, IMS, NFV, Middleware, Main...Apache Kafka in the Telco Industry (OSS, BSS, OTT, IMS, NFV, Middleware, Main...
Apache Kafka in the Telco Industry (OSS, BSS, OTT, IMS, NFV, Middleware, Main...
 
Spring Boot—Production Boost
Spring Boot—Production BoostSpring Boot—Production Boost
Spring Boot—Production Boost
 
JD Edwards Archiving and Upgrades - a Case Study from DBG
JD Edwards Archiving and Upgrades - a Case Study from DBGJD Edwards Archiving and Upgrades - a Case Study from DBG
JD Edwards Archiving and Upgrades - a Case Study from DBG
 
Cloud Native Java GraalVM 이상과 현실
Cloud Native Java GraalVM 이상과 현실Cloud Native Java GraalVM 이상과 현실
Cloud Native Java GraalVM 이상과 현실
 
Bacterial Cell Differentiation
Bacterial Cell DifferentiationBacterial Cell Differentiation
Bacterial Cell Differentiation
 
Oxidation reduction reaction in living organisms
Oxidation reduction reaction in living organismsOxidation reduction reaction in living organisms
Oxidation reduction reaction in living organisms
 
Sulphate Assimilation
Sulphate AssimilationSulphate Assimilation
Sulphate Assimilation
 
Webchat using flask socket io
Webchat using flask socket ioWebchat using flask socket io
Webchat using flask socket io
 

Destaque

Web Services - Architecture and SOAP (part 1)
Web Services - Architecture and SOAP (part 1)Web Services - Architecture and SOAP (part 1)
Web Services - Architecture and SOAP (part 1)Martin Necasky
 
REST vs WS-*: Myths Facts and Lies
REST vs WS-*: Myths Facts and LiesREST vs WS-*: Myths Facts and Lies
REST vs WS-*: Myths Facts and LiesPaul Fremantle
 
Web Services - SOAP (part 2)
Web Services - SOAP (part 2)Web Services - SOAP (part 2)
Web Services - SOAP (part 2)Martin Necasky
 
Web Services - Business Process Execution Language
Web Services - Business Process Execution LanguageWeb Services - Business Process Execution Language
Web Services - Business Process Execution LanguageMartin Necasky
 
An Overview of Web Services: SOAP and REST
An Overview of Web Services: SOAP and REST An Overview of Web Services: SOAP and REST
An Overview of Web Services: SOAP and REST Ram Awadh Prasad, PMP
 
Web Service Presentation
Web Service PresentationWeb Service Presentation
Web Service Presentationguest0df6b0
 

Destaque (10)

Web Services - Architecture and SOAP (part 1)
Web Services - Architecture and SOAP (part 1)Web Services - Architecture and SOAP (part 1)
Web Services - Architecture and SOAP (part 1)
 
REST vs WS-*: Myths Facts and Lies
REST vs WS-*: Myths Facts and LiesREST vs WS-*: Myths Facts and Lies
REST vs WS-*: Myths Facts and Lies
 
Web Services - SOAP (part 2)
Web Services - SOAP (part 2)Web Services - SOAP (part 2)
Web Services - SOAP (part 2)
 
Web Services - Business Process Execution Language
Web Services - Business Process Execution LanguageWeb Services - Business Process Execution Language
Web Services - Business Process Execution Language
 
RESTful Web Services
RESTful Web ServicesRESTful Web Services
RESTful Web Services
 
WS-Addressing
WS-AddressingWS-Addressing
WS-Addressing
 
Web Services - WSDL
Web Services - WSDLWeb Services - WSDL
Web Services - WSDL
 
An Overview of Web Services: SOAP and REST
An Overview of Web Services: SOAP and REST An Overview of Web Services: SOAP and REST
An Overview of Web Services: SOAP and REST
 
REST vs. SOAP
REST vs. SOAPREST vs. SOAP
REST vs. SOAP
 
Web Service Presentation
Web Service PresentationWeb Service Presentation
Web Service Presentation
 

Semelhante a Web Services - Introduction

Introducing SOA and Oracle SOA Suite 11g for Database Professionals
Introducing SOA and Oracle SOA Suite 11g for Database ProfessionalsIntroducing SOA and Oracle SOA Suite 11g for Database Professionals
Introducing SOA and Oracle SOA Suite 11g for Database ProfessionalsLucas Jellema
 
Web services, the ws stack, and research prospects a survey
Web services, the ws stack, and research prospects   a surveyWeb services, the ws stack, and research prospects   a survey
Web services, the ws stack, and research prospects a surveybdemchak
 
Presentation
PresentationPresentation
PresentationVideoguy
 
What is in a Good Contract? Designing Interfaces for Distributed Systems
What is in a Good Contract? Designing Interfaces for Distributed SystemsWhat is in a Good Contract? Designing Interfaces for Distributed Systems
What is in a Good Contract? Designing Interfaces for Distributed SystemsSchalk Cronjé
 
Hva er SOA og Web services?
Hva er SOA og Web services?Hva er SOA og Web services?
Hva er SOA og Web services?Brian Elvesæter
 
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...rsnarayanan
 
Service Oriented Development With Windows Communication Foundation Tulsa Dnug
Service Oriented Development With Windows Communication Foundation   Tulsa DnugService Oriented Development With Windows Communication Foundation   Tulsa Dnug
Service Oriented Development With Windows Communication Foundation Tulsa DnugJason Townsend, MBA
 
Web services and SOA [Modified]
Web services and SOA [Modified]Web services and SOA [Modified]
Web services and SOA [Modified]Subin Sugunan
 
webservices overview
webservices overviewwebservices overview
webservices overviewelliando dias
 
Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F...
Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F...Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F...
Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F...Jason Townsend, MBA
 
Semantic Web Services: State of the Art
Semantic Web Services: State of the ArtSemantic Web Services: State of the Art
Semantic Web Services: State of the ArtMarkus Lanthaler
 
SOAP--Simple Object Access Protocol
SOAP--Simple Object Access ProtocolSOAP--Simple Object Access Protocol
SOAP--Simple Object Access ProtocolMasud Rahman
 
2010 Future Distributed Computing Architectures and SOA
2010 Future Distributed Computing Architectures and SOA2010 Future Distributed Computing Architectures and SOA
2010 Future Distributed Computing Architectures and SOABob Marcus
 
Web services and SOA
Web services and SOAWeb services and SOA
Web services and SOASubin Sugunan
 
Service Oriented Development With Windows Communication Foundation 2003
Service Oriented Development With Windows Communication Foundation 2003Service Oriented Development With Windows Communication Foundation 2003
Service Oriented Development With Windows Communication Foundation 2003Jason Townsend, MBA
 

Semelhante a Web Services - Introduction (20)

Nuno Godinho
Nuno GodinhoNuno Godinho
Nuno Godinho
 
Introducing SOA and Oracle SOA Suite 11g for Database Professionals
Introducing SOA and Oracle SOA Suite 11g for Database ProfessionalsIntroducing SOA and Oracle SOA Suite 11g for Database Professionals
Introducing SOA and Oracle SOA Suite 11g for Database Professionals
 
Web services, the ws stack, and research prospects a survey
Web services, the ws stack, and research prospects   a surveyWeb services, the ws stack, and research prospects   a survey
Web services, the ws stack, and research prospects a survey
 
Presentation
PresentationPresentation
Presentation
 
What is in a Good Contract? Designing Interfaces for Distributed Systems
What is in a Good Contract? Designing Interfaces for Distributed SystemsWhat is in a Good Contract? Designing Interfaces for Distributed Systems
What is in a Good Contract? Designing Interfaces for Distributed Systems
 
A12 kubert 2
A12 kubert 2A12 kubert 2
A12 kubert 2
 
Hva er SOA og Web services?
Hva er SOA og Web services?Hva er SOA og Web services?
Hva er SOA og Web services?
 
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
 
Service Oriented Development With Windows Communication Foundation Tulsa Dnug
Service Oriented Development With Windows Communication Foundation   Tulsa DnugService Oriented Development With Windows Communication Foundation   Tulsa Dnug
Service Oriented Development With Windows Communication Foundation Tulsa Dnug
 
WS-* with WCF
WS-* with WCFWS-* with WCF
WS-* with WCF
 
Web services and SOA [Modified]
Web services and SOA [Modified]Web services and SOA [Modified]
Web services and SOA [Modified]
 
webservices overview
webservices overviewwebservices overview
webservices overview
 
SOA and web services
SOA and web servicesSOA and web services
SOA and web services
 
Xml.ppt
Xml.pptXml.ppt
Xml.ppt
 
Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F...
Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F...Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F...
Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F...
 
Semantic Web Services: State of the Art
Semantic Web Services: State of the ArtSemantic Web Services: State of the Art
Semantic Web Services: State of the Art
 
SOAP--Simple Object Access Protocol
SOAP--Simple Object Access ProtocolSOAP--Simple Object Access Protocol
SOAP--Simple Object Access Protocol
 
2010 Future Distributed Computing Architectures and SOA
2010 Future Distributed Computing Architectures and SOA2010 Future Distributed Computing Architectures and SOA
2010 Future Distributed Computing Architectures and SOA
 
Web services and SOA
Web services and SOAWeb services and SOA
Web services and SOA
 
Service Oriented Development With Windows Communication Foundation 2003
Service Oriented Development With Windows Communication Foundation 2003Service Oriented Development With Windows Communication Foundation 2003
Service Oriented Development With Windows Communication Foundation 2003
 

Mais de Martin Necasky

Linked Open Data - Masaryk University in Brno 8.11.2016
Linked Open Data - Masaryk University in Brno 8.11.2016Linked Open Data - Masaryk University in Brno 8.11.2016
Linked Open Data - Masaryk University in Brno 8.11.2016Martin Necasky
 
Tutoriál : Otevřená a propojitelná data veřejné správy
Tutoriál : Otevřená a propojitelná data veřejné správyTutoriál : Otevřená a propojitelná data veřejné správy
Tutoriál : Otevřená a propojitelná data veřejné správyMartin Necasky
 
Linked Data for Czech Legislation - 2nd year of our project
Linked Data for Czech Legislation - 2nd year of our projectLinked Data for Czech Legislation - 2nd year of our project
Linked Data for Czech Legislation - 2nd year of our projectMartin Necasky
 
Linked Open Data for Public Contracts
Linked Open Data for Public ContractsLinked Open Data for Public Contracts
Linked Open Data for Public ContractsMartin Necasky
 
Linked Data for Czech Legislation
Linked Data for Czech LegislationLinked Data for Czech Legislation
Linked Data for Czech LegislationMartin Necasky
 
Otevrena data v CR - aktualni stav (brezen 2013)
Otevrena data v CR - aktualni stav (brezen 2013)Otevrena data v CR - aktualni stav (brezen 2013)
Otevrena data v CR - aktualni stav (brezen 2013)Martin Necasky
 
Otevrene problemy architektury elektronickeho zdravotnictvi
Otevrene problemy architektury elektronickeho zdravotnictviOtevrene problemy architektury elektronickeho zdravotnictvi
Otevrene problemy architektury elektronickeho zdravotnictviMartin Necasky
 
Vysledek souteze o navrh hospodarneho a funkcniho elektronickeho zdravotnictvi
Vysledek souteze o navrh hospodarneho a funkcniho elektronickeho zdravotnictviVysledek souteze o navrh hospodarneho a funkcniho elektronickeho zdravotnictvi
Vysledek souteze o navrh hospodarneho a funkcniho elektronickeho zdravotnictviMartin Necasky
 
Techniky a nástroje pro propojená data (Linked Data)
Techniky a nástroje pro propojená data (Linked Data)Techniky a nástroje pro propojená data (Linked Data)
Techniky a nástroje pro propojená data (Linked Data)Martin Necasky
 
Linked Data pro Evropský sociální fond
Linked Data pro Evropský sociální fondLinked Data pro Evropský sociální fond
Linked Data pro Evropský sociální fondMartin Necasky
 

Mais de Martin Necasky (10)

Linked Open Data - Masaryk University in Brno 8.11.2016
Linked Open Data - Masaryk University in Brno 8.11.2016Linked Open Data - Masaryk University in Brno 8.11.2016
Linked Open Data - Masaryk University in Brno 8.11.2016
 
Tutoriál : Otevřená a propojitelná data veřejné správy
Tutoriál : Otevřená a propojitelná data veřejné správyTutoriál : Otevřená a propojitelná data veřejné správy
Tutoriál : Otevřená a propojitelná data veřejné správy
 
Linked Data for Czech Legislation - 2nd year of our project
Linked Data for Czech Legislation - 2nd year of our projectLinked Data for Czech Legislation - 2nd year of our project
Linked Data for Czech Legislation - 2nd year of our project
 
Linked Open Data for Public Contracts
Linked Open Data for Public ContractsLinked Open Data for Public Contracts
Linked Open Data for Public Contracts
 
Linked Data for Czech Legislation
Linked Data for Czech LegislationLinked Data for Czech Legislation
Linked Data for Czech Legislation
 
Otevrena data v CR - aktualni stav (brezen 2013)
Otevrena data v CR - aktualni stav (brezen 2013)Otevrena data v CR - aktualni stav (brezen 2013)
Otevrena data v CR - aktualni stav (brezen 2013)
 
Otevrene problemy architektury elektronickeho zdravotnictvi
Otevrene problemy architektury elektronickeho zdravotnictviOtevrene problemy architektury elektronickeho zdravotnictvi
Otevrene problemy architektury elektronickeho zdravotnictvi
 
Vysledek souteze o navrh hospodarneho a funkcniho elektronickeho zdravotnictvi
Vysledek souteze o navrh hospodarneho a funkcniho elektronickeho zdravotnictviVysledek souteze o navrh hospodarneho a funkcniho elektronickeho zdravotnictvi
Vysledek souteze o navrh hospodarneho a funkcniho elektronickeho zdravotnictvi
 
Techniky a nástroje pro propojená data (Linked Data)
Techniky a nástroje pro propojená data (Linked Data)Techniky a nástroje pro propojená data (Linked Data)
Techniky a nástroje pro propojená data (Linked Data)
 
Linked Data pro Evropský sociální fond
Linked Data pro Evropský sociální fondLinked Data pro Evropský sociální fond
Linked Data pro Evropský sociální fond
 

Último

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 

Último (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

Web Services - Introduction

  • 1. Web Services (NSWI145) Lecture 01a: Introduction to Web Services Martin Nečaský, Ph.D. Faculty of Mathematics and Physics Charles University in Prague, Czech Republic Summer 2013
  • 2. Foundations of Web Services  communication of Component A and Component B  consists of sequence of messages exchanged between A and B  synchronous or asynchronous  based on standards or proprietary Internet or Component A other Component B network Summer 2013
  • 3. Communication Patterns Request – Response  send purchase order – confirm acceptation Component A Component B request response Summer 2013
  • 4. Communication Patterns Subscribe (Publish) - Notify  e.g. subscribe to account – notify account change Component A Component B subscribe (publish) notify … notify Summer 2013
  • 5. Communication Patterns Arbitrary message exchange between two components Component A Component B Summer 2013
  • 6. Communication Patterns Arbitrary message exchange between more components Component A Component B Component C Summer 2013
  • 7. Web Service  software component which can be programmatically accessed by its clients  clients send and receive messages to and from web service  messages are processed programmatically  comprises interface and implementation  interface strictly separated from implementation  interface is exposed to the clients  implementation is hidden Summer 2013
  • 8. Web Service Interface  defines set of operations provided by web service  each operation has well defined name and input and output messages  binds operations to standardized message transfer formats  e.g. HTTP requests and responses, SOAP over HTTP  binds messages to messaging formats  e.g. XML, JSON, RDF, AtomPub, RSS, etc.  defines service location Summer 2013
  • 9. Message  (human readable) document  unstructured (simple text, HTML, PDF, etc.) • e.g. web page, weblog, ...  semi-structured document (XML) • e.g. purchase order, public contract notification, etc.  data structure (XML, JSON, AtomPub, RSS)  e.g. personal profile from social network service, newspapers feed, etc.  set of parameters  e.g. request for the weather information on given GPS location at given time  media  image, video, etc.  out of scope of this course Summer 2013
  • 10. Web Service Architecture Web Service op1 Client A Implementation op2 op3 Client B Summer 2013
  • 11. Web Service Contract  defines how service should be used  technical and non-technical documents Web Service Contract (example)  technical contract part Technical Contract  designed for runtime consumption  standardized machine readable notation  usually consists of • message types definition (e.g. XML Schema) • interface definition (e.g. WSDL) XSD WSDL WS-* • other definitions (e.g. WS-*)  non-technical contract part  designed for human (design-time) Non-technical Contract consumption  consists of, e.g.: • description of semantics of message types and interface • documentation Semantics Docs SLA • Service-Level Agreement (SLA) Summer 2013
  • 12. Service-Oriented Architecture (SOA)  web service ≠ service in SOA  SOA is an architectural style  service is a basic building block of SOA-based solution which meets 8 key principles Summer 2013
  • 13. Technologies/Standards for Web Services Subpart Open Google Semantic Linked of W3C REST Data Data Web Data Technical (+OASIS) Protocol Protocol Services Services Contract Message Format Message Transfer Message Type Definition Interface Definition Other technical documents Summer 2013
  • 14. Technologies/Standards for Web Services Enterprise Subpart Open Google Semantic Linked of W3C REST Data Data Web Data Technical (+OASIS) Protocol Protocol Services Services Contract Message XML Format Message SOAP, HTTP Transfer Message XSD Type Definition Interface WSDL Definition Other WS-* technical documents Summer 2013
  • 15. Technologies/Standards for Web Services Web Subpart Open Google Semantic Linked of W3C REST Data Data Web Data Technical (+OASIS) Protocol Protocol Services Services Contract Message XML, JSON XML, AtomPub, Format or AtomPub, JSON application JSON specific Message HTTP HTTP HTTP Transfer Message XSD CSDL Type Definition Interface WADL Definition Other technical documents Summer 2013
  • 16. Technologies/Standards for Web Services Research Subpart Open Google Semantic Linked of W3C REST Data Data Web Data Technical (+OASIS) Protocol Protocol Services Services Contract Message XML, RDF Format Message SOAP, HTTP Transfer Message RDF Type Schema, Definition OWL Interface SAWSDL, Definition WSML Other technical documents Summer 2013
  • 17. Technologies/Standards for Web Services Web/Research Subpart Open Google Semantic Linked of W3C REST Data Data Web Data Technical (+OASIS) Protocol Protocol Services Services Contract Message SPARQL, RDF Format Message HTTP, SPARQL Graph Transfer Store Protocol, SPARQL Protocol Message RDF Schema, Type OWL Definition Interface SPARQL Service Description Definition Other SPARQL Query Results technical documents Summer 2013
  • 18. Technologies/Standards for Web Services In this semester Subpart Open Google Semantic Linked of W3C REST Data Data Web Data Technical (+OASIS) Protocol Protocol Services Services Contract Message XML XML, JSON AtomPub, AtomPub, XML, RDF SPARQL, RDF Format JSON JSON Message SOAP, HTTP HTTP HTTP HTTP SOAP, HTTP HTTP, SPARQL Graph Transfer Store Protocol, SPARQL Protocol Message XSD XSD CSDL RDF Schema, RDF Schema, Type OWL OWL Definition Interface WSDL WADL SAWSDL, SPARQL Service WSML Description Definition Other WS-* SPARQL Query Results technical documents Summer 2013