
|
EDI to XML
This is
an example of an EDI to XML conversion.
In this example, we
demonstrate the translation
of an OBI (Open Buying on
Internet) message
to an XML message, which is based on the
Purchase Order from the
Common Business Library.
-
Mapping an
EDI message
to an XML
message:

-
From the
following EDI
data:
ISA*00* *00* *08*JCPenny111 *ZZ*test22222
*971107*1220*U*00302*112240001*1*P*@
GS*PO*test111111*test22222*19971107*1220*123456789*X*003042
ST*850*4567
BEG*00*NE*10117564**19990105
REF*ZI*11
REF*1V*97-0049393
PER*OD*Chris Smith*EM*csmith@supplyworks.com
PER*RE*Tom
Gerry*TE*617-861-7900x1567
DTM*074*19990120*1806
N1*BE*SupplyWorks*91*FFF
N1*BY*SupplyWorks*91*ABC1235
N1*EY*Chris Smoth*92*csmith1
N2*Room 208C*SupplyWorks Corporate
N3*57 Bedford Street*Building 2
N4*Lexington*MA*02173
N1*ST*SupplyWorks*ZZ*SW1
N1*SE*EC Office Supplies*1*98629321
N2*Purchase Department
N3*123 Main Street
N4*NY*NY*03417
PO1*1*24*EA*1.86**UI*999999922234
TXI*TX*9.41
PO1*2*12*CA*25.67**UI*999999955567
TXI*TX*4.51
CTT*2*42
SE*24*4567
GE*1*123456789
IEA*1*112240001
-
To the resulting
XML message:

|
|
|
|