M2AP Methodology For Message Assembly Profile Improving traceability, reusability and instance interoperability in CIM XML message content schema design.

Slides:



Advertisements
Similar presentations
XML Schema Heewon Lee. Contents 1. Introduction 2. Concepts 3. Example 4. Conclusion.
Advertisements

Forest Markup / Metadata Language FML
A step-wise path to e61850 with UML IEC TC 57 WG10
ISO DSDL ISO – Document Schema Definition Languages (DSDL) Martin Bryan Convenor, JTC1/SC18 WG1.
Copyright © Open Applications Group, Inc. All rights reserved 11 David Connelly CEO, Open Applications Group,
SRDC Ltd. 1. Problem  Solutions  Various standardization efforts ◦ Document models addressing a broad range of requirements vs Industry Specific Document.
Modeling with the ECCF SS ● UML Profile for ECCF ● UML Redefinition Semantics ● Compliance ● Consistency ● Conformance ● Validation ● Transformation ●
IRS XML Standards & Tax Return Data Strategy For External Discussion June 30, 2010.
XML Exchange Development CAM Technology Tutorial – Public Sector NIEM Team, June 2011 CAM Test Model Data Deploy Requirements Build Exchange Generate Dictionary.
MTEI Methods & Tools for Enterprise Integration
1 1 Roadmap to an IEPD What do developers need to do?
® Eurostep.ESUKPC v0.1©Copyright Eurostep Limited An Introduction to ISO STEP Part 25 David Price.
Health Level Seven Experience Report Paul V. Biron Kaiser Permanente W3C XML Schema User Experience Workshop, Jun 21-22, 2005.
GJXDM Information Exchange Package Methodology Naming & Design Rules (MNDR) John Ruegg County of Los Angeles Information Systems Advisory Body GJXDM User.
1 CIM User Group Conference Call december 8th 2005 Using UN/CEFACT Core Component methodology for EIC/TC 57 works and CIM Jean-Luc SANSON Electrical Network.
Customization Discussion Revised 29 August Guidelines for Customization Introduction Design For conformance For compatibility Specification Using.
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Towards Translating between XML and WSML based on mappings between.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
CIM and UML Overview Terry Saxton Xtensible Solutions
Federal XML Naming and Design Rules and Guidelines Paul Macias.
Profiling Metadata Specifications David Massart, EUN Budapest, Hungary – Nov. 2, 2009.
UN/CEFACT Forum Wednesday, 16 March 2005 Lunch & Learn ATG XML NDR Mark Crawford ATG2 Chair U NITED N ATIONS C ENTRE F OR T RADE F ACILITATION A ND E LECTRONIC.
Spoken dialog for e-learning supported by domain ontologies Dario Bianchi, Monica Mordonini and Agostino Poggi Dipartimento di Ingegneria dell’Informazione.
Developing a common set of federal NDR’s Mark Crawford Draft April 28, 2005.
J-L Sanson, A. Maizener Cimug © Zamiren CimConteXtor A. Maizener : J.L. Sanson : Credit to Sebastien.
Discussion of UPCC comments UN/CEFACT Forum Meeting Geneva, –
Development Process and Testing Tools for Content Standards OASIS Symposium: The Meaning of Interoperability May 9, 2006 Simon Frechette, NIST.
Address Levels Business Use Alignment. Introduction Objective is to provide layers of address granularity tailored to business use Address use levels.
The Danish Approach to Standardization of Public Sector XML-Interfaces and Localization of International Standards OASIS Adoption Forum, Wednesday, 6 October.
An OO schema language for XML SOX W3C Note 30 July 1999.
Dr. Darius Silingas | No Magic, Inc. Domain-Specific Profiles for Your UML Tool Building DSL Environments with MagicDraw UML.
Sheet 1XML Technology in E-Commerce 2001Lecture 2 XML Technology in E-Commerce Lecture 2 Logical and Physical Structure, Validity, DTD, XML Schema.
1 Tutorial 14 Validating Documents with Schemas Exploring the XML Schema Vocabulary.
Tutorial 13 Validating Documents with Schemas
Schematron Tim Bornholtz. Schema languages Many people turn to schema languages when they want to be sure that an XML instance follows certain rules –DTD.
Sheet 1 DocEng’03, Grenoble, November 2003 Model Driven Architecture based XML Processing Ivan Kurtev, Klaas van den Berg University of Twente, the Netherlands.
XML Schema. Why Validate XML? XML documents can generally have any structure XML grammars define specific document structures Validation is the act of.
EAN.UCC Implementation of ebXML Pere Rosell, AECOC - EAN Spain Melanie Kudela, UCC May 2002.
Business Informatics Group Institute of Software Technology and Interactive Systems Vienna University of Technology Favoritenstraße 9-11/188-3, 1040 Vienna,
U NITED N ATIONS C ENTRE F OR T RADE F ACILITATION A ND E LECTRONIC B USINESS Under the auspices of United Nations Economic Commission for Europe UN/CEFACT.
TC 57 TC 57 UML/XML Workshop Report for CIM user Group Jun 2007 Netherlands (ARNHEM) EDF R&D.
Leveraging UBL for Developing Justice XML (GJXDM) Reference Documents John Ruegg County of Los Angeles Information Systems Advisory Body GJXDM User Conference.
® A Proposed UML Profile For EXPRESS David Price Seattle ISO STEP Meeting October 2004.
TC 57 CIM user Group Meeting June 2010 Milano 1 Technical Committee 57 POWER SYSTEMS MANAGEMENT AND ASSOCIATED INFORMATION EXCHANGE.
Representing data with XML SE-2030 Dr. Mark L. Hornick 1.
CEN/ISSS eBIF GTIB Project Meeting, Brussels Mar , 2009 CEN/ISSS eBIF GTIB Project Meeting, Brussels 1 CEN/ISSS eBIF Global eBusiness Interoperability.
The European Organisation for the Safety of Air Navigation AIXM UML to XSD AIXM XML Developers' Seminar.
ModTransf A Simple Model to Model Transformation Engine Cédric Dumoulin.
TC 57 CIM user Group Meeting October 2010 San Francisco 1 Technical Committee 57 POWER SYSTEMS MANAGEMENT AND ASSOCIATED INFORMATION EXCHANGE.
Manufacturing Systems Integration Division Development Process and Testing Tools for Content Standards Simon Frechette National Institute of Standards.
UN/CEFACT Mission Role of Architecture and Deliverables.
Using DSDL plus annotations for Netconf (+) data modeling Rohan Mahy draft-mahy-canmod-dsdl-01.
July 11, 2008OASIS SET TC OASIS Semantic Support for Electronic Business Document Interoperability (SET) TC Overview.
UCM Walldorf Notes UN/CEFACT Unified Context Methodology Project January
CIM User Group Overview Terry Saxton Vendor Co-Chair Open Smart Grid AMI-Ent Task Force Meeting July 14, 2009.
OASIS SET Reference Implementation iSURF Interoperability Service Utility for CPFR© Prof. Dr. Asuman Dogac and Yildiray Kabak.
1 XML and XML in DLESE Katy Ginger November 2003.
OGP Seabed Survey Data Model (SSDM)
Data Models: IDEF1X Advantages: Core available from the MIP.
Asuman Dogac, METU, Turkey Yildiray Kabak, SRDC Ltd.,Turkey
XML Schema for WIRED XML Detector Description Workshop
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Core Components and More
Data Modeling II XML Schema & JAXB Marc Dumontier May 4, 2004
Evaluating Compuware OptimalJ as an MDA tool
Information Systems Advisory Body GJXDM User Conference - June, 2005
2. An overview of SDMX (What is SDMX? Part I)
Semantic Markup for Semantic Web Tools:
New Applications Modeled
Task 55 Scope – TOSCA Profile
Presentation transcript:

M2AP Methodology For Message Assembly Profile Improving traceability, reusability and instance interoperability in CIM XML message content schema design : proposal based on UN/Cefact Core Component work Cyril.Effantin@edf.fr 5/8/2019

Before to start Dictionary for Words definition grammar English Text XML XSD 5/8/2019

Before to start XML XSD 5/8/2019

Before to start Specified by XSD File XML Instance 5/8/2019

Introduction 5/8/2019

Attributes value can be what we want! Generic Type String <Organisation> <name>EDF</name> <organisationCode>abcdefgh</organisationCode> <marketRole>gkfioererfdsflfk</marketRole> <organisationType>gkfioererfdsflfk</ organisationType > <ErpPerson> <lastName> Dupont</lastName> <firstName>Pierre</firstName> </ErpPerson> </Organisation> 5/8/2019

Attributes value can be what we want! Generic Type String <Organisation> <name>EDF</name> <organisationCode>abcdefgh</organisationCode> <marketRole>BalanceSupplier </marketRole> <organisationType>gkfioererfdsflfk</ organisationType > <ErpPerson> <lastName> Dupont</lastName> <firstName>Pierre</firstName> </ErpPerson> </Organisation> 5/8/2019

Generic XML instance !! All attributes are optional!! <Organisation> <name>EDF</name> <organisationCode>123456789</organisationCode> <marketRole>BalanceSupplier </marketRole> <ErpPerson> <lastName> Dupont</lastName> <firstName>Pierre</firstName> </ErpPerson> </Organisation> Generic XML instance !! 5/8/2019

We could also want compact XML instance!!! We may want marketRole value to be only (BalanceSupplier or Consumer) and no organisationType attribute in our XML instance. We could also want compact XML instance!!! <Organisation> <name>EDF</name> <organisationCode>123456789</organisationCode> <marketRole>BalanceSupplier Or Consumer</marketRole> <ErpPerson> <lastName> Dupont</lastName> <firstName>Pierre</firstName> </ErpPerson> </Organisation> Restricted XML Instance 5/8/2019

We could also want compact XML instance!!! <Organisation name=“EDF” organisationCode=“123456789” marketRole =“BalanceSupplier” > <ErpPerson> <lastName> Dupont</lastName> <firstName>Pierre</firstName> </ErpPerson> </Organisation> 5/8/2019

 How to manage all those specific XML needs ? We could also want compact XML instance!!! <Organisation name=“EDF” organisationCode=“123456789” marketRole =“BalanceSupplier” > <ErpPerson lastName =“Dupont” firstName =“Pierre” /> </Organisation>  How to manage all those specific XML needs ? 5/8/2019

UN/Cefact Specifications 5/8/2019

UML Contextual Model for a Business process UML Information Model UML Message Content Model XSD Implementation Message Model 5/8/2019

Core Components Core DataTypes message XML Implementation model UN/Cefact Docs CCTS Message Assembly BCSS XML NDR UN/Cefact Working Group CCWG ATG Modeling Level 1 Information Model Core Components Core DataTypes UML profile support for CCTS XML Schema generation rules Modeling Level 2 Contextual Model Business Information Entities Business dataTypes Modeling Level 3 Message Content Model Assembly Rules UML profile for message assembly XML Schema Assembly Rules Modeling Level 4 message XML Implementation model Output Files XMI XSD 5/8/2019

UN/Cefact proposed evolutions 5/8/2019

UML Message Contextual UML Information Model For a Generic Domain CCTS BCSS UCM Sub-Context/ Business Sub-Domain 0..N 1 UML Message Contextual UML Contextual Model for a Business Domain UML Message Sub-Contextual Models UML Message Assembly Model Msg Assembly Profile 2 UML Message Assembly Model Msg Assembly Profile 1 UML Message Assembly Model Msg Assembly Profile N UML Message Assembly Model Message Assembly XLM NDR XSD Implementation Message Model 5/8/2019

UML Information Model For a Generic Domain CCTS BCSS UCM Sub-Context/ Business Sub-Domain 1 UML Contextual Model for a Business Domain 0..N UML Message Sub-Contextual Models Msg Assembly Profile 1 Msg Assembly Profile N Msg Assembly Profile 2 UML Message Assembly Model UML Message Assembly Model UML Message Assembly Model Message Assembly Syntax Binding Profile 1 Syntax Binding Profile 2 Syntax Binding Profile N XLM NDR XSD Implementation Message Model XSD Implementation Message Model XSD Implementation Message Model 5/8/2019

Profile : Definition of some requirements (name and definition): what feature we want to have at XML level for the XML message instance? 2 consequences at UML and XML level: how to express this feature at XML level using XSD rules? How to express this feature at UML level in order to generate automatically those XSD rules from the UML models? Profile : 5/8/2019

UML Business Study example 5/8/2019

UML CIM Information Model 5/8/2019

UML CIM Information Model : Modeling CIM extensions 5/8/2019

UML Extended CIM Information Model 5/8/2019

Building UML Contextual Model 5/8/2019

UML Contextual Model 5/8/2019

UML Contextual Model: restrictions on associations <<ABIE>> <<ACC>> CuS_Organisation Organisation Restrictions on 0..n 1 1 0..n Is based on <<ASBIE>> Cus_ErpPerson <<ASCC>> ErpPerson <<ASCC>> Organisation 0..1 0..1 0..n 0..n <<ABIE>> <<ACC>> Restrictions on CuS_ErpPerson ErpPerson 5/8/2019

UML Contextual Model: Restrictions on a CIM Class 5/8/2019

UML Contextual Model: Restrictions on a CIM Class <<Is based On>> 5/8/2019

Final View on the UML Contextual Model 5/8/2019

UML Message Sub-Contextual Model And now what about Message Assembly ? What about XSD syntax binding ? What are the XSD generation rules from those UML information model ? 5/8/2019

Traceability, reusability and instance interoperability profile 5/8/2019

Requirement : “Traceability” in a machine understandable way do we want that the XSD keeps track of how ABIE were derived from (or based on)? 5/8/2019

Requirement : “Traceability” in a machine understandable way do we want this traceability to be check and validated directly using standard XSD parser? “<xs:restriction base=”Parent Component”>” 5/8/2019

Requirement : “Reusability” Do we want to be able to reuse a work already made from a business process study into another one? do we want to be able to share ABIEs through XSD? Need of good naming conventions for ABIEs, XML NameSpaces Need of a good modularity 5/8/2019

Requirement : “Instance Interoperability” for XML messages this has to deal with the ability to process a component instance, even if the application is not aware of the restrictions that have been applied to the corresponding ‘Aggregate Core Component” 5/8/2019

Generic XSD specifying a Generic CIM XML instance Requirement : “Instance Interoperability” for XML messages Generic XSD specifying a Generic CIM XML instance <Organisation> <name>EDF</name> <organisationCode>abcdefgh</organisationCode> <marketRole>gkfioererfdsflfk</marketRole> <organisationType>gkfioererfdsflfk</ organisationType > <ErpPerson> <lastName> Dupont</lastName> <firstName>Pierre</firstName> </ErpPerson> </Organisation> 5/8/2019

Generic XSD specifying a Generic CIM XML instance Requirement : “Instance Interoperability” for XML messages Generic XSD specifying a Generic CIM XML instance <Organisation> <name>EDF</name> <organisationCode>abcdefgh</organisationCode> <marketRole>BalanceSupplier </marketRole> <organisationType>gkfioererfdsflfk</ organisationType > <ErpPerson> <lastName> Dupont</lastName> <firstName>Pierre</firstName> </ErpPerson> </Organisation> 5/8/2019

Generic XSD specifying a Generic CIM XML instance Requirement : “Instance Interoperability” for XML messages Generic XSD specifying a Generic CIM XML instance <Organisation> <name>EDF</name> <organisationCode>123456789</organisationCode> <marketRole>BalanceSupplier </marketRole> <ErpPerson> <lastName> Dupont</lastName> <firstName>Pierre</firstName> </ErpPerson> </Organisation> 5/8/2019

Restricted XSD specifying a Restricted XML instance Requirement : “Instance Interoperability” for XML messages Restricted XSD specifying a Restricted XML instance Generic XSD specifying a Generic CIM XML instance <Organisation> <name>EDF</name> <organisationCode>123456789</organisationCode> <marketRole>BalanceSupplier Or Consumer</marketRole> <ErpPerson> <lastName> Dupont</lastName> <firstName>Pierre</firstName> </ErpPerson> </Organisation> 5/8/2019

Restrictions definitions Requirement : “Instance Interoperability” for XML messages Restrictions definitions UML Message Sub-Contextual Model 5/8/2019

Restrictions definitions Requirement : “Instance Interoperability” for XML messages Restrictions definitions UML Message Assembly Model UML Message Sub-Contextual Model 5/8/2019

UML Message AssemblyModel Requirement : “Instance Interoperability” for XML messages +AS_CuS_ErpPerson UML Message AssemblyModel <Organisation> <name>EDF</name> <organisationCode>123456789</organisationCode> <marketRole>BalanceSupplier Or Consumer</marketRole> <AS_CuS_ErpPerson> <lastName> Dupont</lastName> <firstName>Pierre</firstName> </AS_CuS_ErpPerson> </Organisation> 5/8/2019

UML Message AssemblyModel Requirement : “Instance Interoperability” for XML messages UML Message AssemblyModel <Organisation> <name>EDF</name> <organisationCode>123456789</organisationCode> <marketRole>BalanceSupplier Or Consumer</marketRole> <ErpPerson> <lastName> Dupont</lastName> <firstName>Pierre</firstName> </ErpPerson> </Organisation> 5/8/2019

Requirement : “Instance Interoperability” for XML messages Restricted XSD generation Generic XSD generation Restricted Instance still valid against a Generic XSD <Organisation> <name>EDF</name> <organisationCode>abcdefgh</organisationCode> <marketRole>gkfioererfdsflfk</marketRole> <organisationType>gkfioererfdsfl</ organisationType > <ErpPerson> <lastName> Dupont</lastName> <firstName>Pierre</firstName> </ErpPerson> </Organisation> Generic XML instance <Organisation> <name>EDF</name> <organisationCode>45621</organisationCode> <marketRole>BalanceSupplier</marketRole> <ErpPerson> <lastName> Dupont</lastName> <firstName>Pierre</firstName> </ErpPerson> </Organisation> Restricted XML instance 5/8/2019

Traceability, reusability and Instance interoperability XSD Rules Generation to achieve Traceability, reusability and Instance interoperability 5/8/2019

UN/Cefact general XSD Rules 5/8/2019

XSD Modularity  Reusability UML World XSD Implementation Model ModelExtensions.xsd InformationModel.xsd XSD Import UML Information Model level Sub-Context 0..N ContextualDataTypes.xsd ContextualComponents.xsd UML Contextual Model level UML Message Assembly Model level RealMessage.xsd 5/8/2019

XSD Implementation Model Valid Against <Organisation> <name>EDF</name> <organisationCode>456218ffd6s5</organisationCode> <marketRole>BalanceSupplier</marketRole> <ErpPerson> <lastName> Dupont</lastName> <firstName>Pierre</firstName> <Organisation.ErpPersonRole> <roleType>contact</roleType> </Organisation.ErpPersonRole> <ErpTelephoneNumber> <countryCode>33</countryCode> <localNumber>0000000000</localNumber> </ErpTelephoneNumber> <ErpCivility> <civility>Mr</civility> </ErpCivility> <ErpAddress> <streetNumber>33</streetNumber> <streetName>av des puits</streetName> <city>Paris</city> <country>France</country> <postalCode>75000</postalCode> </ErpAddress> </ErpPerson> </Organisation> 5/8/2019

Other kind of requirements We could imagine many more requirements for XML instances : the less large as possible, compact XML instances message assembly grouping compliance with a specific technical framework …………Etc……. 5/8/2019

Conclusion Whatever your XML needs are, you need to define them in a Message Assembly/Syntax Binding Profile we need first to agree on a general M2AP We need to define some key requirements for XML instances In order to achieve each requirement, Define UML profile, XSD rules and XSD rules generation from UML Models And REMEMBER, XSD rules Complexity DOES NOT mean XML large, complex instances for messages.  we just showed the opposite!!!!!!!!!!!!!! 5/8/2019