Topics on Web Services COMP6017 Dr Nicholas Gibbins – 2013-2014.

Slides:



Advertisements
Similar presentations
웹 서비스 개요.
Advertisements

Web Services Architecture An interoperability architecture for the World Wide Service Network.
REST Introduction 吴海生 博克软件(杭州)有限公司.
Siebel Web Services Siebel Web Services March, From
Overview of Web Services
Chapter 19 – Service-oriented Architecture
An Introduction to Web Services Sriram Krishnan, Ph.D.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 31 Slide 1 Service-centric Software Engineering 1.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
1 Understanding Web Services Presented By: Woodas Lai.
Web Services Nasrullah. Motivation about web service There are number of programms over the internet that need to communicate with other programms over.
Realisation of SOA using Web Services Adomas Svirskas Vilnius University December 2005.
SOA and Web Services. SOA Architecture Explaination Transport protocols - communicate between a service and a requester. Messaging layer - enables the.
Presentation 7 part 1: Web Services Introduced. Ingeniørhøjskolen i Århus Slide 2 Outline Definition Overview of Web Services Examples Next Time: SOAP.
Presentation 7: Part 1: Web Services Introduced. Outline Definition Overview of Web Services Examples Next Time: SOAP & WSDL.
OASIS Reference Model for Service Oriented Architecture 1.0
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
1 Introduction to SOA. 2 The Service-Oriented Enterprise eXtensible Markup Language (XML) Web services XML-based technologies for messaging, service description,
Presentation 7 part 2: SOAP & WSDL. Ingeniørhøjskolen i Århus Slide 2 Outline Building blocks in Web Services SOA SOAP WSDL (UDDI)
Latest techniques and Applications in Interprocess Communication and Coordination Xiaoou Zhang.
Understand Web Services
A New Computing Paradigm. Overview of Web Services Over 66 percent of respondents to a 2001 InfoWorld magazine poll agreed that "Web services are likely.
Introduction to Service-Oriented Architecture. Outline Definition Features Examples of SOA Web Service Standards Example Pros and Cons Integration with.
2006 IEEE International Conference on Web Services ICWS 2006 Overview.
Kmi.open.ac.uk Semantic Execution Environments Service Engineering and Execution Barry Norton and Mick Kerrigan.
Web Service Architecture Part I- Overview and Models (based on W3C Working Group Note Frank.
B. RAMAMURTHY Web services. Topics What is a web service? From OO to WS WS and the cloud WS code.
Web Services Michael Smith Alex Feldman. What is a Web Service? A Web service is a message-oriented software system designed to support inter-operable.
THE NEXT STEP IN WEB SERVICES By Francisco Curbera,… Memtimin MAHMUT 2012.
Web Services Mohamed Fahmy Dr. Sherif Aly Hussein.
1 Web Services Distributed Systems. 2 Service Oriented Architecture Service-Oriented Architecture (SOA) expresses a software architectural concept that.
Web Services Architecture1 - Deepti Agarwal. Web Services Architecture2 The Definition.. A Web service is a software system identified by a URI, whose.
Presentation 7: Part 1: Web Services Introduced. Outline Definition Overview of Web Services Examples Next Time: SOAP & WSDL.
UDDI ebXML(?) and such Essential Web Services Directory and Discovery.
What is Service Oriented Architecture ? CS409 Application Services Even Semester 2007.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Architecting Web Services Unit – II – PART - III.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 09. Review Introduction to architectural styles Distributed architectures – Client Server Architecture – Multi-tier.
Web Services Based on SOA: Concepts, Technology, Design by Thomas Erl MIS 181.9: Service Oriented Architecture 2 nd Semester,
XML Web Services Architecture Siddharth Ruchandani CS 6362 – SW Architecture & Design Summer /11/05.
1 Advanced Software Architecture Muhammad Bilal Bashir PhD Scholar (Computer Science) Mohammad Ali Jinnah University.
An Ontological Framework for Web Service Processes By Claus Pahl and Ronan Barrett.
Web Services. Abstract  Web Services is a technology applicable for computationally distributed problems, including access to large databases What other.
Page 1 SOA, Service Definitions, Gaps & Standards Roadmap Harmonization (Joint effort between OMG, The Open Group, OASIS and W3C) By: OMG: James Odell,
1 UNIT –II Architecting Web Service. 2 Why SOA? – business point of view  Information Technology (IT) workers face many challenges, including: Limited.
Service Oriented Architecture CCT355H5 Professor Michael Jones Suezan Makkar.
Distribution and components. 2 What is the problem? Enterprise computing is Large scale & complex: It supports large scale and complex organisations Spanning.
Introduction to Semantic Web Service Architecture ► The vision of the Semantic Web ► Ontologies as the basic building block ► Semantic Web Service Architecture.
Kemal Baykal Rasim Ismayilov
Slide 1 Service-centric Software Engineering. Slide 2 Objectives To explain the notion of a reusable service, based on web service standards, that provides.
Web Technologies Lecture 10 Web services. From W3C – A software system designed to support interoperable machine-to-machine interaction over a network.
Advanced Web Technologies Lecture # 5 By: Faraz Ahmed.
Introduction to Web Services Presented by Sarath Chandra Dorbala.
Introduction to Service Orientation MIS 181.9: Service Oriented Architecture 2 nd Semester,
Software Architecture Patterns (3) Service Oriented & Web Oriented Architecture source: microsoft.
A service Oriented Architecture & Web Service Technology.
Service Oriented Architecture (SOA) Prof. Wenwen Li School of Geographical Sciences and Urban Planning 5644 Coor Hall
Sabri Kızanlık Ural Emekçi
Architecting Web Services
Unit – 5 JAVA Web Services
SOA (Service Oriented Architecture)
Architecting Web Services
Representational State Transfer
Overview of Web Services
Introduction to Web Services and SOA
Service-centric Software Engineering
Service-centric Software Engineering 1
Distributed Systems through Web Services
Introduction to Web Services and SOA
Presentation transcript:

Topics on Web Services COMP6017 Dr Nicholas Gibbins –

Module Aims 2 Introduce you to service oriented architectures Introduce you to both traditional and RESTful Web Services Give you in-depth knowledge of Web Services Give you practical hands-on experience of RESTful Web Services

People 3 Office hours for nmg: Friday Nick GibbinsEnrico Costanza

Module Structure 4 One double lecture each week –Friday , 05/2015 –Note: extra slots in timetable in week 4 are incorrect Assessment –75% Exam –25% Group Coursework

Coursework 5 One coursework worth 25% of your final mark –Groups of three –Construct a RESTful web service and client using JavaScript and node.js –Coursework specification published on Friday of week 5 –Deadline on Tuesday of week 11 (10 th December) –Feedback by the end of week 12

Teaching Schedule 6 Week 1Overview Web Services Architecture Architecture of the World Wide Web Week 2CANCELLED Week 3Web Protocols: HTTP REST and Resource Oriented Architectures Week 4Web Protocols: SOAP REST in Practice Week 5Service Description: WSDL Introduction to JavaScript and node.js

Teaching Schedule 7 Week 6Service Discovery: UDDI Coursework Briefing Week 7 Addressing and Policy Coursework Support Week 8 Security Coursework Support Week 9-11Coursework Support Week 12Review

Service Orientation

Component-based software design paradigm Organise and use heterogeneous distributed capabilities Many existing technologies: –Java RMI, CORBA, DCOM, WCF, Web Services, REST

What is a service? 10 Services as contractually defined behaviours Services as task-performing components Services as collections of related capabilities Services combine information and behaviour

8 Principles for Service Orientation Loose coupling Shared formal contracts Abstraction Composability Reusability Autonomy Statelessness Discoverability 11

Loose Coupling 12 Coupling is a measure of the degree of dependency between components –Tight coupling limits flexibility –Loose coupling promotes ad hoc reuse of components

Shared Formal Contract 13 Services have descriptions that document: –programmatic interface –communication requirements and protocols –constraints –usage policies

Abstraction 14 Service contract describes the external view of a service –service internals are hidden –limits formation of dependencies (loosens coupling) Service internals may change with minimal impact on clients

Composability 15 Service abstraction allows the encapsulation of other services –internally, a service may be a client of other services –services may aggregate several services

Reusability 16 Separation of concerns encourages reuse of components –Service contracts describe services to clients

Autonomy 17 Services exist independently Services control their underlying logic –subject to commitments made in service contracts

Statelessness 18 State consists of data specific to current activity –State management consumes resources Statelessness increases scalability and availability

Discoverability 19 Service discovery is key to SOA –service contracts describe services to facilitate consumption by potential clients –clients may search for services by the features of their contracts

Architecture 20

What is an architecture? Logical architecture Process architecture Development architecture Physical architecture 21

Logical Architecture Primarily supports the functional requirements –i.e. what the system should provide in terms of services to its users. The system will be decomposed into a set of abstractions, and their high level interactions will be identified 22

Process Architecture Takes into account some non-functional requirements, such as performance and availability Addresses issues of concurrency and distribution, of system integrity, of fault-tolerance 23

Development Architecture Focuses on the actual software module organisation, including libraries 24

Physical Architecture Takes into account primarily the non-functional requirements of the system –availability –reliability –performance –scalability 25

… what about COMP6017? 26 We are essentially going to cover a logical architecture, identifying core functionality offered by Web Services. Some elements of process architecture, and in particular concurrency and distribution, will be addressed too. We discuss the development architecture, when investigating REST.

Introduction to Web Services

Web Service Definition A Web Service is a software system designed to support interoperable machine-to-machine interaction over a network. It has an interface described in a machine-processable format (specifically WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP messages, typically conveyed using HTTP with an XML serialization in conjunction with other Web-related standards. (Web Service Glossary) 34

Discussion Not universally accepted Too minimalist: does not mention policies, choreography, security Too specific, refers to standards that are not universally accepted (e.g., wsdl) 35

Service Definition A service is a mechanism to enable access to a set of capabilities, where the access is provided using a prescribed interface and is exercised consistent with constraints and policies as specified by the service description. A service is provided by one entity for use by others, but the eventual consumers of the service may not be known to the service provider and may demonstrate uses of the service beyond the scope originally conceived by the provider. (OASIS SOA Reference Model) 36

Engaging a Web Service 37

Roles (1): service vs. agent 38 A Web Service is an abstract notion that must be implemented by a concrete agent. The Agent is the concrete piece of software that sends and receives messages, while the service is the resource characterized by the abstract set of functionality that is provided

Roles (2): provider vs requester 39 The service provides functionality on behalf of its owner (a person or organisation): the provider entity. A requester entity is a person or organization that wishes to make use of a provider entity's Web service. A requester entity uses a requester agent to exchange messages with the provider entity's provider agent.

Roles (3): description 40 The mechanics of the message exchange are documented in a Web Service description. It defines the –message formats, –datatypes, –transport protocols, and – transport serialization formats that should be used between the requester agent and the provider agent.

Roles (4): semantics 41 The semantics of a Web service is the shared expectation about the behaviour of the service, in particular in response to messages that are sent to it. In effect, this is the contract between the requester entity and the provider entity regarding the purpose and consequences of the interaction.

Engaging a Web Service 42 1.The requester and provider entities become known to each other (or at least one becomes known to the other); 2.The requester and provider entities somehow agree on the service description and semantics that will govern the interactions between them; 3.The service description and semantics are exploited by the requester and provider agents; 4.The requester and provider agents exchange messages. (I.e., the exchange of messages with the provider agent represents the concrete manifestation of interacting with the provider entity's Web service.)

Web Service Models 43

Web Service Models Message Oriented Model Service Oriented Model Resource Oriented Model Policy Model 44

Focuses on messages, message structure, message transport and so on Message Oriented Model 45

Focuses on aspects of service, action and so on. -In any distributed system, services cannot be adequately realized without some means of messaging, the converse is not the case: messages do not need to relate to services. Service Oriented Model 46

Focuses on resources that exist and have owners. Resource Oriented Model 47

Focuses on constraints on the behaviour of agents and services. -Generalize to resources -Policies can apply equally to documents (such as service descriptions) as well as active computational resources. Policy Model 48

Conclusion 49 No agreed definition of what a Web Service is, but a reasonable intuition Not a single vision for Web Services (multiple standardisation committees, etc) Multiple and competing WS stacks Architecture does not discuss resources with state