1.264 Lecture 24. Service Oriented Architecture Electronic Data Interchange (EDI) Next class: Anderson chapter 1, 2. Exercise due before class



Similar documents
Principles and Foundations of Web Services: An Holistic View (Technologies, Business Drivers, Models, Architectures and Standards)

Oracle SOA Reference Architecture

A standards-based approach to application integration

Emerging Technologies Shaping the Future of Data Warehouses & Business Intelligence

How To Understand A Services-Oriented Architecture

Web Services Advanced Topics

Hubspan White Paper: Beyond Traditional EDI

IBM WebSphere ESB V6.0.1 Technical Product Overview

Run-time Service Oriented Architecture (SOA) V 0.1

Web Services and Service Oriented Architectures. Thomas Soddemann, RZG

Service Oriented Architecture

Service-oriented architecture in e-commerce applications

Web Services Strategy

Motivation Definitions EAI Architectures Elements Integration Technologies. Part I. EAI: Foundations, Concepts, and Architectures

David Pilling Director of Applications and Development

SOA Myth or Reality??

Service-Oriented Architectures

Introduction to WebSphere Process Server and WebSphere Enterprise Service Bus

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANKULATHUR DEPARTMENT OF COMPUTER APPLICATIONS SUBJECT : MC7502 SERVICE ORIENTED ARCHITECTURE

INTERNET TECHNOLOGIES AND SUPPLY CHAIN MANAGEMENT

EDI GUIDELINES INVOICE 810 VERSION 4010

Leveraging Service Oriented Architecture (SOA) to integrate Oracle Applications with SalesForce.com

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

Web Services Integration Case Study - Housing

ebxml Web Services & EDI

An Oracle White Paper November Oracle Primavera P6 EPPM Integrations with Web Services and Events

Product Information CDI Premium EDI module

AquaLogic Service Bus

Introduction to Service-Oriented Architecture for Business Analysts

Getting Started with Service- Oriented Architecture (SOA) Terminology

ITU-T Kaleidoscope Conference Innovations in NGN. Managing NGN using the SOA Philosophy. Y. Fun Hu University of Bradford

Middleware and the Internet. Example: Shopping Service. What could be possible? Service Oriented Architecture

ISM/ISC Middleware Module

Service-Oriented Architecture and Software Engineering

Enterprise Systems: From Supply Chains to ERP to CRM

ebusiness Web Hosting Alternatives Considerations Self hosting Internet Service Provider (ISP) hosting

This document has been provided as a courtesy to anyone who wants to learn more about EDI and how it applies to their TrueCommerce solution.

Toward Next Generation Distributed Business Information Systems: Five Inherent Capabilities of Service-Oriented Computing

Service-Oriented Architecture and its Implications for Software Life Cycle Activities

Invoice. Transaction Set (810) (Outbound from TI)

SOA REFERENCE ARCHITECTURE

Enterprise Application Designs In Relation to ERP and SOA

Grid Computing. Web Services. Explanation (2) Explanation. Grid Computing Fall 2006 Paul A. Farrell 9/12/2006

Presentation Outline. Key Business Imperatives Service Oriented Architecture Defined Oracle SOA Platform SOA Maturity/Adoption Model Demo Q&A

The Use of Service Oriented Architecture In Tax and Revenue

EDI GUIDELINES. Motor Carrier Load Tender 204 VERSION

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

Introduction to Service Oriented Architectures (SOA)

Chapter 6 Registering and Discovering. Web Serv vices: Web services

CONDIS. IT Service Management and CMDB

Sadržaj seminara: SOA Architecture. - SOA Business Challenges s: Billion Dollar Lock-In. - Integration Tools. - Point-to-Point Approach

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

What is it? What does it do? Benefits

Web Services Development for IBM WebSphere Application Server V7.0. Version: Demo. Page <<1/10>>

Business Performance Management Standards

120: All You Need to Know About Implementing EDI Eduardo Valdes, Vilore Foods, Co., Inc. Bekki Windsperger, Best Buy Co., Inc.

SOA Planning Guide The Value Enablement Group, LLC. All rights reserved.

B2B Strategies: from EDI to e-commerce. Objectives. In this chapter, you will learn about:

Combining SAWSDL, OWL DL and UDDI for Semantically Enhanced Web Service Discovery

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

Architectural Requirements for an SOA Based on Web Services. Jim Bole VP, Engineering Infravio, Inc. April 23, 2003

IBM Rational Rapid Developer Components & Web Services

Implementation of Information Integration Platform in Chinese Tobacco Industry Enterprise Based on SOA. Hong-lv Wang, Yong Cen

HexaCorp. White Paper. SOA with.net. Ser vice O rient ed Ar c hit ecture

XML Processing and Web Services. Chapter 17

ebusiness Web Hosting Alternatives Self hosting Internet Service Provider (ISP) hosting Commerce Service Provider (CSP) hosting

Improving Agility at PHMSA through Service-Oriented Architecture (SOA)

Cloud Computing & Service Oriented Architecture An Overview

WEB SERVICES. Revised 9/29/2015

Lesson 4 Web Service Interface Definition (Part I)

1 What Are Web Services?

Introduction into Web Services (WS)

Research on the Model of Enterprise Application Integration with Web Services

Middleware and the Internet

SOA Best Practices (from monolithic to service-oriented)

Secure Authentication and Session. State Management for Web Services

Open ESB. Sang Shin Java Technology Evangelist Sun Microsystems, Inc. Raffaele Spazzoli Imola Informatica 1

PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore

Service-Oriented Architecture

810 Invoice ANSI ASC X12 Version 4010

Business Process Management Systems ITEC 4030 Winter 2011 Peter Khaiter Lecture 9 Enabling Business (IT) Integration Feb 7

NIST s Guide to Secure Web Services

Business-to-Business Electronic Commerce ( B2B-EC )

Service Oriented Architectures

EAI OVERVIEW OF ENTERPRISE APPLICATION INTEGRATION CONCEPTS AND ARCHITECTURES. Enterprise Application Integration. Peter R. Egli INDIGOO.

B2B Glossary of Terms

Enhancing A Software Testing Tool to Validate the Web Services

Developers Integration Lab (DIL) System Architecture, Version 1.0

SOA REFERENCE ARCHITECTURE: SERVICE TIER

Receiving Advice/Acceptance Certificate - SERVICE PARTS ONLY

Service Oriented Computing: SOAP, WSDL and UDDI. Dr. Cristian Mateos Diaz ( ISISTAN - CONICET

Transcription:

1.264 Lecture 24 Service Oriented Architecture Electronic Data Interchange (EDI) Next class: Anderson chapter 1, 2. Exercise due before class 1

B-to-B DB svr Web svr Solution- case study Customer anufacturer, distributor Web svc request Web svc response HTTP/XL request HTTP/XL, response Web svr DB conn, SQL query DB conn, SQL resultset DB svr B-to-C XSLT if needed Client/ browser HTTP request HTTP/XHTL, response XSLT if needed WSDL, XSD/DTD Industry svr WSDL, XSD/DTD XSLT used by customer or manufacturer/distributor to alter XL being sent or received XSD and/or DTD used by customer or manufacturer/ distributor to validate XL being sent or rec d Web services package the HTTP, XL, XSD, request/response and URL used in raw XL transfers Web services described in WSDL documents in registry. E.g., anufacturer/distributor registers Web service in UDDI registry Customer discovers Web service and invokes it on mfr/distrib Web server Visual tool: CSS for XHTL, XSLT for XL 2

Challenges of system integration Companies use multiple systems that must increasingly cooperate Systems often are in different business groups Or in different companies (vendors, channel partners ) Run on different platforms (operating system, hardware) Written in different languages Use different communication protocols File transfer, EDI, XL, RPC, Q, CORBA, CO, sockets Have different databases, data definitions Have different objectives, run at different times/periods Solution is desired that allows integration in spite of different languages, protocols, hardware 3

Service oriented architecture (SOA) Web services are basis for integration in SOA A core of standard open technologies are used XL, XL Schema (XSD), XSLT, SOAP, WSDL Operating system-, hardware-, software-, database-neutral A registry (database) is used to store WSDL for service discovery Security, reliability, performance, transactions must be added to primitive Web services to have SOA SOA supports composition (assembling) of services, reusability of services, extensibility SOA is based on a service-focused business model UL business process models can be implemented in SOA 4

Service oriented architecture 2 SOA is based on loose coupling between systems Asynchronous, or message-oriented (O) integration Document is sent from system A to system B Response generally not guaranteed in any given time A process may not complete for a long time Example: Shipment tracking service (success) Example: Async telecom service orders system (failed) 5

Example of current SOA implementation An Early Incarnation of SOA Service registry Discover and retrieve WSDL Publish WSDL Service requestor Exchange SOAP messages Service provider Image by IT OpenCourseWare. Service is Web service 6

SOA architecture (between Web servers) Company 1 Company 2 Service provider Order fulfillment service Request message Response message Purchase order service Service requester Request message Service requester Invoice submission service Response message Accounts payable service Service provider Company 1 and 2 swap roles via exchanges of messages. Image by IT OpenCourseWare. 7

SOA use of WSDL essage is Ensures message compliant will be successfully with Company 1 interpreted by Company 2 Invoice submission service Accounts payable service WSDL Accounts payable service Order fulfillment service Order fulfillment service WSDL Purchase order service Ensures message will be successfully interpreted by essage is compliant with Image by IT OpenCourseWare. 8

SOA service composition Accounts payable composition Accounts payable service Vendor profile service Ledger service Company 2 Image by IT OpenCourseWare. 9

Web services and existing systems Integrated system built using Web services/soa to existing systems Service Interface Layer Service interface representation Application Layer Application (.NET) Application (J2EE) Application (Legacy) (A) (B) (C) Physical service encapsulation Image by IT OpenCourseWare. 10

Exercise Draw an SOA diagram for your homework system Decide how you would structure your catalog browsing and ordering systems Draw your Web services Draw the Web services your customers would use to communicate with you Use Figure 5.4 and/or Figure 5.15 on the previous slides as a template 11

Web 2.0 First generation Web services: SOAP, WSDL, UDDI (WSDL registry) et functional requirements for businesses, but not the supporting requirements: security, reliability, availability, quality of service, choreography Web 2.0: WS-* specifications: WS-Addressing: references to Web service endpoint WS-Atomic Transaction WS-Business Process Execution Language WS-Choreography Language WS-Coordination and WS-Eventing WS-etadata Exchange Language WS-Notification WS-Reliable essaging WS-Security: end to end, not just point to point 12

Business Process Execution Language A Typical Strategy Using Electronic Data Interchange (EDI) for Business Process Definition Implementation Inventory Service Process start Inventory service Check availability Inventory Servicing X Case1 Case2 Inventory Service Assign 1 Assign 2 Inventory Service Response X InventoryServiceResponse Process end Image by IT OpenCourseWare. 13

EDI (Electronic Data Interchange) EDI is a mainframe-based standard for electronic exchange of. Developed in 1980s. EDI is expensive, complex and has limited usage, but enough that new technologies must interoperate with it Typically, large companies use EDI and require it of their smaller partners/vendors, who are not always eager to use it Two EDI standards: ANSI X12 and EDIFACT (UN) XL documents follow EDI standards in many cases EDI documents are called Transaction Sets (TS) EDI to XL mapping established using DTDs New users of Internet ecommerce may skip EDI and use XL Less than 80,000 of 6-10 million US businesses use EDI 125,000 businesses world-wide use EDI EDI cost and complexity are large obstacle for medium size businesses 14

EDI EDI communications: Binary, not text (difficult to change or troubleshoot) EDI transaction sets are static EDI designed for expensive and scarce communications uch optimization of message size, etc. Intended to replace letters, phone calls, faxes Not self-describing, cannot be validated, can t be extended Done through third party value-added networks (VANs) Companies generally use file transfer to send file to VAN VAN handles EDI exchange with trading partners Geared to once-a-day, batch exchanges of data Example (over a period of days): A purchaser: Sends EDI 840 document (Request for Quote) Receives EDI 843 (Quote) Sends EDI 850 (Purchase Order) Receives EDI 856 (Shipment Notice) Receives EDI 810 (Invoice) Sends EDI 820 (Payment) 15

EDI and XL Buyer AES Internet or Value Added Network Supplier GCS ERP System EDI System EDI 850 Purchase Order EDI 855 Purchase Order Acknowledgement WebLogic EDI Integration CR System Image by IT OpenCourseWare. EDI/XL translation 16

ISA - Interchange Control Header EDI Purpose: To start and identify an interchange of one or more functional groups, interchange related control segments. Field Element Field Name Req Type Size Seagate Usage Authorization ISA01 ISA02 ISA03 101 102 103 Information Qualifier Authorization Information Security Authorization ID AN ID 2 10 2 00 Not used by Seagate 00 ISA04 104 Information Security Information AN 10 Not used by Seagate ISA05 105 Interchange Trading partner ID ID Qualifier 2 qualifier 098533326 = ISA06 106 Interchange Sender ID ID 15 Seagate production ID 98533326TST = Seagate test ID ISA07 Interchange ID Trading partner 105 2 ID Qualifier qualifier ISA08 107 Interchange Trading partner Receiver ID ID 15 receiver ID ISA09 108 Date DT 6 Current data: YYDD ISA10 109 Time T 4 Current time: HH Interchange ISA11 110 Standards ID 1 U = ANSI X12 ISA12 111 Identifier Interchange Version ID ID 5 00306 ISA13 112 Interchange Trading partner NO 9 Control Number specified 0 = no acknowledgment ISA14 113 ID 1 1 = interchange Acknowledgement acknowledgment requested (always use 0) ISA15 ISA16 114 115 Test Indicator Sub-Element Separator AN AN 1 1 P = production data T = test data Defined by sender Image by IT OpenCourseWare. EDI Example 17

Retail flows Purchase order Sales/arketing SUPPLIER Purchasing Invoice Purchase order - acknowledgment Open purchase order Accounts payable Receiving Freight bill Receiving Bill of lading Order status inquiry - response Accounts receivable Account balances & Payment remittance Payment remittance & Notification to pay CARRIER SUPPLIER BANK BUYER BANK Image by IT OpenCourseWare. 18

Distributor flow Purchase order - acknowledgment Purchase order Purchasing requisitions Sales/arketing Purchase order CUSTOER SUPPLIER Invoice Purchase order - acknowledgment Open purchase order Accounts payable Purchasing Receiving Freight bill Internal order Distribution/Receiving Bill of lading Incoming order Order status inquiry - response Shipping Account balances & Payment remittance Invoice Accounts receivable Payment remittance & Notification to pay Account balances & Payment remittance Payment remittance & Notification to pay CARRIER SELLER BANK CUSTOER BANK SUPPLIER BANK BUYER BANK Image by IT OpenCourseWare. 19

Financial flow BUYER BANK CUSTOER Invoice SELLER BANK CUSTOER Notification to transfer funds & Payment remittance BUYER BANK Transfer funds Pass EDI data Transfer funds & Payment remittance CENTRAL BANK Transfer funds & Payment remittance SELLER BANK Account balances & Payment remittance Purchasing Purchase order Accounts payable Invoice SUPPLIER OF PRODUCT FOR BANK Image by IT OpenCourseWare. 20

anufacturing/engineering flow Request for quote - Quote Engineering Request for quote - Quote Request for quote - Quote Inventory inquiry - Advice Purchase order - acknowledgment Purchase order Purchasing requisitions Sales/arketing Purchase order CUSTOER SUPPLIER Purchase order - acknowledgment Invoice Open purchase order Accounts payable Purchasing Receiving Freight bills Bill of lading Internal order Distribution Order status inquiry - responses Incoming order Shipping Account balances & Payment remittance Accounts Receivable Invoice Payment remittance & Notification to pay Account balances & Payment remittance Payment remittance & Notification to pay CARRIER Warehouse requests - responses SELLER BANK CUSTOER BANK SUPPLIER BANK BUYER BANK OUTSIDE WAREHOUSE Image by IT OpenCourseWare. 21

anufacturer flow: detail Request for quote - Quote SUPPLIER order processing invoicing Invoice Account balances & Payment remittance ANUFACTURING LOCATION Purchase order Evaluate request for quote Develop anufacturing spec Purchase order Purchasing Authorize payment, Invoice reconciliation Payment remittance & Notification to pay Internal order anufacturing Requirements Planning Receiving Shipment staging, Develop bill of lading, Receive product Bill of lading CARRIER Request for quote -Quote Product Requirements Product requisition Freight bills Order entry, Order process Internal staging order Warehouse status inquiry - messages Freight bill Shipment Request for quote - Quote Purchase order Purchase order Invoicing, Billing, Credit payments, Payment reconciliation Account balances & Payment remittance CUSTOER purchasing invoice reconciliation Invoice Payment remittance & Notification to pay SUPPLIER BANK transfer funds pass account balances BUYER BANK transfer funds pass account balances develop freight bill order status WAREHOUSE shipment staging CUSTOER BANK transfer funds pass account balances SELLER BANK transfer funds pass account balances Image by IT OpenCourseWare. 22

ERP and EDI/XL standards The previous slides define the core of an ERP system any have very substantial additions for human resources, planning, etc. You can buy a full ERP or mix and match best of breed systems. Web service/soa integration is common. Almost every interface on the previous slides has a defined EDI or XL transaction set or message set, typically defined by industry TDCC (1968), EDX, CDIX, TALC, UCS/VICS, WINS, BVAI and others 23

IT OpenCourseWare http://ocw.mit.edu 1.264J / ESD.264J Database, Internet, and Systems Integration Technologies Fall 2013 For about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.