Service Oriented Architectures Semantics, Processes, Agents Based of Book by: (Munindar P. Singh, Michael N. Huhns) Ben Snively EEL6938 Classroom: Eng.

Slides:



Advertisements
Similar presentations
웹 서비스 개요.
Advertisements

Web Service Architecture
Siebel Web Services Siebel Web Services March, From
Chapter 10: Execution Models Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 31 Slide 1 Service-centric Software Engineering 1.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
Realisation of SOA using Web Services Adomas Svirskas Vilnius University December 2005.
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.
Business Process Orchestration
Web Services Seppo Heikkinen MITA seminar/TUT
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.
1 Adapting BPEL4WS for the Semantic Web The Bottom-Up Approach to Web Service Interoperation Daniel J. Mandell and Sheila McIlraith Presented by Axel Polleres.
Web Service What exactly are Web Services? To put it quite simply, they are yet another distributed computing technology (like CORBA, RMI, EJB, etc.).
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.
Processing of structured documents Spring 2003, Part 6 Helena Ahonen-Myka.
Enterprise Systems & Architectures. Enterprise systems are mainly composed of information systems. Business process management mainly deals with information.
THE NEXT STEP IN WEB SERVICES By Francisco Curbera,… Memtimin MAHMUT 2012.
Web Services Mohamed Fahmy Dr. Sherif Aly Hussein.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Web services Dr Jim Briggs 1. Evolution of electronic interaction Web Services is the next step in the automation of inter-enterprise interaction Web.
The Semantic Web Service Shuying Wang Outline Semantic Web vision Core technologies XML, RDF, Ontology, Agent… Web services DAML-S.
Outline  Enterprise System Integration: Key for Business Success  Key Challenges to Enterprise System Integration  Service-Oriented Architecture (SOA)
Agent Model for Interaction with Semantic Web Services Ivo Mihailovic.
Web Services Description Language CS409 Application Services Even Semester 2007.
Semantic Web Fred: Project Objectives & SWF Framework Michael Stollberg Reinhold Herzog Peter Zugmann - 07 April
10/18/20151 Business Process Management and Semantic Technologies B. Ramamurthy.
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.
Introduction to Server-Side Web Development Introduction to Server-Side Web Development using JSP and Web Services JSP and Web Services 18 th March 2005.
1 UNIT –II Architecting Web Service. 2 Why SOA? – business point of view  Information Technology (IT) workers face many challenges, including: Limited.
1 Web Services Web and Database Management System.
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
Semantic Phyloinformatic Web Services Using the EvoInfo Stack Speaker: John Harney LSDIS Lab, Dept. of Computer Science, University of Georgia Mentor(s):
A Mediated Approach towards Web Service Choreography Michael Stollberg, Dumitru Roman, Juan Miguel Gomez DERI – Digital Enterprise Research Institute
Slide 1 Service-centric Software Engineering. Slide 2 Objectives To explain the notion of a reusable service, based on web service standards, that provides.
Providing web services to mobile users: The architecture design of an m-service portal Minder Chen - Dongsong Zhang - Lina Zhou Presented by: Juan M. Cubillos.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
Introduction to Web Services Presented by Sarath Chandra Dorbala.
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
Java Web Services Orca Knowledge Center – Web Service key concepts.
Service-Oriented Computing: Semantics, Processes, Agents
Sabri Kızanlık Ural Emekçi
WEB SERVICES.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Unit – 5 JAVA Web Services
Web Ontology Language for Service (OWL-S)
Service-Oriented Computing: Semantics, Processes, Agents
Service-centric Software Engineering
Service-centric Software Engineering 1
Service Oriented Architecture
Distributed Systems through Web Services
Service-Oriented Computing: Semantics, Processes, Agents
AGENT FRAMEWORK By- Arpan Biswas Rahul Gupta.
Distributed System using Web Services
Business Process Management and Semantic Technologies
Distributed System using Web Services
Presentation transcript:

Service Oriented Architectures Semantics, Processes, Agents Based of Book by: (Munindar P. Singh, Michael N. Huhns) Ben Snively EEL6938 Classroom: Eng I Class Hours: Tues, Thurs 10: :45

University of Central Floridawww.ucf.edu Outline  Breadth over SOA Technologies  Leveraging a SOA  Agents/Multi-agents  Agent integration into a SOA

University of Central Floridawww.ucf.edu Service Oriented Architecture Breadth Overview  SOA is an Architectural Approach of Designing, Implementing, and Deploying Services.  So what’s a Service…  Services are Course Grain, Loosely Coupled, and Distributed components.  More concrete definitions to follow…

University of Central Floridawww.ucf.edu Services  Services must have a well defined interface.  Understand parameters/complex types to the service.  Discoverable and Stateless entities.  Find a Service that matches my need.  Shared Communication Models  Understand how to call the service.

University of Central Floridawww.ucf.edu Services  Producer (Service Implementation) and Consumer (Caller of the Service) interact the well-defined interfaces.  Hiding the Implementation.  Service becomes independent of  Language, Platform, and Location. ConsumerProducer

University of Central Floridawww.ucf.edu Service Review  Services are  Course Grain  Loosely Coupled  Distributed  Well Defined Interfaces  Discoverable  Shared communication Model  Independent of Implementation  Standards Based.

University of Central Floridawww.ucf.edu Services – Side note  Everything should not be made a service.  Service explosion occurs  So what should be a service:  Cost of doing job by client should be much greater than the cost of calling service + service doing it.  Why send a request to do 2+2, when overhead to send the request is more than calculating result.  Re-usable components.

University of Central Floridawww.ucf.edu Our Sample for Today - eBay  We’ll use eBay as an example that we can all relate to.  Candidates to be a Services:  eBay Services  Bid Service – User Bid on Item  Auction Item Search – User Search  Auction Item Description – Pull Description  PayPal Services  SendPayment – Send Payment

University of Central Floridawww.ucf.edu Web Services  Web Services is NOT Web Pages.  “Web” since it often operates over HTTP/HTTPS  Advantage: HTTP “naturally open” for firewall ports.  Type of Service Framework  Standardized ways for  Communication (providing Shared Communication Model)  SOAP  Interface Definition (providing Well Defined Interfaces)  WSDL – Web Service Definition Language  Discovery  UDDI

University of Central Floridawww.ucf.edu Web Service Model ConsumerProducer Registry (UDDI) 1.Registers/Publish a Service (WSDL) 2. Request Service for requirement. 3. Invoke/Bind to Service (SOAP)

University of Central Floridawww.ucf.edu WSDL – Interface Definition  XML Document that defines  Parameters to the Service  Parameters are sent in the form of ASCII XML.  Binary sent either through:  Pointers  Attachments  Binary  ASCII Encoding  Methods  Location/Port of the Service

University of Central Floridawww.ucf.edu Invoking the Service  Since it’s XML Document sent as the Message.  Sender responsible for transforming it’s data type into XML  Called Marshalling  Receiver responsible for transforming the XML back into the data type  Called Un/Demarshalling  Allows for heterogeneous environment (Java talking to C++, C, etc..)

University of Central Floridawww.ucf.edu Services and Agents Consumer Reactive Agent Often times: Distributed Services are implemented using Distributed Reactive Agents (which need to be discovered/etc..) Reactive Agent Reactive Agent SOAP Sensor Actions KB StrategyGoals SOAP Actuators

University of Central Floridawww.ucf.edu Now What  We have all the course grain services – how do we get anything done.  Services become “Building Blocks” for doing complex tasks and processing.

University of Central Floridawww.ucf.edu Achieving Business Goals  Processes execute series/parallel of services/agents.  Services used by multiple processes.  Manufacturing Example: Automobiles  Companies share components between different models (i.e. Engines, Frames, etc).  Multiple “Assembly Lines” reuse these components to product different products.

University of Central Floridawww.ucf.edu Types of Processes  Orchestration  Central composer organizes/controls flow and calls  Choreography  Control is shared between participants, having agreement ahead of time.  Collaboration  Choreography, with ability to enter relationships, such as contracts and obligations. Participants become Business Partners.  Workflow  Human-oriented tasks

University of Central Floridawww.ucf.edu Process Example eBay Example:  Automatic bid/purchase of auction item 1. Bid X number of dollars right before end of auction  WS CALL 2. IF (WON) a) Complete eBay Checkout  WS CALL b) Send PayPal Payment  WS CALL c) Send Client notification of Won Item  WS CALL 3. ELSE a) Send Client notification that Item not won.  WS CALL

University of Central Floridawww.ucf.edu Issues with SOA  Web Service pattern does not work – Discovery issue.  Has become development time task of selecting correct service.  Standard simply define the syntax and means to communication.  Missing semantics of the service, parameters, contracts – which are required for machine to understand service.

University of Central Floridawww.ucf.edu Adding Semantics  Web Service Standards  An XML Schema document gives us syntactic details.  Doesn’t identify the content represented by a document.  User Schemas allow multiple representations for the same content  Example: CustomerID and Customer_ID in two schemas may refer to the same entity.  RDF expresses the content itself, adding meaning to the elements in the document.  OWL extends RDF to add richer meaning

University of Central Floridawww.ucf.edu OWL – Web Ontology Language  includes  Descriptions of classes  Class properties  Relationships between classes/instances  Restrictions and Axioms  OWL is designed for use by applications that need to process the content of information instead of just presenting information to humans.* (* from Wikipedia)

University of Central Floridawww.ucf.edu OWL Entities and Relationships

University of Central Floridawww.ucf.edu OWL Inference  Information from different sources references the same object (URI) are automatically combined.  We can declare  No Person can have more than one mother  Mary is John’s mother  Jane is John’s mother  Normal data constraints cause integrity violation  OWL reasoner infers Mary = Jane (John is referenced using ID/not Name)

University of Central Floridawww.ucf.edu Combing SOA and OWL  Web Ontology Language – Services (OWL-S)  OWL-S  Adds Semantics to the Web Service Framework, extended it’s syntactical standards.  Allowing for service selection and understanding by Computers/Programs Page 318  Goal:  “MAKE WEB SERVICES AMBIGIOUSLY INTERPRETABLE BY A COMPUTER/AGENT”

University of Central Floridawww.ucf.edu OWL-S Explained  Describes  Declarative Properties and Capabilities (for Discovery)  Declarative APIs  Declarative Descriptions  Inputs, Outputs, Preconditions, Effects  ** Used for Composition and Interoperation.  Allows systems to programmatically use services.

University of Central Floridawww.ucf.edu OWL-S Service Ontology Service function, applicability, quality of service, preconditions communication protocol, message formats, port numbers use of service, semantic content of requests, outcome conditions, SERVICE REALLY WHAT MATCHES NEEDS

University of Central Floridawww.ucf.edu Agents for Service Oriented Computing Unlike Basic Services, agents  Know about themselves, and could know about their users and their competitors  Use and reconcile ontologies or other forms of Knowledge base  Extends the simple stateless service.  Learn  Are proactive (in some cases)  Form commitments and communicate  Can be cooperative

University of Central Floridawww.ucf.edu Multi-Agent Systems  Tradational thought:  1 Server  1 Solution  Examples includes Services, Processes (which could be made up from other distributed services)  Collaboration Agents/Services  Retain identity, but more explicitly interacts with other services.

University of Central Floridawww.ucf.edu Collaboration Agents/Services  They must  Operate Asynchronously  Allow choice between services  Engage in negotiations  Describable through declarative means  NOT PROCEDURAL.  Web  Sem Web  Srvc  Agents  Multi-Agents

University of Central Floridawww.ucf.edu Combining Agents with Traditional Web Services

University of Central Floridawww.ucf.edu Service Composition as Planning  Service composition solved implemented as an automatic planning problem:  States of the world (current and desired or goal) can be represented formally through Ontology and Knowledge structures.

University of Central Floridawww.ucf.edu Actions  Actions are activated through Service calls – rather than actuators.  OWL-S allows for the agent to quickly  Find Services  Make sure they semantically implement what need to get done  Which define: Inputs, Outputs, Pre-conditions, Post- conditions, and other characteristics of the service.  Actions could have reward functions/etc

University of Central Floridawww.ucf.edu Planning  Plan becomes a set of services that are invoked.  Called under suitable constraints of control and data flow  Agent designs could be applied depending on situation.  Could use:  MDP, POMDP, Rules-based, Case-based, BDI, etc…

University of Central Floridawww.ucf.edu Two Patterns for Engineering Service Applications

University of Central Floridawww.ucf.edu eBay Example  Deal-finder Agent  Rather than saying – bid max on price on Item X, of type Product Y.  Give me the best price on Product Y  Start learning, acting, and re-acting it’s environment – through the set of composite services.  End up getting Product Y for a customer at the best price available.  Could build similar agent to buy, sell goods, with the goals to make a profit and operate on their own.  Get Auction Items would be used in both buying and selling agents.

University of Central Floridawww.ucf.edu Questions?  Questions?