470 likes | 617 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
ProcedureModel 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 andRelationships 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 AnalyseDocuments Componenets • Name and Business Rule • Cardinality and Type • Structure or Content 4.3 Assemble Document Components
Analysis – 4th Step – Data View Analyse Documents Componenets
Analysis – 4th Step – Data View Assemble Document Components
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 ofBusiness 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 Operationsaretypecastas: One-Way Notification Request-response Solicit-response Activitiesaretypecastas: invoke receive (sync) receive (async) reply (sync) reply (async)
Design – 7th Step – Service OperationsSpecification of In- and Output Parameter • Office of Departure should provide a Service Operation: • submitExportDeclaration • Input-Parameter: Declaration • Output-Parameter: ControlResult
Design – 8thStep – Service OperationsDefinition of Services • As a Maximun all identified Service Operationsofonerolearetakentogetherin one Service. • As Minimum the Service Operationsofone Business Transaction shouldbetakentogetheras a Service • Data Cohesion • Logical Cohesion • FunctionalCohesion
Design – 8thStep – Service OperationsDefinition of Services • As a Maximun all identified Service Operationsofonerolearetakentogetheras a Service • As Minimum the Service Operationsofone Business Transaction shouldbetakentogetheras a Service • Logical Cohesion • FunctionalCohesion • Data Cohesion
Design – 8th Step – Service OperationsConsolidationofServices
Design – 8th Step – Service Landscape Customs BorderCrossingCustoms FederalStatisticalOffice Businesses Office of Exit Office ofDeparture Consignor Office of Transit Consignee Office of Destination
Agenda • Motivation • Basics of Method-Engineering • Meta-Model • Procedure Model 4.1. Analysis 4.2. Design 4.3. Implementation • Summary
Implementation – 9th Step – Data ContractConceptof Data Contract Business DocumentModule 0..n 1 Business ObjectModule 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 ContractUnqualifiedData Type Example
Implementation – 9th Step – Data ContractBusiness DocumentModule Example
Implementation – 9th Step – Data Contract Business Documentas 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 – 10thStep – Service ContractImplementationofContract(graphically)
Implementation – 10thStep– Service ContractImplementationofService Contract
Implementation – 11th StepImplementationof Service Interface
Implementation – 12th Step Coding& Deploymentof Web Services
Implementation – 12th Step Coding& Deploymentof Web Services
Agenda • Motivation • Basics of Method-Engineering • Meta-Model • Procedure Model 4.1. Analysis 4.2. Design 4.3. Implementation • Summary