SlideShare a Scribd company logo
1 of 40
Web Services (NSWI145)
Lecture 02: Web Services Model, SOAP

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




                Summer 2013
Foundations of Web Services
   4 views of Web Services Architecture
       Message Oriented Model
       Service Oriented Model
       Resource Oriented Model
       Policy Model




                 Summer 2013
Web Services Architecture


                                       Policy
                         Policy
                                       Model



           Service
          Oriented                              Resource
           Model                                Oriented
Service
                                                 Model     Resource


                                   Message
                                   Oriented
                     Message        Model




                     Summer 2013
Message Oriented Model


                                Agent


                   originates           processes
Headers
             has
                                                               Message
                            Message
                                                    delivers   Transport
             has
 Body




             Summer 2013
Message Oriented Model




             http://www.w3.org/TR/2004/NOTE-ws-arch-20040211/#message_oriented_model


   Summer 2013
Service Oriented Model



                                                                 Person or
Message
                                                                Organization

            signals                               owns

                             Service

           describes                                     uses

                                       realizes
Metadata                                                           Agent




               Summer 2013
Service Oriented Model




                 http://www.w3.org/TR/2004/NOTE-ws-arch-20040211/#service_oriented_model


   Summer 2013
Resource Oriented Model



                                                   Person or
 URI
                                                  organization

          has                              owns

                         Resource

                is
                                    may have

Service                                            Representation




           Summer 2013
Resource Oriented Model




                 http://www.w3.org/TR/2004/NOTE-ws-arch-20040211/#resource_oriented_model


   Summer 2013
Policy Oriented Model



                                                     Person or
Action
                                                    organization

          about                       establishes

                          Policy

           subject to
                                   about

Agent                                                Resource




            Summer 2013
Policy Oriented Model




                http://www.w3.org/TR/2004/NOTE-ws-arch-20040211/#policy_model


  Summer 2013
When Web Services are appropriate
   for applications which must interoperate over the
    Internet with other applications
     and, possibly, they did not originally supposed this
   for applications which cannot be designed,
    implemented and evolved at once as one piece
   for applications whose different parts run on different
    platforms and are owned by different
    persons/organizations
   for applications which need to be exposed for use over
    the Internet
     and, possibly, were not originally designated for this
   where scalability, security, etc. need to be ensured

                      Summer 2013
Foundations of Web Services

                               VISA
                               WS
                            MasterCard
                               WS

                             Lufthansa
             Travel Agent       WS
                 WS
                                …
                            Turkish Air.
                                WS

                            Search Hotel
                                WS

     Summer 2013
Foundations of Web Services
   Web Services advantages
       platform-independence
       reusability
       interoperability
       scalability
       adaptability




                 Summer 2013
W3C-style Web Services

                                         Processes




                                                                 XSLT
                                  BPEL               WS-CDL

                                         Contract
Management




                                                                 XSD
             Security




                                  WSDL               WS-Policy

                                         Messages




                                                                 XML
                                      SOAP extensions
                                           SOAP

                              Communications (HTTP, SMTP, …)



                        Summer 2013
W3C-style Web Services



                                   WSDL
                                            Web Service

System                   SOAP             Interface

   Agent                 Message           Agent




           Summer 2013
SOAP
   Basics
   Syntax
   Processing Model
   Communication Model
   Network Protocol Bindings
   Advantages/Disadvantages


             Summer 2013
SOAP Basics
   Simple Object Access Protocol
     http://www.w3.org/TR/soap12-part0/
   protocol for inter-application communication
     applications = peers in decentralized and
      distributed environment




                Summer 2013
SOAP Basics
   de facto standard protocol for communication with Web
    Services
   easily extensible
     ideal for quickly evolving Web Service technologies
   overcomes differences among proprietary
    heterogeneous peers
     absolute necessity
   lightweight
     no need of specific environment to be installed
     no configuration necessary
   “Simple Object Access Protocol” is misleading
     SOAP is not Simple
     SOAP is not only Object Access Protocol


                    Summer 2013
SOAP Basics
   stateless, one-way message exchange
    paradigm
   more complex communication patterns can be
    created
     request/response
     publish/subscribe
     application-specific patterns with more
      communication rounds or more participants



                Summer 2013
SOAP Message Syntax
   SOAP message is XML document
     envelopes exchanged data
   SOAP message is transferred over network via
    transfer protocol
     HTTP, FTP, SMTP, …
     or even TCP




                Summer 2013
SOAP Message Syntax


    Sender                               Receiver




  exchanged                             exchanged
     data                                  data
SOAP message                          SOAP message

HTTP/… message                        HTTP/… message
                            Network



              Summer 2013
SOAP Message Syntax
   SOAP standardizes 3 XML elements
     Envelope, Header, Body


                            <Envelope>



              0..1                          1
              <Header>                   <Body>


              1..*                          1..*
              header block           body entry


              Summer 2013
SOAP Message Syntax

<?xml version="1.0"?>
<env:Envelope
  xmlns:env="http://www.w3.org/2003/05/soap-envelope">

 <!–- Header is optional -->
 <env:Header>
   <!–- one or more header blocks -->
 </env:Header>

 <!–- Body is mandatory -->
 <env:Body>
   <!–- one or more body entries -->
 </env:Body>

</env:Envelope>


                  Summer 2013
SOAP Message Syntax
      Envelope Example




  Summer 2013
SOAP Message Syntax - Body Entry
   application specific XML element
   carries application data
     end-to-end information




                Summer 2013
SOAP Message Syntax - Body Example




         Summer 2013
SOAP Message Syntax - Header Block
   application specific XML element
   carries data that is not part of application data
    itself
      e.g. meta-data (message addressing, security,
       transactions, ...)
   SOAP extension mechanism
      SOAP modules
      SOAP faults



                 Summer 2013
SOAP Syntax - Header Block
   SOAP extensions via header blocks:
     specific languages extending SOAP
     WS-Encryption, WS-Trans, WS-Addressing, etc.
     W3C, OASIS, etc.
   each header block should have its own
    namespace
     helps identify relevant header blocks




                Summer 2013
SOAP Syntax - Header Example




      Summer 2013
SOAP Syntax - Faults
   all SOAP-specific and application-specific
    faults are reported using single element
    Fault in Body
     network transfer protocol faults are reported
      using other protocol-specific mechanisms (e.g.
      HTTP)
     separate SOAP message
     mandatory Code and Reason
     optional Detail, Node, Role


                Summer 2013
SOAP Syntax - Faults
   Code
     reports specific kind of fault
       • particular kind of fault may require additional header
         blocks to be generated
     mandatory Value
       • contains code value
     optional Subcode
       • contains mandatory Value with application-specific
         sub-code value




                  Summer 2013
SOAP Syntax - Faults
Code                     Semantics
VersionMismatch          Faulting node does not support the given version of
                         SOAP. The node SHOULD specify how the messages
                         should be upgraded with Upgrade header
MustUnderstand           Faulting node does not understand a header. The node
                         SHOULD specify which header was not understood with
                         NotUnderstood header
DataEncodingUnknown      Faulting node does not understand the message
                         encoding
Sender                   The message was incorrectly formed or did not contain
                         the appropriate information in order to succeed. E.g.
                         improper authentication details, registration
                         information, etc.
Receiver                 The message could not be processed for reasons
                         attributable to the processing of the message rather
                         than to the contents of the message itself. Something
                         went wrong.

                    Summer 2013
SOAP Syntax - Faults
   VersionMismatch
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"
              xmlns:xml="http://www.w3.org/XML/1998/namespace">
 <env:Header>
  <env:Upgrade>                                       Ordered by preferences
   <env:SupportedEnvelope qname="soap1:Envelope"
             xmlns:soap1="http://www.w3.org/2003/05/soap-envelope"/>

  </env:Upgrade>
 </env:Header>
 <env:Body>
  <env:Fault>
   <env:Code><env:Value>env:VersionMismatch</env:Value></env:Code>
  </env:Fault>
 </env:Body>
</env:Envelope>




                      Summer 2013
SOAP Syntax - Faults
   MustUnderstand
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"
              xmlns:xml="http://www.w3.org/XML/1998/namespace">
 <env:Header>
  <env:NotUnderstood qname="abc:ExtensionABC"
             xmlns:abc="http://example.org/2011/abc"/>
  <env:NotUnderstood qname="xyz:ExtensionXYZ"
             xmlns:xyz="http://example.org/Martin"/>
 </env:Header>
 <env:Body>
  <env:Fault>
   <env:Code><env:Value>env:MustUnderstand</env:Value></env:Code>
  </env:Fault>
 </env:Body>
</env:Envelope>




                     Summer 2013
SOAP Syntax
                              Faults
   Reason
     for human understanding
     contains description of fault in one or more Text
      elements




                Summer 2013
SOAP Syntax
  Faults Example




Summer 2013
Homework 1
   design your own business process
   steps will be later realized as web services
     one step has to be realized as an external web
      service, i.e. a service that is not under your control
       • e.g., http://wwwinfo.mfcr.cz/ares/ > Webové služby (in
         czech)
   use BPMN to model the business process
     http://www.bizagi.com or similar tool
     see tutorial:
      http://www.omg.org/news/meetings/workshops/
      HC-Australia/Mancarella.pdf

                  Summer 2013
Homework 1
   in a more detail                      Hospital
    than this ...             Reception               Investigation




                               Surgery               Hospitalization



                                                     •Food
                                                     •Sanitary
                                                     •Accommodation
                                                 Utility


                               Control                           Economy
                                                     •Material
                                                     •Reports




                Summer 2013
Homework 1
   something like this is sufficient ...




                 Summer 2013

More Related Content

What's hot

SOAP--Simple Object Access Protocol
SOAP--Simple Object Access ProtocolSOAP--Simple Object Access Protocol
SOAP--Simple Object Access ProtocolMasud Rahman
 
Enterprise java unit-2_chapter-1
Enterprise  java unit-2_chapter-1Enterprise  java unit-2_chapter-1
Enterprise java unit-2_chapter-1sandeep54552
 
Spring Framework - MVC
Spring Framework - MVCSpring Framework - MVC
Spring Framework - MVCDzmitry Naskou
 
Run-time of Node.js : V8 JavaScript Engine
Run-time of Node.js: V8 JavaScript EngineRun-time of Node.js: V8 JavaScript Engine
Run-time of Node.js : V8 JavaScript EngineGary Yeh
 
Declarative Clients in Spring
Declarative Clients in SpringDeclarative Clients in Spring
Declarative Clients in SpringVMware Tanzu
 
web service technologies
web service technologiesweb service technologies
web service technologiesYash Darak
 
Soap and restful webservice
Soap and restful webserviceSoap and restful webservice
Soap and restful webserviceDong Ngoc
 
Golang 高性能实战
Golang 高性能实战Golang 高性能实战
Golang 高性能实战rfyiamcool
 
Introduction to Google Guice
Introduction to Google GuiceIntroduction to Google Guice
Introduction to Google GuiceKnoldus Inc.
 
Spring 3.1 and MVC Testing Support
Spring 3.1 and MVC Testing SupportSpring 3.1 and MVC Testing Support
Spring 3.1 and MVC Testing SupportSam Brannen
 
Introduction to AMQP Messaging with RabbitMQ
Introduction to AMQP Messaging with RabbitMQIntroduction to AMQP Messaging with RabbitMQ
Introduction to AMQP Messaging with RabbitMQDmitriy Samovskiy
 

What's hot (20)

WSDL
WSDLWSDL
WSDL
 
SOAP--Simple Object Access Protocol
SOAP--Simple Object Access ProtocolSOAP--Simple Object Access Protocol
SOAP--Simple Object Access Protocol
 
Enterprise java unit-2_chapter-1
Enterprise  java unit-2_chapter-1Enterprise  java unit-2_chapter-1
Enterprise java unit-2_chapter-1
 
Node.js Express Framework
Node.js Express FrameworkNode.js Express Framework
Node.js Express Framework
 
Spring Framework - MVC
Spring Framework - MVCSpring Framework - MVC
Spring Framework - MVC
 
Run-time of Node.js : V8 JavaScript Engine
Run-time of Node.js: V8 JavaScript EngineRun-time of Node.js: V8 JavaScript Engine
Run-time of Node.js : V8 JavaScript Engine
 
Declarative Clients in Spring
Declarative Clients in SpringDeclarative Clients in Spring
Declarative Clients in Spring
 
web service technologies
web service technologiesweb service technologies
web service technologies
 
Soap and restful webservice
Soap and restful webserviceSoap and restful webservice
Soap and restful webservice
 
OpenID Connect Explained
OpenID Connect ExplainedOpenID Connect Explained
OpenID Connect Explained
 
7 rest
7 rest7 rest
7 rest
 
Golang 高性能实战
Golang 高性能实战Golang 高性能实战
Golang 高性能实战
 
WCF
WCFWCF
WCF
 
Introduction to Google Guice
Introduction to Google GuiceIntroduction to Google Guice
Introduction to Google Guice
 
Spring 3.1 and MVC Testing Support
Spring 3.1 and MVC Testing SupportSpring 3.1 and MVC Testing Support
Spring 3.1 and MVC Testing Support
 
Java Server Pages
Java Server PagesJava Server Pages
Java Server Pages
 
Spring MVC
Spring MVCSpring MVC
Spring MVC
 
Simple object access protocol(soap )
Simple object access protocol(soap )Simple object access protocol(soap )
Simple object access protocol(soap )
 
Ter Web Service Intro
Ter Web Service IntroTer Web Service Intro
Ter Web Service Intro
 
Introduction to AMQP Messaging with RabbitMQ
Introduction to AMQP Messaging with RabbitMQIntroduction to AMQP Messaging with RabbitMQ
Introduction to AMQP Messaging with RabbitMQ
 

Viewers also liked

Web Service Presentation
Web Service PresentationWeb Service Presentation
Web Service Presentationguest0df6b0
 
Web Services - A brief overview
Web Services -  A brief overviewWeb Services -  A brief overview
Web Services - A brief overviewRaveendra Bhat
 
Web services - A Practical Approach
Web services - A Practical ApproachWeb services - A Practical Approach
Web services - A Practical ApproachMadhaiyan Muthu
 
Webservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and RESTWebservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and RESTPradeep Kumar
 
Simple Object Access Protocol
Simple Object Access ProtocolSimple Object Access Protocol
Simple Object Access ProtocolSaatviga Sudhahar
 
Corba concepts & corba architecture
Corba concepts & corba architectureCorba concepts & corba architecture
Corba concepts & corba architecturenupurmakhija1211
 
Testing web services
Testing web servicesTesting web services
Testing web servicesTaras Lytvyn
 
SOAP:Simple Object Access Protocol -XML-RPC
SOAP:Simple Object Access Protocol-XML-RPCSOAP:Simple Object Access Protocol-XML-RPC
SOAP:Simple Object Access Protocol -XML-RPCelliando dias
 
ゼロからはじめるサーバーサイド Vol2
ゼロからはじめるサーバーサイド Vol2ゼロからはじめるサーバーサイド Vol2
ゼロからはじめるサーバーサイド Vol2Taichi Inaba
 
SOA e Web Services
SOA e Web ServicesSOA e Web Services
SOA e Web Servicessergiocrespo
 
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
 

Viewers also liked (20)

Web Service Presentation
Web Service PresentationWeb Service Presentation
Web Service Presentation
 
Web Services Tutorial
Web Services TutorialWeb Services Tutorial
Web Services Tutorial
 
Web Services - A brief overview
Web Services -  A brief overviewWeb Services -  A brief overview
Web Services - A brief overview
 
Web services - A Practical Approach
Web services - A Practical ApproachWeb services - A Practical Approach
Web services - A Practical Approach
 
Web service introduction
Web service introductionWeb service introduction
Web service introduction
 
Web Services
Web ServicesWeb Services
Web Services
 
Webservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and RESTWebservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and REST
 
Simple Object Access Protocol
Simple Object Access ProtocolSimple Object Access Protocol
Simple Object Access Protocol
 
Webservices
WebservicesWebservices
Webservices
 
Corba concepts & corba architecture
Corba concepts & corba architectureCorba concepts & corba architecture
Corba concepts & corba architecture
 
Gustavo Travassos by SOAP
Gustavo Travassos by SOAPGustavo Travassos by SOAP
Gustavo Travassos by SOAP
 
RESTful Web Services
RESTful Web ServicesRESTful Web Services
RESTful Web Services
 
Testing web services
Testing web servicesTesting web services
Testing web services
 
SOAP:Simple Object Access Protocol -XML-RPC
SOAP:Simple Object Access Protocol-XML-RPCSOAP:Simple Object Access Protocol-XML-RPC
SOAP:Simple Object Access Protocol -XML-RPC
 
Lecture 3 soap
Lecture 3 soapLecture 3 soap
Lecture 3 soap
 
ゼロからはじめるサーバーサイド Vol2
ゼロからはじめるサーバーサイド Vol2ゼロからはじめるサーバーサイド Vol2
ゼロからはじめるサーバーサイド Vol2
 
JAX-WS Basics
JAX-WS BasicsJAX-WS Basics
JAX-WS Basics
 
WS - SecurityPolicy
WS - SecurityPolicyWS - SecurityPolicy
WS - SecurityPolicy
 
SOA e Web Services
SOA e Web ServicesSOA e Web Services
SOA e Web Services
 
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
 

Similar to Web Services - Architecture and SOAP (part 1)

XML ENCRYPTION AND SIGNATURE FOR SECURING WEB SERVICES
XML ENCRYPTION AND SIGNATURE FOR SECURING WEB SERVICESXML ENCRYPTION AND SIGNATURE FOR SECURING WEB SERVICES
XML ENCRYPTION AND SIGNATURE FOR SECURING WEB SERVICESijcsit
 
XML Encryption and Signature for Securing Web Services
XML Encryption and Signature for Securing Web ServicesXML Encryption and Signature for Securing Web Services
XML Encryption and Signature for Securing Web ServicesCSEIJJournal
 
XML Encryption and Signature for Securing Web Services
XML Encryption and Signature for Securing Web ServicesXML Encryption and Signature for Securing Web Services
XML Encryption and Signature for Securing Web ServicesAIRCC Publishing Corporation
 
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
 
Web Based Secure Soa
Web Based Secure SoaWeb Based Secure Soa
Web Based Secure Soaijbuiiir1
 
Web Service Architecture for e-Learning
Web Service Architecture for e-LearningWeb Service Architecture for e-Learning
Web Service Architecture for e-LearningVideoguy
 
AGENTS AND OWL-S BASED SEMANTIC WEB SERVICE DISCOVERY WITH USER PREFERENCE SU...
AGENTS AND OWL-S BASED SEMANTIC WEB SERVICE DISCOVERY WITH USER PREFERENCE SU...AGENTS AND OWL-S BASED SEMANTIC WEB SERVICE DISCOVERY WITH USER PREFERENCE SU...
AGENTS AND OWL-S BASED SEMANTIC WEB SERVICE DISCOVERY WITH USER PREFERENCE SU...IJwest
 
A review of soa modeling approaches for enterprise information systems
A review of soa modeling approaches for enterprise information systemsA review of soa modeling approaches for enterprise information systems
A review of soa modeling approaches for enterprise information systemsTiago Oliveira
 
Introduction to Micro Services
Introduction to Micro ServicesIntroduction to Micro Services
Introduction to Micro ServicesShashi Shekhar
 
Variability modeling for customizable saas applications
Variability modeling for customizable saas applicationsVariability modeling for customizable saas applications
Variability modeling for customizable saas applicationsijcsit
 
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
 
M.Phil Computer Science Server Computing Projects
M.Phil Computer Science Server Computing ProjectsM.Phil Computer Science Server Computing Projects
M.Phil Computer Science Server Computing ProjectsVijay Karan
 
M phil-computer-science-server-computing-projects
M phil-computer-science-server-computing-projectsM phil-computer-science-server-computing-projects
M phil-computer-science-server-computing-projectsVijay Karan
 
Web services and SOA [Modified]
Web services and SOA [Modified]Web services and SOA [Modified]
Web services and SOA [Modified]Subin Sugunan
 
A Message-Passing Model For Service Oriented Computing
A Message-Passing Model For Service Oriented ComputingA Message-Passing Model For Service Oriented Computing
A Message-Passing Model For Service Oriented ComputingCheryl Brown
 
Web Services Based Information Retrieval Agent System for Cloud Computing
Web Services Based Information Retrieval Agent System for Cloud ComputingWeb Services Based Information Retrieval Agent System for Cloud Computing
Web Services Based Information Retrieval Agent System for Cloud ComputingEditor IJCATR
 

Similar to Web Services - Architecture and SOAP (part 1) (20)

XML ENCRYPTION AND SIGNATURE FOR SECURING WEB SERVICES
XML ENCRYPTION AND SIGNATURE FOR SECURING WEB SERVICESXML ENCRYPTION AND SIGNATURE FOR SECURING WEB SERVICES
XML ENCRYPTION AND SIGNATURE FOR SECURING WEB SERVICES
 
XML Encryption and Signature for Securing Web Services
XML Encryption and Signature for Securing Web ServicesXML Encryption and Signature for Securing Web Services
XML Encryption and Signature for Securing Web Services
 
XML Encryption and Signature for Securing Web Services
XML Encryption and Signature for Securing Web ServicesXML Encryption and Signature for Securing Web Services
XML Encryption and Signature for Securing Web Services
 
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...
 
Web Based Secure Soa
Web Based Secure SoaWeb Based Secure Soa
Web Based Secure Soa
 
1. soa design pattern introduction
1. soa design pattern introduction1. soa design pattern introduction
1. soa design pattern introduction
 
Web Service Extensions | Torry Harris Whitepaper
Web Service Extensions | Torry Harris WhitepaperWeb Service Extensions | Torry Harris Whitepaper
Web Service Extensions | Torry Harris Whitepaper
 
Web Service Architecture for e-Learning
Web Service Architecture for e-LearningWeb Service Architecture for e-Learning
Web Service Architecture for e-Learning
 
AGENTS AND OWL-S BASED SEMANTIC WEB SERVICE DISCOVERY WITH USER PREFERENCE SU...
AGENTS AND OWL-S BASED SEMANTIC WEB SERVICE DISCOVERY WITH USER PREFERENCE SU...AGENTS AND OWL-S BASED SEMANTIC WEB SERVICE DISCOVERY WITH USER PREFERENCE SU...
AGENTS AND OWL-S BASED SEMANTIC WEB SERVICE DISCOVERY WITH USER PREFERENCE SU...
 
A review of soa modeling approaches for enterprise information systems
A review of soa modeling approaches for enterprise information systemsA review of soa modeling approaches for enterprise information systems
A review of soa modeling approaches for enterprise information systems
 
Introduction to Micro Services
Introduction to Micro ServicesIntroduction to Micro Services
Introduction to Micro Services
 
Service view
Service viewService view
Service view
 
Variability modeling for customizable saas applications
Variability modeling for customizable saas applicationsVariability modeling for customizable saas applications
Variability modeling for customizable saas applications
 
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
 
M.Phil Computer Science Server Computing Projects
M.Phil Computer Science Server Computing ProjectsM.Phil Computer Science Server Computing Projects
M.Phil Computer Science Server Computing Projects
 
M phil-computer-science-server-computing-projects
M phil-computer-science-server-computing-projectsM phil-computer-science-server-computing-projects
M phil-computer-science-server-computing-projects
 
Web services and SOA [Modified]
Web services and SOA [Modified]Web services and SOA [Modified]
Web services and SOA [Modified]
 
A Message-Passing Model For Service Oriented Computing
A Message-Passing Model For Service Oriented ComputingA Message-Passing Model For Service Oriented Computing
A Message-Passing Model For Service Oriented Computing
 
Web Services Based Information Retrieval Agent System for Cloud Computing
Web Services Based Information Retrieval Agent System for Cloud ComputingWeb Services Based Information Retrieval Agent System for Cloud Computing
Web Services Based Information Retrieval Agent System for Cloud Computing
 
Cc unit 2 updated
Cc unit 2 updatedCc unit 2 updated
Cc unit 2 updated
 

More from 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
 
Web Services - Business Process Execution Language
Web Services - Business Process Execution LanguageWeb Services - Business Process Execution Language
Web Services - Business Process Execution LanguageMartin 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
 
Web Services - SOAP (part 2)
Web Services - SOAP (part 2)Web Services - SOAP (part 2)
Web Services - SOAP (part 2)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
 
Web Services - Introduction
Web Services - IntroductionWeb Services - Introduction
Web Services - IntroductionMartin 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
 

More from Martin Necasky (16)

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
 
Web Services - Business Process Execution Language
Web Services - Business Process Execution LanguageWeb Services - Business Process Execution Language
Web Services - Business Process Execution Language
 
WS-Addressing
WS-AddressingWS-Addressing
WS-Addressing
 
RESTful Web Services
RESTful Web ServicesRESTful Web Services
RESTful Web Services
 
Web Services - WSDL
Web Services - WSDLWeb Services - WSDL
Web Services - WSDL
 
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)
 
Web Services - SOAP (part 2)
Web Services - SOAP (part 2)Web Services - SOAP (part 2)
Web Services - SOAP (part 2)
 
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
 
Web Services - Introduction
Web Services - IntroductionWeb Services - Introduction
Web Services - Introduction
 
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
 

Recently uploaded

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
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
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
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
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

Web Services - Architecture and SOAP (part 1)

  • 1. Web Services (NSWI145) Lecture 02: Web Services Model, SOAP Martin Nečaský, Ph.D. Faculty of Mathematics and Physics Charles University in Prague, Czech Republic Summer 2013
  • 2. Foundations of Web Services  4 views of Web Services Architecture  Message Oriented Model  Service Oriented Model  Resource Oriented Model  Policy Model Summer 2013
  • 3. Web Services Architecture Policy Policy Model Service Oriented Resource Model Oriented Service Model Resource Message Oriented Message Model Summer 2013
  • 4. Message Oriented Model Agent originates processes Headers has Message Message delivers Transport has Body Summer 2013
  • 5. Message Oriented Model http://www.w3.org/TR/2004/NOTE-ws-arch-20040211/#message_oriented_model Summer 2013
  • 6. Service Oriented Model Person or Message Organization signals owns Service describes uses realizes Metadata Agent Summer 2013
  • 7. Service Oriented Model http://www.w3.org/TR/2004/NOTE-ws-arch-20040211/#service_oriented_model Summer 2013
  • 8. Resource Oriented Model Person or URI organization has owns Resource is may have Service Representation Summer 2013
  • 9. Resource Oriented Model http://www.w3.org/TR/2004/NOTE-ws-arch-20040211/#resource_oriented_model Summer 2013
  • 10. Policy Oriented Model Person or Action organization about establishes Policy subject to about Agent Resource Summer 2013
  • 11. Policy Oriented Model http://www.w3.org/TR/2004/NOTE-ws-arch-20040211/#policy_model Summer 2013
  • 12. When Web Services are appropriate  for applications which must interoperate over the Internet with other applications  and, possibly, they did not originally supposed this  for applications which cannot be designed, implemented and evolved at once as one piece  for applications whose different parts run on different platforms and are owned by different persons/organizations  for applications which need to be exposed for use over the Internet  and, possibly, were not originally designated for this  where scalability, security, etc. need to be ensured Summer 2013
  • 13. Foundations of Web Services VISA WS MasterCard WS Lufthansa Travel Agent WS WS … Turkish Air. WS Search Hotel WS Summer 2013
  • 14. Foundations of Web Services  Web Services advantages  platform-independence  reusability  interoperability  scalability  adaptability Summer 2013
  • 15. W3C-style Web Services Processes XSLT BPEL WS-CDL Contract Management XSD Security WSDL WS-Policy Messages XML SOAP extensions SOAP Communications (HTTP, SMTP, …) Summer 2013
  • 16. W3C-style Web Services WSDL Web Service System SOAP Interface Agent Message Agent Summer 2013
  • 17. SOAP  Basics  Syntax  Processing Model  Communication Model  Network Protocol Bindings  Advantages/Disadvantages Summer 2013
  • 18. SOAP Basics  Simple Object Access Protocol  http://www.w3.org/TR/soap12-part0/  protocol for inter-application communication  applications = peers in decentralized and distributed environment Summer 2013
  • 19. SOAP Basics  de facto standard protocol for communication with Web Services  easily extensible  ideal for quickly evolving Web Service technologies  overcomes differences among proprietary heterogeneous peers  absolute necessity  lightweight  no need of specific environment to be installed  no configuration necessary  “Simple Object Access Protocol” is misleading  SOAP is not Simple  SOAP is not only Object Access Protocol Summer 2013
  • 20. SOAP Basics  stateless, one-way message exchange paradigm  more complex communication patterns can be created  request/response  publish/subscribe  application-specific patterns with more communication rounds or more participants Summer 2013
  • 21. SOAP Message Syntax  SOAP message is XML document  envelopes exchanged data  SOAP message is transferred over network via transfer protocol  HTTP, FTP, SMTP, …  or even TCP Summer 2013
  • 22. SOAP Message Syntax Sender Receiver exchanged exchanged data data SOAP message SOAP message HTTP/… message HTTP/… message Network Summer 2013
  • 23. SOAP Message Syntax  SOAP standardizes 3 XML elements  Envelope, Header, Body <Envelope> 0..1 1 <Header> <Body> 1..* 1..* header block body entry Summer 2013
  • 24. SOAP Message Syntax <?xml version="1.0"?> <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> <!–- Header is optional --> <env:Header> <!–- one or more header blocks --> </env:Header> <!–- Body is mandatory --> <env:Body> <!–- one or more body entries --> </env:Body> </env:Envelope> Summer 2013
  • 25. SOAP Message Syntax Envelope Example Summer 2013
  • 26. SOAP Message Syntax - Body Entry  application specific XML element  carries application data  end-to-end information Summer 2013
  • 27. SOAP Message Syntax - Body Example Summer 2013
  • 28. SOAP Message Syntax - Header Block  application specific XML element  carries data that is not part of application data itself  e.g. meta-data (message addressing, security, transactions, ...)  SOAP extension mechanism  SOAP modules  SOAP faults Summer 2013
  • 29. SOAP Syntax - Header Block  SOAP extensions via header blocks:  specific languages extending SOAP  WS-Encryption, WS-Trans, WS-Addressing, etc.  W3C, OASIS, etc.  each header block should have its own namespace  helps identify relevant header blocks Summer 2013
  • 30. SOAP Syntax - Header Example Summer 2013
  • 31. SOAP Syntax - Faults  all SOAP-specific and application-specific faults are reported using single element Fault in Body  network transfer protocol faults are reported using other protocol-specific mechanisms (e.g. HTTP)  separate SOAP message  mandatory Code and Reason  optional Detail, Node, Role Summer 2013
  • 32. SOAP Syntax - Faults  Code  reports specific kind of fault • particular kind of fault may require additional header blocks to be generated  mandatory Value • contains code value  optional Subcode • contains mandatory Value with application-specific sub-code value Summer 2013
  • 33. SOAP Syntax - Faults Code Semantics VersionMismatch Faulting node does not support the given version of SOAP. The node SHOULD specify how the messages should be upgraded with Upgrade header MustUnderstand Faulting node does not understand a header. The node SHOULD specify which header was not understood with NotUnderstood header DataEncodingUnknown Faulting node does not understand the message encoding Sender The message was incorrectly formed or did not contain the appropriate information in order to succeed. E.g. improper authentication details, registration information, etc. Receiver The message could not be processed for reasons attributable to the processing of the message rather than to the contents of the message itself. Something went wrong. Summer 2013
  • 34. SOAP Syntax - Faults  VersionMismatch <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:xml="http://www.w3.org/XML/1998/namespace"> <env:Header> <env:Upgrade> Ordered by preferences <env:SupportedEnvelope qname="soap1:Envelope" xmlns:soap1="http://www.w3.org/2003/05/soap-envelope"/> </env:Upgrade> </env:Header> <env:Body> <env:Fault> <env:Code><env:Value>env:VersionMismatch</env:Value></env:Code> </env:Fault> </env:Body> </env:Envelope> Summer 2013
  • 35. SOAP Syntax - Faults  MustUnderstand <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:xml="http://www.w3.org/XML/1998/namespace"> <env:Header> <env:NotUnderstood qname="abc:ExtensionABC" xmlns:abc="http://example.org/2011/abc"/> <env:NotUnderstood qname="xyz:ExtensionXYZ" xmlns:xyz="http://example.org/Martin"/> </env:Header> <env:Body> <env:Fault> <env:Code><env:Value>env:MustUnderstand</env:Value></env:Code> </env:Fault> </env:Body> </env:Envelope> Summer 2013
  • 36. SOAP Syntax Faults  Reason  for human understanding  contains description of fault in one or more Text elements Summer 2013
  • 37. SOAP Syntax Faults Example Summer 2013
  • 38. Homework 1  design your own business process  steps will be later realized as web services  one step has to be realized as an external web service, i.e. a service that is not under your control • e.g., http://wwwinfo.mfcr.cz/ares/ > Webové služby (in czech)  use BPMN to model the business process  http://www.bizagi.com or similar tool  see tutorial: http://www.omg.org/news/meetings/workshops/ HC-Australia/Mancarella.pdf Summer 2013
  • 39. Homework 1  in a more detail Hospital than this ... Reception Investigation Surgery Hospitalization •Food •Sanitary •Accommodation Utility Control Economy •Material •Reports Summer 2013
  • 40. Homework 1  something like this is sufficient ... Summer 2013