SlideShare uma empresa Scribd logo
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

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

10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka DoktorováCzechDreamin
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераMark Opanasiuk
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Patrick Viafore
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...FIDO Alliance
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101vincent683379
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCzechDreamin
 
Buy Epson EcoTank L3210 Colour Printer Online.pptx
Buy Epson EcoTank L3210 Colour Printer Online.pptxBuy Epson EcoTank L3210 Colour Printer Online.pptx
Buy Epson EcoTank L3210 Colour Printer Online.pptxEasyPrinterHelp
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FIDO Alliance
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIES VE
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...FIDO Alliance
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty SecureFemke de Vroome
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfFIDO Alliance
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsStefano
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyUXDXConf
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlPeter Udo Diehl
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024Stephanie Beckett
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...CzechDreamin
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxJennifer Lim
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfFIDO Alliance
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfFIDO Alliance
 

Último (20)

10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
Buy Epson EcoTank L3210 Colour Printer Online.pptx
Buy Epson EcoTank L3210 Colour Printer Online.pptxBuy Epson EcoTank L3210 Colour Printer Online.pptx
Buy Epson EcoTank L3210 Colour Printer Online.pptx
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 

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