420 likes | 528 Views
From Public Processes to Service Definitions A Method for the Model-Driven Derivation of Service Interfaces. SAP Research Switzerland, Andrea Fuchsloch, Diploma Student. Agenda. Motivation Basics of Method-Engineering Meta-Model Procedure Model 4.1. Analysis 4.2. Design
E N D
From Public Processes to Service DefinitionsA Method for the Model-Driven Derivation of Service Interfaces SAP Research Switzerland, Andrea Fuchsloch, Diploma Student
Agenda • Motivation • Basics of Method-Engineering • Meta-Model • Procedure Model 4.1. Analysis 4.2. Design 4.3. Implementation • Summary
Public Business Process= Interorganizational Collaboration Government Collaboration Collaboration Company A Company B Collaboration
Purpose of the Thesis BPEL, WS-Security, XML Schema, WSDL, UDDI, SOAP, Rest, XML, HTTP/S G ? ? A B Finding a way for model driven derivation of services, starting from public business processes 4
Agenda • Motivation • Basics of Method-Engineering • Meta-Model • Procedure Model 4.1. Analysis 4.2. Design 4.3. Implementation • Summary
Procedure Model 1 Analysis of potentialities Meta-Model Design and Choice of alternatives 2 Design ResultOutcome Planning and Implementation of Prototype 3 Techniques 4 Continuation Roles customer trainee mechanic secretary Arrange Appointment X Investigate Vehicle X X Order Parts x X Repair Vehicle x X Method EngineeringElements Elements of a Method
Method EngineeringElements and Relationships is part of Meta-Model Design Result / Outcome represents problem-oriented view produces / consumes guides creation of predecessor / successor is part of Role (Design) Activity Technique participates in consists of supports Procedure Model Tool
Agenda • Motivation • Basics of Method-Engineering • Meta-Model • Procedure Model 4.1. Analysis 4.2. Design 4.3. Implementation • Summary
Agenda • Motivation • Basics of Method-Engineering • Meta-Model • Procedure Model 4.1. Analysis 4.2. Design 4.3. Implementation • Summary
Procedure Model Analysis Design Implementation
Agenda • Motivation • Basics of Method-Engineering • Meta-Model • Procedure Model 4.1. Analysis 4.2. Design 4.3. Implementation • Summary
Analysis – 3rd Step – Message View Modeling of Communication
Analysis – 4th Step – Data View Identification of Business Objects • 4.1 Set up Documents Repository • 4.2 Analyse Documents Componenets • Name and Business Rule • Cardinality and Type • Structure or Content • 4.3 Assemble Document Components
Analysis – 4th Step – Data View Identification of Business Objects
Analysis – 4th Step – Data View Identification of Business Objects
Agenda • Motivation • Basics of Method-Engineering • Meta-Model • Procedure Model 4.1. Analysis 4.2. Design 4.3. Implementation • Summary
Design – 5th Step – Data View Specification of Business Objects
Design – 5th Step – Data View Consolidation of Business Objects
Design – 6th Step – Business TransactionsIdentification of Business Transactions
Design – 6th Step – Business TransactionsSpecification of Business Transactions ExportDeclaration ReleaseGoodsForExport
Design – 7th Step – Service OperationsIdentification of relevant Activities
Design – 7th Step – Service OperationsClassification of relevant Activities Operations are typecast as: One-Way Notification Request-response Solicit-response Activities are typecast as: invoke receive (sync) receive (async) reply (sync) reply (async)
Design – 8th Step – Service OperationsDefinition of Services • As a Maximun all identified Service Operations of one role are taken together as a Service • As Minimum the Service Operations of one Business Transaction should be taken together as a Service • Logical Cohesion • Functional Cohesion • Data Cohesion
Design – 8th Step – Service OperationsDefinition of Services • As a Maximun all identified Service Operations of one role are taken together as a Service • As Minimum the Service Operations of one Business Transaction should be taken together as a Service • Logical Cohesion • Functional Cohesion • Data Cohesion
Design – 8th Step – Service OperationsConsolidation of Services
Agenda • Motivation • Basics of Method-Engineering • Meta-Model • Procedure Model 4.1. Analysis 4.2. Design 4.3. Implementation • Summary
Implementation – 9th Step – Data ContractConcept of Data Contract Business Document Module 0..n 1 Business Object Module 1 1 1 Qualified Data Type Module Unqualified Data Type Module 1 1 1 Code List Module 0..n 0..n 0..n
Implementation – 9th Step – Data Contract (Un)QualifiedDataTypes and CodeLists • Ich bin ein Screenshot der UDT, QDT und einer Enumeration
Implementation – 9th Step – Data Contract Business Document as XSD • <?xmlversion="1.0"?> • <!-- ===================================================================== --> • <!-- ===== CustomsDocument Module ===== --> • <!-- ===================================================================== --> • <!-- • Schema agency: ITAIDE (Andrea Fuchsloch) • Schema version: 1.0 • Schema date: 30. March 2009 • --> • <xs:schemaxmlns:xs="http://www.w3.org/2001/XMLSchema"xmlns:bom="http://www.my.business.object.module"xmlns:cdm="http://www.my.customs.document.module"targetNamespace="http://www.my.customs.document.module"> • <!-- ================================================================== --> • <!-- ===== Import of Business Objects Module ===== --> • <!-- ================================================================== --> • <xs:import namespace="http://www.my.business.object.module"schemaLocation="../BusinessObjectModule.xsd"/> • <!-- ================================================================== --> • <!-- ===== Type Definition: ExportDeclarationType ===== --> • <!-- ================================================================== --> • <xs:elementname="ExportDeclaration" type="cdm:ExportDeclarationType"/> • <xs:complexTypename="ExportDeclarationType"> • <xs:sequence> • <xs:elementname="ExportDeclaration" type="bom:DeclarationType"/> • </xs:sequence> • </xs:complexType> • </xs:schema>
Implementation – 10th StepImplementation of Service Contract
Implementation – 10th StepImplementation of Service Contract
Implementation – 11th Step Implementation of Service Interface • Ich bin ein wundervoller Screenshot
Implementation – 12th Step Coding & Deployment of Web Services
Agenda • Motivation • Basics of Method-Engineering • Meta-Model • Procedure Model 4.1. Analysis 4.2. Design 4.3. Implementation • Summary