We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!
Presentation is loading. Please wait.
Published bySydney Carney
Modified over 2 years ago
WS Choreography v.0-1 Overview This is work-in-progress David Burdett, Commerce One 18 June 2003
Commerce One Copyright © Topics Feature Overview XML Structures Whats missing Issues
Commerce One Copyright © Features Reusability A choreography definition is reusable in different contexts with different software and different message formats State Driven Processes or organizations that take part in choreographies maintain their state in the choreography Cooperative Organizations Describes how independent organizations or processes cooperate Verifiable Choreography definition can be used to verify that a Choreography is being followed correctly (How not yet defined) Multi-Party The specification allows Choreography Definitions with any number of organizations or processes involved Modular An "import" facility allows separately define components to be imported
Commerce One Copyright © Reusability Roles Describes the type of a process/organization behavior e.g. a Buyer or a Seller States Identifies the point within a choreography a Role has reached e.g. a Buyer State could be OrderSent after sending an Order Interactions Communicating information from one Role to another for a reason. e.g sending an Order to request a purchase of goods Message Families The set of messages that serve the same or similar purpose. e.g a RosettaNet Order, a UBL Order, an EDI Order, are all the same Processes Occurs as a result of some event such as a change of State
Commerce One Copyright © Why Reusability is important Big Co ($$$$$) Medium Co ($$$) Small Co ($) 1. Work my way or you dont get my business! 2. OK 3. Work Big Cos way or we cant do business! 4. STOP!!!! I cant afford to implement all these ways. Ill just continue with fax! 3a. Work Bigger Cos way or we cant do business! Medium Co 2 3b. Work even Bigger Cos way or we cant do business! Medium Co 3 3c. Work Mega Cos way or we cant do business! Medium Co 4 Developing reusable ways of doing business* that are based on common standards are a pre-requisite to bringing smaller businesses into widespread eCommerce 5. Big Co doesnt realize the benefits of automation as they cant extend all the way down the supply chain *Choreography definitions are just one of the essential parts!
Commerce One Copyright © Legend State Driven SellerBuyer Check Order Send Order Send Order Error Process Order Error New Order Created Order Error Message Checked Order Checked OK Order Checked Rejected Order Checked Error Order Sent Order Received Order Error Received Order Error Sent Interaction Process State
Commerce One Copyright © Interactions, Reliable Messaging and Signals SellerBuyer Check Order Send Order Order Sent Order Received Reliable Messaging Ack. Message Checked OK Message Processing Started Message Processing Complete Signals Reliable Messaging Interaction … the other messages are implementation dependent The Choreography definition defines just the messages that cause the state to change …
Commerce One Copyright © Cooperative Organizations SellerBuyer Check Order Send Order Send Order Error Process Order Error New Order Created Order Error Message Checked Order Checked OK Order Checked Rejected Order Checked Error Order Sent Order Received Order Error Received Order Error Sent xxx The Buyer cant control what the Seller does and vice versa … … but they both have to agree how they will cooperate … Private Process … which means they must have a shared understanding of what each will do!
Commerce One Copyright © Checking Choreography Progress SellerBuyer Send Order Order Sent Order Received ERP Record State Choreo- graphy Defin- ition State DB Shared Common Choreography Definition Check State State Errors Send Order Error Order Error Received Order Error Sent Record State Choreo- graphy Defin- ition Check State State DB ERP State Errors
Commerce One Copyright © Other Features Multi-Party Choreographies Any number of roles can take part One definition for all roles – makes sharing easier Importing Definitions Allows reusability of individual definitions, e.g. messages, roles, etc Extending Choreography Definitions Allows one Choreography to extend another … perhaps should be composition instead! Choreography Dependencies Once choreography can only execute after another, e.g. You can only query the state of a choreography if there is another choreography instance to query Semantic Definitions Two ways of defining semantics: in the XML, or at a URL Multi-lingual
XML Structures Note all attributes are required unless stated as optional
Commerce One Copyright © Choreography Definitions in multiple languages Import definitions from other files (works like WSDL) Define the roles involved Define the Message Families Define the Interactions Define one or more Choreography Definitions The same definitions can be reused in multiple choreographies
Commerce One Copyright © Choreography XML... Default language for content of Description elements
Commerce One Copyright © Description XML This section contains a set of choreographies for Order Management Optional. If present, over- rides default language for content Optional. If present is URL of more detailed readable specification Semantic definitions Description elements can always occur zero or more times. Each occurrence must be for a different language
This section contains a set of choreographies for Order Management Optional. If present, over- rides default language for content Optional. If present is URL of more detailed readable specification Semantic definitions Description elements can always occur zero or more times. Each occurrence must be for a different language">
This s" title="Commerce One Copyright © 200315 Description XML This s">
Commerce One Copyright © Import XML Import works in the same way as a WSDL Import
Import works in the same way as a WSDL Import">
Commerce One Copyright © Role & State A Role may have one or more states
Commerce One Copyright © Role & State XML This role represents the seller of goods or services... A Role name must be unique within a choreography file State names must also be unique within a choreography file States can also have a Description (not shown)
Commerce One Copyright © Message Family Messages in this family contain information to convey a request to purchase goods or services Message Family name must be unique within a choreography file URN uniquely identifies the Message Family
Commerce One Copyright © Interaction Definitions Send the order From the Buyer to the Seller The name of the Interaction Sending Role Receiving Role Whats being sent State of the sending role after the message is sent State of the receiving role after the message is received
The name of the Interaction Sending Role Receiving Role Whats being sent State of the sending role after the message is sent State of the receiving role after the message is received">
Commerce One Copyright © SellerBuyer Interaction End States Check Order Send Order New Order Created Order Sent Order Received Sending Role Receiving Role From State To State
Commerce One Copyright © Choreography Definition Allows one Choreography Definition to be the extension of another Declares a Choreography can only be followed if another choreography has been followed first Identifies the states that indicate the start and end of a choreography Defines the usage of an interaction Defines a process Interactions and processes can occur in any order
Commerce One Copyright © Choreography Definition (XML) A simple Order Management Choreography that includes the sending of an order from a Buyer to a Seller and the Seller returning an error if a problem is found Unique name Unique URN List of start and end states List of Interactions and Processes in any order
A simple Order Management Choreography that includes the sending of an order from a Buyer to a Seller and the Seller returning an error if a problem is found....... Unique name Unique URN List of start and end states List of Interactions and Processes in any order">
Commerce One Copyright © Start End States A state that indicates the start of the choreography A state that may be a last state for a Role in the choreography A state that is a last state for a Role in the choreography
Commerce One Copyright © Start End States example Start State Conditional End State SellerBuyer Check Order Send Order Send Order Error Process Order Error New Order Created Order Error Message Checked Order Checked OK Order Checked Rejected Order Checked Error Order Sent Order Received Order Error Received Order Error Sent End State If the Seller finds no problems with the Order, then OrderSent is the Buyers final state. But if problems are found then OrderErrorMessageChecked is the Buyers final state There is one Start state, but each Role must have one or more end states
Commerce One Copyright © Interactions and Processes A Boolean expression of states that must be true for the Interaction to occur A Boolean expression of states that must be true for the Process to occur A list of the possible end states for a process
Commerce One Copyright © Interaction and Process XML Send the order to the seller The seller checks the order. SellerBuyer Check Order Send Order New Order Created Order Checked OK Order Checked Rejected Order Checked Error Order Sent Order Received Reference to Interaction Definition Role that executes the process
Commerce One Copyright © Complete Choreography Example In this Choreography Definition, a Buyer sends an Order to a Seller. The Seller returns an Error Message, if the Order cannot be processed Send the order to the seller The seller checks the order. The order was in error - send an error Buyer Processes Order Error Message
Commerce One Copyright © Whats Missing from the spec Choreography Bindings to WSDL and SOAP Handling errors e.g. Message (document) errors, Process timeouts, transmission errors, etc Composing new choreographies out of existing choreographies Relationships to Reliable Messaging, signals and other protocols such as BTP and WS Transaction How Imports work Detailed schema validation rules, e.g. interdependencies Guidance on how to do run-time checks that a choreography is being correctly followed Inquiring on another roles choreography state Recovering from a failure of the choreography … this list is definitely not complete …
Commerce One Copyright © Issues Import Should also allow imports of process definitions Handling name conflicts between imports Roles & States name attributes are IDs, should probably make them unique just within their scope Roles should also be identified by a URI Processes Should be independently defined and importable
Day 2: Hands-on UML Using UML to put MITA to work to solve the immediate process improvement needs of states.
Aggregating Web Services: Choreography and WS-CDL Nickolaos Kavantzas, Web Services Architect Designer and Lead Editor of WS-CDL Oracle Corporation, April.
Use Cases 1. Question 1 Each waiter is assigned a group of tables, after taking orders for a table the waiters enter the orders (a list of dishes and.
Unit-V -SOFTWARE QUALITY. To develop and deliver robust system, we need a high level of confidence that Each component will behave correctly Collective.
An Introduction to Object Modeling An Introduction to Object Modeling The approach of using object modeling during systems analysis and design is called.
CHAPTER 7 An Introduction to XML. 7.1 Introduction XML stand for: eXtensible Markup Language Developed from SGML XML was designed to transport and store.
Ch:8 Design Concepts S.W Design should have following quality attribute: –Functionality –Usability –Reliability –Performance –Supportability (extensibility,
Construction process lasts until coding and testing is completed consists of design and implementation reasons for this phase –analysis model is not sufficiently.
HL7 Templates A means to Manage Complexity. Objectives What is an HL7 Template? What types of constraints can HL7 Templates define? What types of HL7.
Users Guide. You can create requisitions with multiple suppliers. There is automatic Purchase Order dispatch to multiple suppliers. It allows you to search.
Dive into WebRatio 6 BPM Milano, 09/11/2013 WebRatio Customer Services.
March 2011 P00801: E-Business Information Systems 1 Lecture 6 E-Business Modelling with UML Prof. Hong Zhu Department of Computing and Electronics Module.
Page 1 LAITS Laboratory for Advanced Information Technology and Standards Duh 7/10/03 Geospatial Service Workflow Concepts and Tools Liping Di Laboratory.
Web Services. What are Web Services? r Today, we normally use Web browsers to talk to Web sites m Browser names document via URL (lots of fun and games.
Testing Relational Database. Overview Once the design of a database system has been completed, the developers are ready to move into the implementation.
Testing the Workflows of a System Vasil Chimev Junior QA Engineer Centaur Team Centaur Team Telerik QA Academy Telerik QA Academy.
Information Systems Analysis and Design. Systems Modeling Enterprise Model graphically represents organizational entities and the relationships between.
Pi4soa Implementation Issues WS-CDL Candidate Recommendation December 2005 Pi4 Technologies Ltd.
Chapter - 5 Understanding Requirements Unit II. Introduction Definition : “The broad spectrum of tasks and techniques that lead to an understanding of.
Primer Maryann Hondo, IBM Umit Yalcinalp, SAP. Current Proposal Introduction The WS-Policy specification defines a policy to be a collection of policy.
Oracle Service Bus. Oracle Service Bus Core Features By fusing the concepts of the ESB, message brokering, and operational services management into a.
© Gerald Kotonya and Ian Sommerville 2010 Requirements Validation.
Data Analysis 1 Chapter 2.1 V3.1 Napier University Dr Gordon Russell.
1 Computer Systems & Architecture Lesson 3 5. Designing the Architecture.
23-Aug-14 HTML/XHTML Forms. 2 What are forms? is just another kind of XHTML/HTML tag Forms are used to create (rather primitive) GUIs on Web pages Usually.
FpML Modeling Task Force February 6, 2008 FpML Modeling Task Force February 6, 2008 Speakers: Karel Engelen, ISDA Brian Lynn, Global Electronic Markets.
Ch-10 Configuration Management. Introduction A software project produces a number of items during its execution including various documents, manuals,
Model Driven Software Development KP-IT Shared Application Services – EIS/SOA Rex Lam, Pascal Mattiocco, Enrique Meneses, Michael Rossman April, 2012.
Chapter 7 Requirement Modeling : Flow, Behaviour, Patterns And WebApps Unit - II.
1 Note content copyright © 2004 Ian Sommerville. NU-specific content © 2004 M. E. Kabay. All rights reserved. Formal Specification IS301 – Software Engineering.
© 2016 SlidePlayer.com Inc. All rights reserved.