Your SlideShare is downloading. ×
0
Web Services - Introduction
Web Services - Introduction
Web Services - Introduction
Web Services - Introduction
Web Services - Introduction
Web Services - Introduction
Web Services - Introduction
Web Services - Introduction
Web Services - Introduction
Web Services - Introduction
Web Services - Introduction
Web Services - Introduction
Web Services - Introduction
Web Services - Introduction
Web Services - Introduction
Web Services - Introduction
Web Services - Introduction
Web Services - Introduction
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Web Services - Introduction

564

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
564
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
25
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 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 orComponent 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 componentsComponent A Component B Summer 2013
  • 6. Communication Patterns Arbitrary message exchange between more componentsComponent 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 AImplementation 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 DataTechnical (+OASIS) Protocol Protocol Services ServicesContractMessageFormatMessageTransferMessageTypeDefinitionInterfaceDefinitionOthertechnicaldocuments Summer 2013
  • 14. Technologies/Standards for Web Services Enterprise Subpart Open Google Semantic Linked of W3C REST Data Data Web DataTechnical (+OASIS) Protocol Protocol Services ServicesContractMessage XMLFormatMessage SOAP, HTTPTransferMessage XSDTypeDefinitionInterface WSDLDefinitionOther WS-*technicaldocuments Summer 2013
  • 15. Technologies/Standards for Web Services Web Subpart Open Google Semantic Linked of W3C REST Data Data Web DataTechnical (+OASIS) Protocol Protocol Services ServicesContractMessage XML, JSON XML, AtomPub,Format or AtomPub, JSON application JSON specificMessage HTTP HTTP HTTPTransferMessage XSD CSDLTypeDefinitionInterface WADLDefinitionOthertechnicaldocuments Summer 2013
  • 16. Technologies/Standards for Web Services Research Subpart Open Google Semantic Linked of W3C REST Data Data Web DataTechnical (+OASIS) Protocol Protocol Services ServicesContractMessage XML, RDFFormatMessage SOAP, HTTPTransferMessage RDFType Schema,Definition OWLInterface SAWSDL,Definition WSMLOthertechnicaldocuments Summer 2013
  • 17. Technologies/Standards for Web Services Web/Research Subpart Open Google Semantic Linked of W3C REST Data Data Web DataTechnical (+OASIS) Protocol Protocol Services ServicesContractMessage SPARQL, RDFFormatMessage HTTP, SPARQL GraphTransfer Store Protocol, SPARQL ProtocolMessage RDF Schema,Type OWLDefinitionInterface SPARQL Service DescriptionDefinitionOther SPARQL Query Resultstechnicaldocuments Summer 2013
  • 18. Technologies/Standards for Web Services In this semester Subpart Open Google Semantic Linked of W3C REST Data Data Web DataTechnical (+OASIS) Protocol Protocol Services ServicesContractMessage XML XML, JSON AtomPub, AtomPub, XML, RDF SPARQL, RDFFormat JSON JSONMessage SOAP, HTTP HTTP HTTP HTTP SOAP, HTTP HTTP, SPARQL GraphTransfer Store Protocol, SPARQL ProtocolMessage XSD XSD CSDL RDF Schema, RDF Schema,Type OWL OWLDefinitionInterface WSDL WADL SAWSDL, SPARQL Service WSML DescriptionDefinitionOther WS-* SPARQL Query Resultstechnicaldocuments Summer 2013

×