|
|
YOUR FEEDBACK
Did you read today's front page stories & breaking news?
SYS-CON.TV |
TODAY'S TOP SOA & WEBSERVICES LINKS News Desk
EDI to XML: A Practical Approach
Accessing or creating EDI messages as XML
By: Carlo Innocenti
May. 16, 2008 12:45 PM
Digg This!
Page 2 of 3
« previous page
next page »
At the end of the ’90s it was becoming clear that EDI, the text formats (comma-separated value files, for example) and binary formats that were widely used in all industry verticals lacked a number of important characteristics: they weren’t (easily) human readable; they required dedicated parsers for each version or sub-version or dialect or interpretation of the format; and, probably most important, they weren’t easily extensible. Those are some of the reasons that led to the creation of XML (eXtensible Markup Language). XML is human-readable; no matter what the XML structure is, a single standard parser can process it; XML is meant to be easy to extend (after all, that’s what the “X” stands for!). Yes, XML is much more verbose than other ways of exchanging information, but hardware and bandwidth made a lot of progress by the late ’90s, and IT professionals were willing to trade the cost of dealing with larger messages for the benefits that doing so brings to the table.
How Things Are Well, reality is very different. It’s true that XML has become the major standard for exchanging information in B2B infrastructures in most industry verticals; it’s true that XML has replaced the prominent role of EDI formats or proprietary text or binary formats in doing so. However, it’s surely not true that the use of non-XML formats in B2B contexts has disappeared: in many contexts EDI is still the most adopted way to exchange information (think about SWIFT); in some other cases, standard bodies provide both EDI and XML formats for their own specifications (think about IATA or HL7), and your organization may end up being in the situation where it’s dealing both with vendors that are still using EDI formats and with others that have switched to XML. To make things even more complicated, services on B2B infrastructures are usually developed using languages like Java or C#, which create yet another level of indirection with the data model that has to be used for information to be exchanged (XML, in the lucky cases) or even stored (tables).
There’s Hope If you think about it carefully, what XQuery and XSLT really require is for the data they’re working on to look like XML; the data must be available as an XML Data Model; it doesn’t really matter what the underlying physical representation of such data is as long as XQuery or XSLT can see it as XML. Considering that XML provides a highly flexible way to represent information, it’s definitely possible to think about a variety of ways in which the data contained in an EDI message, for example, can be interpreted as XML. That’s an intriguing concept: provide a way to access or create EDI messages as XML, and my B2B infrastructure can be designed to just deal with XML – there’s no need to have special cases meant to support business partners that are dealing with EDI or even proprietary text or binary-based formats. Page 2 of 3 « previous page next page » XML JOURNAL LATEST STORIES . . .
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
|
SYS-CON FEATURED WHITEPAPERS MOST READ THIS WEEK BREAKING XML NEWS
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||