11
IEEM 5352 E-Enterprise Integration Introduction of XML/EDI

IEEM 5352 E-Enterprise Integration Introduction of XML/EDI

Embed Size (px)

DESCRIPTION

IEEM 5352 E-Enterprise Integration Introduction of XML/EDI. What is XML/EDI?. - PowerPoint PPT Presentation

Citation preview

Page 1: IEEM 5352 E-Enterprise Integration Introduction of XML/EDI

IEEM 5352E-Enterprise Integration

Introduction of XML/EDI

Page 2: IEEM 5352 E-Enterprise Integration Introduction of XML/EDI

What is XML/EDI?• This is the present attempt to combine the best features of

traditional EDI (which has a broad industry support) with the improvements in technology offered by XML. It is EDI with XML, or XML with EDI - depending on the perspective.

• In an XML/EDI message, the EDI information is explicitly labelled using tag names. Reference may be made via Internet to a Document Type Definition (DTD) - which contains structure declaration and relevant sets of code values.

• Web browsers are expected to support XML; therefore, XML/EDI messages could be transmitted in any way: e-mail, VAN, Internet etc.

Page 3: IEEM 5352 E-Enterprise Integration Introduction of XML/EDI

Characteristics of XML/EDI• Support W3C XML standard• Compatible with EDI (X12 or EDIFACT)• Business data exchanges• Support business processes• Provide business document and process templates• Use public network for business transactions• Time and cost efficiency

• Ref Fig. 7.1

Page 4: IEEM 5352 E-Enterprise Integration Introduction of XML/EDI

(Ref. 梁等 , 2000)

Page 5: IEEM 5352 E-Enterprise Integration Introduction of XML/EDI

XML/EDI Elements

• EDI Message/Transaction Format

• XML DTD/Schema

• Parsing

• Process Templates

• Software Agent

• Global Entity Repositories

• Fig. 7.7

Page 6: IEEM 5352 E-Enterprise Integration Introduction of XML/EDI

• Application & Repository• Rules• Template & Java/Active X• XML Tags/Agents/Databots• XML Parser/Generator• XML/EDI Data• File/Message• Storage/Transport

Layered Structure of XML/EDI

Page 7: IEEM 5352 E-Enterprise Integration Introduction of XML/EDI

• Star model– 以大廠為核心,設定交易遵循標準 (Master/Parent, Children)– Follow the traditional EDI model.

• Ad hoc model– 教小型貿易夥伴建立應對模式,再相互結合

• Hybrid model– Combination of star and ad hoc models

• Web – A document centric model– Examples: electronic catalog, RFQ dialogs

Core Models of XML/EDI

Page 8: IEEM 5352 E-Enterprise Integration Introduction of XML/EDI
Page 9: IEEM 5352 E-Enterprise Integration Introduction of XML/EDI
Page 10: IEEM 5352 E-Enterprise Integration Introduction of XML/EDI

Example: X12 810 (INVOICE) Wrapped and Compressed

ST~ST~810~810~189’189’BIG~BIG~980208980208~~TF87654TF87654~~980112980112~~KJ98KJ9876-3476-34~~PR’N1~BT~RUNNER UNLIMITED~92~~~PR’N1~BT~RUNNER UNLIMITED~92~MTB1MTB1’’N1~ST~RUNNER UNLIMITED~92~N1~ST~RUNNER UNLIMITED~92~MT01MT01’N1~SE~AC’N1~SE~ACME SUPPLIES~92~ME SUPPLIES~92~AC987AC987’IT1~’IT1~0101~~100100~~EAEA~~1010~~EAEA~BP~~BP~98754-98798754-987~EC~~EC~EE~VP~~VP~5986-08345986-0834’IT1~’IT1~0202~~22~~EAEA~~200200~~EAEA~BP~~BP~BK454532BK454532~EC~~EC~WW~VP~ ~VP~ 646455-5646455-5

66’TDS~’TDS~14001400’CTT~2@SE~10~’CTT~2@SE~10~189189’’ Invoice Invoice TF87654 TF87654 date 2/8/982/8/98 for PO KJ9876-34KJ9876-34 dated 1/12/981/12/98. Bill to Runner Unlimited location coded MTB1MTB1; Ship to Runner Unlimited location coded MT01MT01. Selling Party is Acme Supplies location coded AC987AC987.. There are two line items:There are two line items: IT1= ‘01‘01’’ which is the PO line item number. Buyer part is 98754-98798754-987 with engineering change EE. The vendor part is 5986-08345986-0834 for 100100 units

IT1 =‘0202’’ which is the PO line item number. Buyer part is BK454532 BK454532 with engineering change WW.. The vendor part is 646455-56646455-56 for 200200 units

Page 11: IEEM 5352 E-Enterprise Integration Introduction of XML/EDI

HTML vs. XML Documents ofX12 810 (INVOICE)

XML<st><class>invoice</class><apply>TF87654</apply><date>2/8/98</date><PO><number>kj9876_34</number><due>1/12/98</due><bill_to>MTB1</bill_to><ship_to>MTO1</ship_to><selling_party>ACME</selling_party></PO><items><item><count>01</count><bp>98754-987</bp><ec>E</ec><vp>5986-0834</vp><unit>100</unit></item><item><count>02</count><bp>BK454532</bp><ec>w</ec><vp>59860834</vp><unit>200</unit></item>

</items></st>

HTMLHTML<h1><h1>ST~ST~810~810~189’189’BIG~BIG~980208980208~~TF87654TF87654~~980112980112~~KJ9876-34KJ9876-34~~PR’~~PR’N1~BT~RUNNER UNLIMITED~92~N1~BT~RUNNER UNLIMITED~92~MTB1MTB1’’N1~ST~RUNNER UNLIMITED~92~N1~ST~RUNNER UNLIMITED~92~MT01MT01’’N1~SE~ACME SUPPLIES~92~N1~SE~ACME SUPPLIES~92~AC987AC987’’IT1~IT1~0101~~100100~~EAEA~~1010~~EAEA~BP~~BP~98754-98754-987987~EC~~EC~EE~VP~~VP~5986-08345986-0834’’IT1~IT1~0202~~22~~EAEA~~200200~~EAEA~BP~~BP~BK454532BK454532~EC~~EC~WW~VP~~VP~6646455-5646455-56’’TDS~TDS~14001400’’CTT~2’CTT~2’SE~10~SE~10~189189’’

</h1></h1>