EAN.UCC XML Architectural Guide Version 1.0 July 2001
Total Page:16
File Type:pdf, Size:1020Kb
EAN·UCC System The Global Language of Business ® EAN.UCC XML Architectural Guide Version 1.0 July 2001 COPYRIGHT 2001, EAN INTERNATIONAL™ AND UNIFORM CODE COUNCIL, INC.Ô EAN.UCC Architectural Guide EAN·UCC System The Global Language of Business ® Table of Contents Document History........................................................................................................................ 4 1. Introduction............................................................................................................................ 5 1.1 Overview......................................................................................................................................................................... 5 1.1.1 Extensions in UML............................................................................................................................................... 5 1.1.1.1 Common Core Components ....................................................................................................................... 6 1.2 In A Nutshell: A Business Process Document......................................................................................................... 6 1.3 Other Related Documents ............................................................................................................................................ 7 2. Implementation Guidelines ..................................................................................................... 8 2.1 Schema Language ......................................................................................................................................................... 8 2.2 Implementation Software ............................................................................................................................................. 8 2.3 Messaging Protocols ..................................................................................................................................................... 8 2.4 Guidelines and Conventions ....................................................................................................................................... 8 2.4.1 Abstract Classes and Types ................................................................................................................................ 9 2.4.2 Concrete Classes and Elements.......................................................................................................................... 9 2.4.3 Complex Types and Groups ............................................................................................................................... 9 2.4.4 Naming and Capitalization Conventions.......................................................................................................... 9 2.4.4.1 Elements and Attributes .............................................................................................................................. 9 2.4.4.2 Constants ..................................................................................................................................................... 10 2.4.4.3 Complex Types and Groups..................................................................................................................... 10 2.4.4.4 Namespaces ................................................................................................................................................ 10 2.4.4.5 File Names................................................................................................................................................... 10 3. Namespaces .......................................................................................................................... 11 3.1 The Architectural Layers and targetNamespaces .................................................................................................. 11 3.1.1 EAN.UCC EC Messaging Architecture ......................................................................................................... 11 3.1.2 The Layers ........................................................................................................................................................... 12 3.1.2.1 Envelope Layer........................................................................................................................................... 13 3.1.2.2 Message Layer............................................................................................................................................ 15 3.1.2.3 Document Layer......................................................................................................................................... 16 3.1.3 Core Components Library ................................................................................................................................. 17 3.2 The Benefit of Namespaces....................................................................................................................................... 18 3.3 The Namespace Universal Resource Indicator and Prefix.................................................................................... 18 3.3.1 The Universal Resource Indicator................................................................................................................... 18 3.3.2 The Prefix............................................................................................................................................................. 18 3.3.3 Localizing and Exposing Namespaces................................................................................................................. 19 4. Extensions ............................................................................................................................. 20 4.1 The Business Requirements ...................................................................................................................................... 20 4.1.1 Support Multiple Industries and Countries .................................................................................................... 20 4.1.2 The Need for Speed............................................................................................................................................ 20 4.2 UML Depiction of Extensions.................................................................................................................................. 20 4.2.1 Reusable Types Model...................................................................................................................................... 21 4.3 Core and Extensions in XSD ..................................................................................................................................... 21 4.3.1 The XSD Data Types ......................................................................................................................................... 21 4.3.2 XSD Libraries of Reusable Components ....................................................................................................... 21 4.3.2.1 The XSD Core Components Library ...................................................................................................... 22 COPYRIGHT 2001, EAN INTERNATIONAL™ AND UNIFORM CODE COUNCIL, INC.Ô EAN.UCC Architectural Guide – Table of Contents Page 2 EAN·UCC System The Global Language of Business ® 4.3.2.2 Common.xsd ............................................................................................................................................... 22 4.3.2.3 XSD Complex Core Components ........................................................................................................... 23 4.3.3 XSD Extensions.................................................................................................................................................. 24 4.4 Working Schemas From Multiple Schema Modules ............................................................................................ 24 4.4.1 Composing Schemas from Included Files ...................................................................................................... 25 4.4.2 Composing Schemas from Imported Namespaces ....................................................................................... 25 4.4.3 Schema Component Design Characteristics .................................................................................................. 25 4.4.3.1 The W3C Namespace Approach ............................................................................................................. 25 5. The Message Architecture ..................................................................................................... 27 5.1 Message Set Overview................................................................................................................................................ 27 5.2 Architecture Principles ............................................................................................................................................... 27 5.2.1 XML Message Layer Separation...................................................................................................................... 27 5.3 The Benefit of Layering ............................................................................................................................................. 28 5.4 Transport and Communication Layer.....................................................................................................................