Electronic Data Interchange via the Internet

Commerce - Other
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times
If your company does business with any of the big retailers like Wal-Mart, you're probably already familiar with Electronic Data Interchange (EDI). EDI is basically a set of standards for transmitting different documents (purchase orders, invoices, etc.) between companies. A company with which you exchange EDI documents is referred to as a trading partner. EDI documents are usually generated through the use of a translator package, which takes data from another source--an ERP application, for example--and converts it into the format required for the specific document. Until recently, this data would be sent to the trading partner through the use of a value-added network (VAN). VANs act as the middleman in exchanging documents with your trading partners. Figure 1 gives you an idea of the flow of documents with a standard EDI system.

Figure 1: This chart explains how EDI documents are sent and received.

In this example, data from your ERP application is fed to the EDI translator application, which converts the data into an acceptable EDI document. This document is then sent through the use of a communications package to a third-party VAN, which sends the data to the trading partner. If the trading partner uses a different VAN than the VAN you use, the data is sent through an interconnect to the trading partner's VAN. In some cases, multiple interconnects may be required. The trading partner then retrieves the document from their VAN and sends out an acknowledgement that the document was received, which goes through the same process to make its way back to you. Some trading partners eliminate the need for the VAN by allowing other trading partners to communicate with them directly. While this does eliminate the need for a VAN, the trading partner must then have the infrastructure in place to support this. Figure 2 shows how documents flow in this scenario.
Figure 2: This flow represents a direct connection to a trading partner.

While this scenario eliminates the middleman, it also can require special hardware and software for each trading partner you communicate with.

Getting out of the VAN

You usually communicate with your VAN through a dial-up connection and pay the VAN for every character sent and received. In the case of interconnects, mentioned earlier, additional costs can be incurred. These costs can add up. When you consider that today most companies have some connection to the Internet--be it T1, DSL, or even dial-up--the idea of paying for a third-party network to transmit data doesn't seem to make much sense. That's where EDI INT comes in. EDI INT is the means by which EDI documents can be encrypted and sent through the public Internet, effectively eliminating the VAN (and the VAN charges). With EDI INT, you replace the communications package portion of the example above with a package that is compliant with the EDI INT standards as defined by the Internet Engineering Task Force (IETF). The IETF's EDI INT Web site is a great resource for information on the EDI INT standards. Figure 3 shows the flow of documents using EDI INT.

Figure 3: This flow represents the path of EDI documents when using EDI INT.

But cost savings aren't the only reason to switch. Many big retailers, including Wal-Mart and Lowe's, are mandating their trading partners to make the move to EDI INT. Your first thought might be "Why not just email the EDI documents to the trading partner?" After all, SMTP email is an existing means for sending and receiving data. The problem is security. Many times EDI documents contain data that is confidential between trading partners, such as pricing information, which could be compromised if sent through the Internet without some level of encryption. There are currently two specifications that are approved for EDI INT:

Applicability Statement 1 (AS1) uses Simple Mail Transfer Protocol (SMTP) as the means by which EDI documents are transmitted and received.

Applicability Statement 2 (AS2) is an extension of the AS1 standards that also allows Hypertext Transfer Protocol (HTTP) to be used as a means of transportation for data. It's not a replacement for AS1 but more an extension of the AS1 standard.

By using either of these specifications, it's possible to exchange data other than EDI documents (XML files, etc.) with a trading partner. AS1 data is secured through the use of Secure Multipurpose Internet Mail Extensions (S/MIME). S/MIME was originally developed by RSA Data Security, Inc. and is based on the PKCS #7 data format for messages and the X.509v3 format for certificates. PKCS #7, in turn, is based on the ASN.1 DER format for data. AS2 data secured through the use of Hypertext Transfer Protocol Secure (HTTPS) Secure Socket Layer (SSL). You may question why you would want to send the data via HTTP protocol in place of SMTP. Consider the fact that when you send an SMTP email message, the data is transferred from your PC, to a mail server, to another mail server, and then to a final destination. In some cases, there can be even more forwarding of the data to get it to the final recipient. This is one drawback of using SMTP to transmit EDI data when you consider that EDI documents are often time-sensitive and need to arrive as soon as possible. If any portion of this loop is down, the data won't reach its final destination in a timely fashion. Figure 4 shows what I'm talking about.

Figure 4: This flow represents the path of a document through SMTP.

The HTTP option available as part of the AS2 specification avoids this drawback because the data is sent directly from an AS2 "Web Server" to another. This means that as long as both AS2 servers are up, the data will get through. Figure 5 shows how much simpler the path of the document is through HTTP.

Figure 5: The flow of a document via HTTP is much simpler.

There can still be an issue, however, if one of the AS2 servers is down. In that case, you must have some sort of backup plan in place to handle transferring the data. This usually involves the use of a VAN. In most cases, EDI INT packages will require you to export your EDI documents to a flat file from your EDI translator package. This flat file is then read into the EDI INT package and sent to the required trading partner through either SMTP or HTTP, depending on whether you are using AS1 or AS2.

Getting from EDI to EDI INT

Cost savings alone can make EDI INT very attractive. When you add in the possibility of a mandate from a major customer, it can become a necessity. So at this point, you're probably wondering what it takes to get EDI INT in place. Depending on the requirements of your trading partner, you may be able to simply have your VAN prepare and send the EDI document through EDI INT. Using this scenario, of course, does not eliminate the VAN charges. On the other hand, this method is probably the simplest to accomplish and can be useful if you are unable to comply with a trading partner mandate within the allotted time. The other option is to install an EDI INT package. The number of software vendors with EDI INT offerings is increasing daily. If you go this route, you'll want to be sure that you select a package that has been certified by The Drummond Group, which is responsible for the testing and certification of all EDI INT software. Figure 6 contains a list of the packages currently certified as AS2-compliant by the Drummond Group.

Software Product Name and Version
Software Vendor
TDAccess/TDPeer/TDNgine/TDBrowser using EDIINT engine, Version 3.0
Cleo LexiCom, Version 2.0
Compaq ASx Transport Service (CATS), Version 3
Cyclone Interchange/Activator, Version 4.2
Cyclone Interchange/Activator, Version 4.1.3
Enterprise System, Version 7.5
TradeLinks, Version 2.5
IPNet eBizness Transact, Version 3.6
IPNet BizManager, Version 2
iSoft Peer-to-Peer Agent, Version 3.1
Sterling Integrator, Version 2.0
Gentran Integration Suite, Version 2.0
Sterling Information Broker, Version 3.5
TIBCO BusinessConnect AS2 Transport, Version 1.0.0
BusinessWare B2Bi Server, Version 1.4
WebMethods Integration Platform, Version 4.6

Figure 5: Software packages currently certified per the AS2 specification.

The costs of any of these packages can depend greatly on the number of trading partners with which you intend to use the package, ranging anywhere from a few hundred to tens of thousands of dollars. It's also important to remember that you can only switch to EDI INT with trading partners who can also support EDI INT. In some cases, software vendors will offer the software to you at "no charge" for use with a specific trading partner. This is the case with Wal-Mart's announcement in mid-September 2002 that they would be mandating their trading partners to move to an AS2-compliant EDI INT solution. This announcement sent many of its trading partners and many EDI INT software vendors scrambling to figure out which way they would go. Many of the software vendors mentioned earlier will allow you to use their solution for AS2 connections to Wal-Mart "at no charge." Any additional trading partners, however, must be paid for separately. As with most software, annual maintenance fees will add to the costs of implementing any EDI INT solution. In most cases, however, the return on investment can be significant once the VAN charges have been eliminated.

Not IF but WHEN

The real question, when it comes to EDI INT may not be if you should consider it, but is more likely to be when a major customer will require that you communicate via EDI INT. In the not too distant future, VANs will become a thing of the past, in turn reducing overhead costs for everyone in the supply chain.

Mike Faust is the MIS manager for The Lehigh Group in Macungie, Pennsylvania, and is the author of The iSeries and AS/400 Programmer's Guide to Cool Things. Mike has over 15 years' of programming and systems experience. You can contact Mike at This email address is being protected from spambots. You need JavaScript enabled to view it..

Mike Faust

Mike Faust is a senior consultant/analyst for Retail Technologies Corporation in Orlando, Florida. Mike is also the author of the books Active Server Pages Primer, The iSeries and AS/400 Programmer's Guide to Cool Things, JavaScript for the Business Developer, and SQL Built-in Functions and Stored Procedures. You can contact Mike at

MC Press books written by Mike Faust available now on the MC Press Bookstore.

Active Server Pages Primer Active Server Pages Primer
Learn how to make the most of ASP while creating a fully functional ASP "shopping cart" application.
List Price $79.00

Now On Sale

JavaScript for the Business Developer JavaScript for the Business Developer
Learn how JavaScript can help you create dynamic business applications with Web browser interfaces.
List Price $44.95

Now On Sale

SQL Built-in Functions and Stored Procedures SQL Built-in Functions and Stored Procedures
Unleash the full power of SQL with these highly useful tools.
List Price $49.95

Now On Sale



Support MC Press Online





  • White Paper: Node.js for Enterprise IBM i Modernization

    SB Profound WP 5539

    If your business is thinking about modernizing your legacy IBM i (also known as AS/400 or iSeries) applications, you will want to read this white paper first!

    Download this paper and learn how Node.js can ensure that you:
    - Modernize on-time and budget - no more lengthy, costly, disruptive app rewrites!
    - Retain your IBM i systems of record
    - Find and hire new development talent
    - Integrate new Node.js applications with your existing RPG, Java, .Net, and PHP apps
    - Extend your IBM i capabilties to include Watson API, Cloud, and Internet of Things

    Read Node.js for Enterprise IBM i Modernization Now!


  • Profound Logic Solution Guide

    SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation.
    Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects.
    The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the companyare not aligned with the current IT environment.

    Get your copy of this important guide today!


  • 2022 IBM i Marketplace Survey Results

    Fortra2022 marks the eighth edition of the IBM i Marketplace Survey Results. Each year, Fortra captures data on how businesses use the IBM i platform and the IT and cybersecurity initiatives it supports.

    Over the years, this survey has become a true industry benchmark, revealing to readers the trends that are shaping and driving the market and providing insight into what the future may bring for this technology.

  • Brunswick bowls a perfect 300 with LANSA!

    FortraBrunswick is the leader in bowling products, services, and industry expertise for the development and renovation of new and existing bowling centers and mixed-use recreation facilities across the entertainment industry. However, the lifeblood of Brunswick’s capital equipment business was running on a 15-year-old software application written in Visual Basic 6 (VB6) with a SQL Server back-end. The application was at the end of its life and needed to be replaced.
    With the help of Visual LANSA, they found an easy-to-use, long-term platform that enabled their team to collaborate, innovate, and integrate with existing systems and databases within a single platform.
    Read the case study to learn how they achieved success and increased the speed of development by 30% with Visual LANSA.


  • Progressive Web Apps: Create a Universal Experience Across All Devices

    LANSAProgressive Web Apps allow you to reach anyone, anywhere, and on any device with a single unified codebase. This means that your applications—regardless of browser, device, or platform—instantly become more reliable and consistent. They are the present and future of application development, and more and more businesses are catching on.
    Download this whitepaper and learn:

    • How PWAs support fast application development and streamline DevOps
    • How to give your business a competitive edge using PWAs
    • What makes progressive web apps so versatile, both online and offline



  • The Power of Coding in a Low-Code Solution

    LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed.
    Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

    • Discover the benefits of Low-code's quick application creation
    • Understand the differences in model-based and language-based Low-Code platforms
    • Explore the strengths of LANSA's Low-Code Solution to Low-Code’s biggest drawbacks



  • Why Migrate When You Can Modernize?

    LANSABusiness users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.
    In this white paper, you’ll learn how to think of these issues as opportunities rather than problems. We’ll explore motivations to migrate or modernize, their risks and considerations you should be aware of before embarking on a (migration or modernization) project.
    Lastly, we’ll discuss how modernizing IBM i applications with optimized business workflows, integration with other technologies and new mobile and web user interfaces will enable IT – and the business – to experience time-added value and much more.


  • UPDATED: Developer Kit: Making a Business Case for Modernization and Beyond

    Profound Logic Software, Inc.Having trouble getting management approval for modernization projects? The problem may be you're not speaking enough "business" to them.

    This Developer Kit provides you study-backed data and a ready-to-use business case template to help get your very next development project approved!

  • What to Do When Your AS/400 Talent Retires

    FortraIT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators is small.

    This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn:

    • Why IBM i skills depletion is a top concern
    • How leading organizations are coping
    • Where automation will make the biggest impact


  • Node.js on IBM i Webinar Series Pt. 2: Setting Up Your Development Tools

    Profound Logic Software, Inc.Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. In Part 2, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Attend this webinar to learn:

    • Different tools to develop Node.js applications on IBM i
    • Debugging Node.js
    • The basics of Git and tools to help those new to it
    • Using as a pre-built development environment



  • Expert Tips for IBM i Security: Beyond the Basics

    SB PowerTech WC GenericIn this session, IBM i security expert Robin Tatam provides a quick recap of IBM i security basics and guides you through some advanced cybersecurity techniques that can help you take data protection to the next level. Robin will cover:

    • Reducing the risk posed by special authorities
    • Establishing object-level security
    • Overseeing user actions and data access

    Don't miss this chance to take your knowledge of IBM i security beyond the basics.



  • 5 IBM i Security Quick Wins

    SB PowerTech WC GenericIn today’s threat landscape, upper management is laser-focused on cybersecurity. You need to make progress in securing your systems—and make it fast.
    There’s no shortage of actions you could take, but what tactics will actually deliver the results you need? And how can you find a security strategy that fits your budget and time constraints?
    Join top IBM i security expert Robin Tatam as he outlines the five fastest and most impactful changes you can make to strengthen IBM i security this year.
    Your system didn’t become unsecure overnight and you won’t be able to turn it around overnight either. But quick wins are possible with IBM i security, and Robin Tatam will show you how to achieve them.

  • Security Bulletin: Malware Infection Discovered on IBM i Server!

    SB PowerTech WC GenericMalicious programs can bring entire businesses to their knees—and IBM i shops are not immune. It’s critical to grasp the true impact malware can have on IBM i and the network that connects to it. Attend this webinar to gain a thorough understanding of the relationships between:

    • Viruses, native objects, and the integrated file system (IFS)
    • Power Systems and Windows-based viruses and malware
    • PC-based anti-virus scanning versus native IBM i scanning

    There are a number of ways you can minimize your exposure to viruses. IBM i security expert Sandi Moore explains the facts, including how to ensure you're fully protected and compliant with regulations such as PCI.



  • Encryption on IBM i Simplified

    SB PowerTech WC GenericDB2 Field Procedures (FieldProcs) were introduced in IBM i 7.1 and have greatly simplified encryption, often without requiring any application changes. Now you can quickly encrypt sensitive data on the IBM i including PII, PCI, PHI data in your physical files and tables.
    Watch this webinar to learn how you can quickly implement encryption on the IBM i. During the webinar, security expert Robin Tatam will show you how to:

    • Use Field Procedures to automate encryption and decryption
    • Restrict and mask field level access by user or group
    • Meet compliance requirements with effective key management and audit trails


  • Lessons Learned from IBM i Cyber Attacks

    SB PowerTech WC GenericDespite the many options IBM has provided to protect your systems and data, many organizations still struggle to apply appropriate security controls.
    In this webinar, you'll get insight into how the criminals accessed these systems, the fallout from these attacks, and how the incidents could have been avoided by following security best practices.

    • Learn which security gaps cyber criminals love most
    • Find out how other IBM i organizations have fallen victim
    • Get the details on policies and processes you can implement to protect your organization, even when staff works from home

    You will learn the steps you can take to avoid the mistakes made in these examples, as well as other inadequate and misconfigured settings that put businesses at risk.



  • The Power of Coding in a Low-Code Solution

    SB PowerTech WC GenericWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed.
    Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

    • Discover the benefits of Low-code's quick application creation
    • Understand the differences in model-based and language-based Low-Code platforms
    • Explore the strengths of LANSA's Low-Code Solution to Low-Code’s biggest drawbacks



  • Node Webinar Series Pt. 1: The World of Node.js on IBM i

    SB Profound WC GenericHave you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.
    Part 1 will teach you what Node.js is, why it's a great option for IBM i shops, and how to take advantage of the ecosystem surrounding Node.
    In addition to background information, our Director of Product Development Scott Klement will demonstrate applications that take advantage of the Node Package Manager (npm).
    Watch Now.

  • The Biggest Mistakes in IBM i Security

    SB Profound WC Generic The Biggest Mistakes in IBM i Security
    Here’s the harsh reality: cybersecurity pros have to get their jobs right every single day, while an attacker only has to succeed once to do incredible damage.
    Whether that’s thousands of exposed records, millions of dollars in fines and legal fees, or diminished share value, it’s easy to judge organizations that fall victim. IBM i enjoys an enviable reputation for security, but no system is impervious to mistakes.
    Join this webinar to learn about the biggest errors made when securing a Power Systems server.
    This knowledge is critical for ensuring integrity of your application data and preventing you from becoming the next Equifax. It’s also essential for complying with all formal regulations, including SOX, PCI, GDPR, and HIPAA
    Watch Now.

  • Comply in 5! Well, actually UNDER 5 minutes!!

    SB CYBRA PPL 5382

    TRY the one package that solves all your document design and printing challenges on all your platforms.

    Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product.

    Request your trial now!

  • Backup and Recovery on IBM i: Your Strategy for the Unexpected

    FortraRobot automates the routine tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:
    - Simplified backup procedures
    - Easy data encryption
    - Save media management
    - Guided restoration
    - Seamless product integration
    Make sure your data survives when catastrophe hits. Try the Robot Backup and Recovery Solution FREE for 30 days.

  • Manage IBM i Messages by Exception with Robot

    SB HelpSystems SC 5413Managing messages on your IBM i can be more than a full-time job if you have to do it manually. How can you be sure you won’t miss important system events?
    Automate your message center with the Robot Message Management Solution. Key features include:
    - Automated message management
    - Tailored notifications and automatic escalation
    - System-wide control of your IBM i partitions
    - Two-way system notifications from your mobile device
    - Seamless product integration
    Try the Robot Message Management Solution FREE for 30 days.

  • Easiest Way to Save Money? Stop Printing IBM i Reports

    FortraRobot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing.
    Manage your reports with the Robot Report Management Solution. Key features include:

    - Automated report distribution
    - View online without delay
    - Browser interface to make notes
    - Custom retention capabilities
    - Seamless product integration
    Rerun another report? Never again. Try the Robot Report Management Solution FREE for 30 days.

  • Hassle-Free IBM i Operations around the Clock

    SB HelpSystems SC 5413For over 30 years, Robot has been a leader in systems management for IBM i.
    Manage your job schedule with the Robot Job Scheduling Solution. Key features include:
    - Automated batch, interactive, and cross-platform scheduling
    - Event-driven dependency processing
    - Centralized monitoring and reporting
    - Audit log and ready-to-use reports
    - Seamless product integration
    Scale your software, not your staff. Try the Robot Job Scheduling Solution FREE for 30 days.