XML Basics. XML and Electronic Commerce. XML Consortium Tokyo, 26 July Jon Bosak Sun Microsystems

Similar documents
The Universal Business. XML Basics. Cuarto Congreso Internacional de Sistemas Computacionales ITESM Campus Guadalajara, Jalisco, Mexico, 1 March 2002

XML- New meta language in e-business

BUSINESS PROCESS AND EBXML - WEB SERVICES INTEGRATION PLATFORM, REQUIREMENTS, ARCHITECTURES, SECURITY

XML WEB TECHNOLOGIES

B2B Glossary of Terms

XML vs. UN/EDIFACT or Flexibility vs. Standardisation

Agents and Web Services

4. Concepts and Technologies for B2C, B2E, and B2B Transaction

EDI stands for the transfer of structured data, by agreed standards from computer application to computer application through electronic means.

Why XML is Important to Revenue Departments. Scott Hinkelman IBM Senior Software Engineer

Standards Required to Support XML-Based B2B Integration

XML-based supply chain integration: a case study

XML for Manufacturing Systems Integration

Dr. Paul King ASERT Consulting PO Box 1243, Milton BC Brisbane, QLD

Guideline for Implementing the Universal Data Element Framework (UDEF)

CST6445: Web Services Development with Java and XML Lesson 1 Introduction To Web Services Skilltop Technology Limited. All rights reserved.

ECONOMIC INFORMATION SYSTEMS INTEROPERABILITY

ebxml Glossary Technical Architecture Team Version 0.99

Information Model Architecture. Version 2.0

Service Oriented Architecture

How To Understand Electronic Commerce

T Network Application Frameworks and XML Web Services and WSDL Tancred Lindholm

ebxml Web Services & EDI

Keywords: XML, Web-based Editor

The Role of XML in Open Hypermedia Systems

XML-based Supply Chain Management as SIMPLEX as it is

XML Work Group. Extensible Markup Language For Electronic Transactions in Higher Education

Introduction to XML Applications

Web Services Technologies

business transaction information management

International Journal of Advanced Networking Applications (IJANA) ISSN No. :

ASPECTS OF XML TECHNOLOGY IN ebusiness TRANSACTIONS

Concepts of Database Management Seventh Edition. Chapter 9 Database Management Approaches

Internet / XML / SOA, XML and Web Services

DEVELOPMENT OF THE INTEGRATING AND SHARING PLATFORM OF SPATIAL WEBSERVICES

XML Processing and Web Services. Chapter 17

technische universiteit eindhoven WIS & Engineering Geert-Jan Houben

B2BE Transaction Delivery Network

Using Altova Tools with DB2 purexml

Flash B2B Server System Design

HOSPITAL POINT-OF-CARE (POC) testing is projected to nearly triple within a decade,

An XML Based Data Exchange Model for Power System Studies

ETSO Modelling Methodology for the Automation of Data Interchange of Business Processes (EMM)

How XML Enables Internet Trading Communities and Marketplaces

An Overview of Fastenal s E- Business Partners and Technology Solutions for E- Procurement

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Last Week. XML (extensible Markup Language) HTML Deficiencies. XML Advantages. Syntax of XML DHTML. Applets. Modifying DOM Event bubbling

What is SOA? Information Services. Loosely Coupled Interfaces. Non-Proprietary Tools and Products

XML-Based Business-to-Business E-Commerce

Introduction into Web Services (WS)

THE XML TECHNOLOGY IMPLEMENTED IN MICROSOFT SQL SERVER

Overview of DatadiagramML

Session Topic. Session Objectives. Extreme Java G XML Data Processing for Java MOM and POP Applications

XML: ITS ROLE IN TCP/IP PRESENTATION LAYER (LAYER 6)

Extensible Markup Language (XML): Essentials for Climatologists

Computer Science E-259

CHAPTER 1 INTRODUCTION

Modern XML applications

ebxml Business Process Specification Schema Technical Specification v2.0.4

Some Solutions and Why They Don't Work. Business Maps: Topic Maps Go B2B By Marc de Graauw August 21, 2002

Lightweight Data Integration using the WebComposition Data Grid Service

Ramon Martí media technology Group (MTG) Barcelona (Spain) Abstract

Cross System Data flow in b2b System Integration: A case study: customer to Nokia Siemens Networks Purchase Order Data Flow

Concrete uses of XML in software development and data analysis.

Web Services Middleware Application: A Solution for SMEs towards B2B Framework Implementation

SOFTWARE ENGINEERING PROGRAM

BASI DI DATI II 2 modulo Parte II: XML e namespaces. Prof. Riccardo Torlone Università Roma Tre

The Application of BizTalk in Public Sector

Firewall Builder Architecture Overview

XML: extensible Markup Language. Anabel Fraga

HEALTH INFORMATION MANAGEMENT ON SEMANTIC WEB :(SEMANTIC HIM)

XIII. Service Oriented Computing. Laurea Triennale in Informatica Corso di Ingegneria del Software I A.A. 2006/2007 Andrea Polini

XML and EDI: Peaceful Co-Existence

Oct 15, Internet : the vast collection of interconnected networks that all use the TCP/IP protocols

Emerging Technologies Shaping the Future of Data Warehouses & Business Intelligence

Semistructured data and XML. Institutt for Informatikk INF Ahmet Soylu

Research on the Model of Enterprise Application Integration with Web Services

What Is the Java TM 2 Platform, Enterprise Edition?

Developing XML Solutions with JavaServer Pages Technology

Web Content Management Using the OASIS

ActiveX AJAX ASP. AudioMP3

Lesson 4 Web Service Interface Definition (Part I)

isurf edocreator: e-business Document Design and Customization Environment

XML and the College Website A Practical Look at the Use of XML and XSL

A Communication Architecture for the Digital Economy 21 st century EDI -

Extending SOA Infrastructure for Semantic Interoperability

ISM/ISC Middleware Module

Introduction to Web Services

purexml Critical to Capitalizing on ACORD s Potential

A Framework for Electronic Communications for the AEC Industries

Architectures, and. Service-Oriented. Cloud Computing. Web Services, The Savvy Manager's Guide. Second Edition. Douglas K. Barry. with.

Jamcracker Web Services. David Orchard Standards Architect

A Critical Assessment of ISO Adoption by B2B Data Exchange Specifications

Web Services Strategy

DataDirect XQuery Technical Overview

Introduction to Oracle Business Intelligence Standard Edition One. Mike Donohue Senior Manager, Product Management Oracle Business Intelligence

"Modern" XML applications

Automation and Connectivity: The Role of Microsoft Business Solutions Navision Application Server

7. Classification. Business value. Structuring (repetition) Automation. Classification (after Leymann/Roller) Automation.

Introduction to Service Oriented Architectures (SOA)

Transcription:

XML Basics XML and Electronic Commerce XML Basics XML Consortium Tokyo, 26 July 2001 Jon Bosak Sun Microsystems XML is...a-2 XML is "syntax, not semantics"...a-3 XML in one slide...a-4 The industrial function of XML...A-5 The social function of XML...A-6 What XML accomplishes...a-7 XML Basics...A-1 Documents and Data... B-1 ebxml: Putting Commerce Online... C-1 An E-Commerce Roadmap...D-1 Getting to Level 2... E-1 Standardizing Business Documents...F-1 XML Consortium Tokyo, 26 July 2001 XML Consortium A-1 Tokyo, 26 July 2001

XML Basics XML Basics XML is... A simplified subset of SGML (ISO 8879:1986) developed by a cross-industry group organized and led by Sun Microsystems Not new: builds on 30 years of research and 14 years of SGML standardization Offers powerful data modeling -- no limits on namespace or structural depth But small enough for Web browsers Not a language but a metalanguage XML is "syntax, not semantics" Tags have no predefined meaning Unlike HTML, XML by itself conveys only content and structure, not presentation, behavior, or meaning The meaning of XML languages must be specified outside of XML itself Operational semantics: programs, servlets, applets, scripts, stylesheets... Definitional semantics: prose, namespaces, ontologies, UML diagrams... Designed to support the definition of an unlimited number of languages for specific industries and applications All XML languages can be processed by a single lightweight parser XML Consortium A-2 Tokyo, 26 July 2001 XML Consortium A-3 Tokyo, 26 July 2001

XML Basics XML Basics XML in one slide Legal XML documents are called well-formed A well-formed document describes a logical tree If a well-formed document conforms to an optional grammar or schema (e.g., a DTD), it is also valid Well-formedness is a property of the document Validity is a property of the relationship between a document and a grammar or schema The industrial function of XML XML provides a standard framework for making agreements about communication. Industry DTDs and schemas Industry namespaces But XML does not make those agreements. That would be magic! Agreements are made by people working together on a shared problem. This is the process of language standardization. XML Consortium A-4 Tokyo, 26 July 2001 XML Consortium A-5 Tokyo, 26 July 2001

XML Basics XML Basics The social function of XML What XML accomplishes XML has a social agenda: freedom from vendor control. (1996) We knew that HTML could not support data exchange in general Without XML, HTML would have been replaced with a binary, proprietary format controlled by a single vendor The alternative was SGML (international, open, text-based standard, ISO 8879-1986) XML put SGML on the Web. Result: Users can define their own data exchange standards There are many inexpensive, robust tools In theory, data belongs to the people who create it rather than to the software vendors In practice, freedom depends on the open standardization of XML tag languages XML standardizes the concrete syntax of data exchange in a text-based notation designed to be obvious to both people and processes. Deploying XML creates an open, standardized information infrastructure. 1. Standardized parsers for putting data into memory 2. Standardized interfaces (DOM and SAX) for processing the data 3. Standardized ways to display data (CSS, XSL- FO) 4. Standardized ways to query data (XPath, XQuery) 5. Standardized ways to link data (XLink, XPointer) 6. Standardized training of people in both publishing and data processing XML Consortium A-6 Tokyo, 26 July 2001 XML Consortium A-7 Tokyo, 26 July 2001

Documents and Data Documents and Data Documents and Data What's a document? What's a document?... B-2 Separation of data from processing... B-3 The document aspect of XML... B-4 Data into documents... B-5 A document is data that you can read. Document requirements are a superset of data requirements (e.g., recursion) The basic problem with documents is that we need to display them in many different forms. Thisisthe problem that SGML was originally designed to solve. XML inherits the solution to that problem. Example: This presentation. Written in XML HTML generated using a stylesheet for online publishing RTF generated using a different stylesheet XML Consortium B-1 Tokyo, 26 July 2001 XML Consortium B-2 Tokyo, 26 July 2001

Documents and Data Documents and Data Separation of data from processing The SGML/XML publishing model decouples data from processing This isolates changes in large systems, making them more flexible and reliable Basing a system on XML makes it well-suited to transactional processing in a heterogenous, asynchronous, distributed environment (like the Web) The document aspect of XML XML uses documents as the transfer mechanism for data. XML is text. Creates large, standardized collections of data that can be processed by simple text tools Creates an infrastructure in which human beings are still part of the process Troubleshooting Generation of human-readable deliverables (e.g., catalogues) Integration into existing social institutions Promotes a message-oriented view of electronic commerce that isolates business transactions from differences in software, hardware, system architectures, and application programming languages XML Consortium B-3 Tokyo, 26 July 2001 XML Consortium B-4 Tokyo, 26 July 2001

Documents and Data ebxml: Putting Commerce Online Data into documents XML was designed to enable many different views to be generated from the same set of data using stylesheets. So it is perfectly suited to Report generation Display of business data to consumers Display of business data to programmers and business professionals Various forms of electronic delivery (e.g., Web sites) ebxml: Putting Commerce Online The ebxml initiative... C-2 The ebxml infrastructure (May 2001)... C-3 E-commerce architecture: ebxml... C-4 Using the infrastructure... C-5 Sun's role in ebxml... C-6 But the markup language must be designed to make this easy. XML Consortium B-5 Tokyo, 26 July 2001 XML Consortium C-1 Tokyo, 26 July 2001

ebxml: Putting Commerce Online ebxml: Putting Commerce Online The ebxml initiative Joint 18-month effort of OASIS (the Organization for the Advancement of Structured Information Standards) and UN/CEFACT (United Nations Centre for Trade Facilitation and Electronic Business) Over 1000 participants from all over the world The vision: A global electronic market place where enterprises of any size, anywhere can: Find each other electronically Conduct business through the exchange of XML based messages http://www.ebxml.org/ The ebxml infrastructure (May 2001) Standard messaging services for XML Standard registry/repository for storing business models and profiles Standard mechanism for trading partner agreements Standard architecture for forming trading partner agreements and exchanging business messages XML Consortium C-2 Tokyo, 26 July 2001 XML Consortium C-3 Tokyo, 26 July 2001

ebxml: Putting Commerce Online ebxml: Putting Commerce Online E-commerce architecture: ebxml Using the infrastructure XML Consortium C-4 Tokyo, 26 July 2001 XML Consortium C-5 Tokyo, 26 July 2001

ebxml: Putting Commerce Online An E-Commerce Roadmap Sun's role in ebxml We believe in an open approach to electronic commerce We believe that no single company or country should dominate the infrastructure for electronic commerce We believe in empowering users ebxml is a nonprofit, independent effort sponsored by the United Nations ebxml is the only existing non-proprietary framework for electronic commerce I am proud to say that Sun has been the single strongest industry supporter of the ebxml effort An E-Commerce Roadmap Levels of implementation...d-2 Level 1 (you are here)...d-3 Level 2 (near future)...d-4 Level 3 (distant future)...d-5 Everyone who believes in open standards for electronic commerce should support ebxml. XML Consortium C-6 Tokyo, 26 July 2001 XML Consortium D-1 Tokyo, 26 July 2001

An E-Commerce Roadmap An E-Commerce Roadmap Levels of implementation Level 1 (you are here) I believe that the evolution of XML-based electronic commerce will take place in three phases or levels of implementation. 1. Standardize the infrastructure (messaging, discovery, trading partner agreements) 2. Standardize the messages (business documents: purchase orders, invoices,...) 3. Standardize machine-processable semantics (business process models) With the completion of the ebxml infrastructure specifications in May 2001, messaging, discovery, and trading partner agreements are now standardized and can be automated. Most primitive implementation: email ad-hoc XML, conducting all other aspects manually using email or phone calls This would usually be a one-sided relationship But it allows the smallest businesses to participate In Level 1, the role of the repository is to supply basic infrastructure specifications and commonly used industry tag sets XML Consortium D-2 Tokyo, 26 July 2001 XML Consortium D-3 Tokyo, 26 July 2001

An E-Commerce Roadmap An E-Commerce Roadmap Level 2 (near future) Level 3 (distant future) Level 2 adds standardized XML messages defined by humans within some standardized semantic framework using standardized core components (data elements) Enables off-the-shelf software solutions Enables a transition from existing business practices by replacing traditional business documents with human-readable XML equivalents Many options for defining the semantic framework UML Prose Prose + DTD In Level 2, the repository will include descriptions of standard business models, standard core components, and standard XML business documents In Level 3, standardized messages are automatically generated from a standardized semantic framework Modeling done from the top down Schemas generated automatically The whole system operates without human intervention The repository now includes business models designed for automation Advantages: Completely automated Allows dynamic modification of business models Problems to be solved: Development of the technology itself Entry point for SMEs Transition from existing business and legal systems XML Consortium D-4 Tokyo, 26 July 2001 XML Consortium D-5 Tokyo, 26 July 2001

Getting to Level 2 Getting to Level 2 Getting to Level 2 Review: Levels of implementation Review: Levels of implementation... E-2 Level 2 example: materials management... E-3 Constructing a business language... E-5 Document components... E-6 Context drivers... E-7 Context example: address... E-8 1. Standardize the infrastructure (messaging, discovery, trading partner agreements) The ebxml infrastructure provides this level of functionality 2. Standardize the messages (business documents: purchase orders, invoices,...) This is the next stage of development 3. Standardize machine-processable semantics (business process models) This is a long-term project for the future XML Consortium E-1 Tokyo, 26 July 2001 XML Consortium E-2 Tokyo, 26 July 2001

Getting to Level 2 Getting to Level 2 Level 2 example: materials management In level 2, standardized business documents take their meaning from standardized business models. This diagram shows the role of planning and shipping documents in a business model from the automotive industry. XML Consortium E-3 Tokyo, 26 July 2001 XML Consortium E-4 Tokyo, 26 July 2001

Getting to Level 2 Getting to Level 2 Constructing a business language To achieve the next level of e-commerce implementation, we need to standardize a common business language.examples of what needs to be standardized: Date Weight Price Address Telephone number Party Purchase order Shipping notice Invoice Document components Atomic components Date Weight Price Aggregate components Address Telephone number Core blocks Party Documents Purchase order Shipping notice Invoice XML Consortium E-5 Tokyo, 26 July 2001 XML Consortium E-6 Tokyo, 26 July 2001

Getting to Level 2 Getting to Level 2 Context drivers "Standard" data components change structure when put into different contexts. Business process Industry Product type Geographical region Regulatory environment Role (vendor, customer, etc.) Context example: address Even such a simple data item as an address will change depending on the context. Addresses in Japan are different from addresses in the United States Addresses in the auto industry are different from addresses in other industries XML Consortium E-7 Tokyo, 26 July 2001 XML Consortium E-8 Tokyo, 26 July 2001

Standardizing Business Documents Standardizing Business Documents Standardizing Business Documents The immediate problem...f-2 A plan for averting chaos...f-3 Requirements for a Universal Business Language (UBL)...F-4 My proposal: start with xcbl 3.0...F-5 Basic concept...f-6 Possible venues for standardization...f-7 Status...F-8 The immediate problem Users are rushing to adopt various existing XML business syntaxes. cxml xcbl RosettaNet OAG BizTalk various other dialects The existence of multiple business languages is a serious interoperability problem. But once adopted, these existing vocabularies will be very hard to dislodge. XML Consortium F-1 Tokyo, 26 July 2001 XML Consortium F-2 Tokyo, 26 July 2001

Standardizing Business Documents Standardizing Business Documents A plan for averting chaos 1. Put one of the existing XML b2b libraries into a genuine standards process. 2. Populate the process with XML and business domain experts. 3. Persuade other groups working to standardize XML business grammars to join the common effort. 4. Modify the default library as necessary to achieve consensus. 5. Lead users into adopting the standard "Universal Business Language" (UBL) 6. Evolve the standard UBL as we gain experience. Requirements for a Universal Business Language (UBL) Optimized for Internet b2b International in scope Applicable across any sector or domain of electronic trade, transport, and administration (purchasing, payments, logistics, transportation, statistical reporting, social administration, healthcare, etc.) Interoperable with existing EDI systems Based on a core library Unencumbered by intellectual property claims Already proven to work in actual electronic marketplaces Proven implementability Easy testability XML Consortium F-3 Tokyo, 26 July 2001 XML Consortium F-4 Tokyo, 26 July 2001

Standardizing Business Documents Standardizing Business Documents My proposal: start with xcbl 3.0 1. xcbl 3.0 represents four years of work that we don't want to start over from scratch. 2. xcbl's IP is unencumbered. This is really important. 3. xcbl 3.0 reflects experience gained in EDI, RosettaNet, OBI, and ebxml. 4. Microsoft and SAP are basing systems on xcbl. 5. Many vendors already have xcbl code for use in adapters. 6. The owners of xcbl are willing to put it into a real standards process for the benefit of the industry and to work within that process to advance the industry standard. In the software business, this is as good as it gets. Basic concept The basic idea is to review the baseline syntax line by line in harmony with semantic definition work taking place in the United Nations and to make whatever modifications are necessary in light of experience with other syntaxes: X12 and EDIFACT RosettaNet OAG cxml Bolero et cetera The details of this process need to be defined in committee. XML Consortium F-5 Tokyo, 26 July 2001 XML Consortium F-6 Tokyo, 26 July 2001

Standardizing Business Documents Standardizing Business Documents Possible venues for standardization UN/CEFACT (UN/EDIFACT) International participation and credibility Links to major corporate users Links to international organizations (WTO, WCO, IMF...) But subject to delays and political problems OASIS Nonprofit corporation founded in 1993 Represents XML vendors and users Excellent, fast, fair committee process Any interested person can join Status Sun, Commerce One, SAP, and other software vendors have formed a UBL Organizing Committee We are attempting to form a working group in UN/CEFACT to carry out the work of standardization We are hoping to begin work after the UN/EDIFACT working group meeting in September XML Consortium F-7 Tokyo, 26 July 2001 XML Consortium F-8 Tokyo, 26 July 2001