Sei sulla pagina 1di 4

FTP-based EDI vs.

Web Services: A Case Study in the Retailer Industry


Drew Hwang Marc Kenyon
Computer Information Systems Department The Net Commander
California State Polytechnic University 20760 E. Walnut Cyn.
Pomona, California, USA Walnut, California, USA
dhwang@csupomona.edu mkenyon@csupomona.edu

Abstract eMart order number, similar in format as 123456.xml, and


transferred, via FTP, to the vendor’s specific folder on the
Web services technologies are being developed as the eMart FTP server.
foundation of a new generation of B2B applications. One of At this segment, the system moves onward to the point
the direct impacts is its replacement of the traditional of vendor interaction. In most cases, each vendor has an
FTP-based EDI systems in the retail industry. This paper established backend business system to manage inventory
illustrates the design of systems using these two approaches and process specific orders as they are acquired. Integrating
and discusses the differences and important issues related to the eMart order with the vendor’s backend occurs with the
order information storage, data transmission, system use of a custom consol application built specifically for the
extensibility, and security. eMart vendors. With the application, each vendor is able to
login to the eMart FTP server and retrieve all orders placed
1. Introduction within the vendor’s specific folder during a specified time
span defined by the last time stamp of the final order
A growing number of companies are creating B2B
processed into the vendor’s database. As the XML files are
applications to streamline their supply chain operations [1,2].
retrieved, child fields are parsed into their respective columns
One of the major retailers in the U.S. (hereafter called eMart)
and inserted as a new order into the vendors system.
has also required its suppliers to develop software to
Immediately following the parse of the order file, a
exchange daily flow of purchase orders, invoices, and
confirmation file in XML format is sent from the XML
shipping notices. Currently, eMart is using an FTP-based
application to the eMart FTP server to allow eMart to update
EDI approach for the data exchange process but is moving
the order status and notify the customer the order has been
toward a better solution known as web services.
successfully processed.
Hired by one of eMart’s major vendor, The Net
Each vendor then processes the order and ships the
Commander, a Los Angeles-based consulting firm, has
items to the respective eMart customers. Once items have
created a web service system that simulates the FTP-based
been shipped, the vendor must once again use the custom
EDI approach for the data exchange process. This paper
application and send a second confirmation file in XML
illustrates the design of systems using the two approaches and
format denoting that the item is successfully shipped, which
discusses the differences and important issues related to order
information storage, data transmission, system extensibility,
and security.

2. EDI-based FTP Approach


The current order tracking and processing system,
utilized by eMart for its major vendors, is comprised of an
FTP-based EDI system using XML formatted documents to
relay specific orders and associated consumer information to
a desired vendor.
Using a console shown in Figure 1, the system is
engaged during an order from the eMart e-commerce website
which formats the consumer’s user information, order
number, etc. along with each item’s SKU number, description,
quantity, etc. from the sale into a parent-child xml
arrangement. The entire consumer information content
comprises the first parent section with each additional section
specific to each item being purchased. Once order payment
has been completed the generated XML file is saved using the

Proceedings of the 2004 IEEE International Conference on Services Computing (SCC’04)


0-7695-2225-4/04 $ 20.00 IEEE
Figure 1. The FTP-based EDI System Console less development time and ultimately result in less cost to
facilitate the synchronization. For other vendors whose
systems could not consume xml formats, smaller packages,
such as Microsoft Excel, are able to connect to Web Services
and manipulate the data directly. Keeping each vendor on the
same page allows eMart to reduce subsequent costs in
conforming to multiple standards. For the same reason, no
matter what development platform each vendor operates on,
such as Novell, Java, Oracle or SQL Server, each system can
facilitate the use of Web Services utilizing similar techniques
defined in the SOAP protocol.
As outlined in figure 3, the new order system begins
with an order being placed from eMart’s website collecting
user and item information. Once order payment has been
concluded, the order information is inserted into the eMart
order database via a Web Service request.

Figure 2. The FTP-based EDI System

carrier was used and the tracking information for the package.
This information is placed on the eMart website for the
consumer to view. To ensure the eMart server has received
this information, a confirmation XML receipt is returned to
the vendor application.
Additional functionality to the vendor application
allows for each vendor to update the current online catalog by
submitting a properly formatted XML document to the eMart
FTP server. Subsequent to parsing the catalog file and
updating the item index, an XML confirmation file is returned
to the vendor’s application. The complete system is
illustrated in Figure 2.

3. Web Service Approach


Figure 3. The Web Services System
Applying .NET and Web Services technology to the
equation, the new order transfer system currently being During the polling process from the vendor’s custom
developed will transform the approach vendors undergo in application, an additional web service is triggered to carry the
retrieving new online orders from the eMart shopping arena. date and time stamp from the last entry in the vendor’s
In creating this new system, enhanced vendor integration database to the eMart order database. Once a request from a
options become available as well as added security measures vendor has been initiated (see the system console in Figure 4),
to prohibit prying eyes from sensitive user information. Most a web method is called through a client proxy, transferring
importantly, however, utilizing Web Services technology will with it the latest date, time and the vendor’s identification
create the much needed API to connect to eMart’s order number as parameters to the Web Service. Once the eMart
database and return each vendor’s specific orders over HTTP server has received the call and the parameters, the compiled
instead of the previous FTP request. code behind functions, written in VB.NET, process the
As in previous versions, vendor are required a custom requested data from the attached order database using in-line
built application to bridge the gap between eMart’s file SQL statements that return a .NET structured dataset
formats and the ability to consume the orders into some types containing all unprocessed orders for that specific vendor.
of backend system. For those with high end, recently built This information is serialized and returned to the vendor via
systems, integrating the Web Services result sets will require the SOAP protocol over HTTP as the result set of the web

Proceedings of the 2004 IEEE International Conference on Services Computing (SCC’04)


0-7695-2225-4/04 $ 20.00 IEEE
method. Once all XML data has been delivered, the Vendor’s for a much more organized compilation of customers, their
client application de-serializes the information back into the orders and vendor statuses for each order. By moving away
dataset format and parses it into the vendor’s backend system. from file system organization, all orders, vendor statuses and
shipping information can be contained in one location rather
than multiple files, and with the use of SQL, complex
reporting and detailed order history can be accessed on
demand instead of browsing through multiple order
documents.

4.2. Data Transmission

When analyzing the two systems, data transmission


method stands as the most prominent difference between
them. The current FTP-based system simply copies order
information from one computer to another, creating excessive
redundancy and ultimately requiring greater system resources.
On the contrary, Web Services creates API methods to
retrieve order information from the eEMart database. These
methods create XML formatted documents that can be
Figure 4. The Web Services System Console displayed or consumed into each vendor’s own backend
system. Order information can then be updated and
At this point in the process, the vendor commences the maintained just as fast by initiating other methods to transmit
process of filling the orders and shipping the purchased items content back to eMart.
to the consumer. Immediately after the shipment process has
been completed, the vendor completes the cycle employing 4.3. System Extensibility
the application one last time to trigger another Web Service
updating the order status with shipment information and System extensibility, for many large companies, is a
receiving a confirmation in the Web Service’s resulting XML. major requirement of new technology that is to be
As it relates to updating vendor catalogs with new items implemented to replace a functional system. With the current
or removing outdated or out of stock items, the Web Services FTP-based system, updating data format or warehousing
system should include the same functionalities. The vendor requires a substantial modification of each vendor’s custom
application or ASP.NET web application provides a user application as well as changes to the XML file format schema.
friendly front end to allow vendors to browse their current Since the Web Services methods create the XML formatted
online catalog, update item information, add new items or files on demand, schema changes can be made on the eMart
remove items completely. The Web Service methods also web server and the changes are immediately available to each
allow for seamless integration with eMart servers without vendor. Also, if a Web Service method is modified to add or
compromising access to the file system or other vendor’s remove parameters or result sets, only minor changes to the
information, and with the utilization of SSL technology with vendor application must be made.
each HTTP request, all Web Services traffic can be encrypted
to prevent unauthorized access. 4.4. Security

4. Discussions Almost every corporation that engages in Internet sales


and data transmission keeps the security of their data as a high
The current FTP-based system supplies an adequate priority and under close supervision. The current system,
functionality base for eMart and its vendors to develop the other than plain text authorization to the FTP server, does not
new Web Services system. However, there are some prohibit unauthorized access to the order information during
important differences between the two approaches. The transfer from server to server. This is, by specification, all the
following section discusses the differences and other related FTP protocol offers in terms of security. For the most part,
issues. the Web Services specification does not offer much more
benefit. However, security can be added to Web Services’
4.1. Order information storage HTTP layer for data transfer and the application layer for
internal kernel protection. For all e-commerce systems, the
Order information storage, as it is currently use of SSL technology is a requirement for consumers to even
warehoused, utilizes the operating system’s file structure to ponder purchasing from the web. Likewise, SSL offers 128
create file folders for each vendor capable of being accessed bit encrypted data transfer from eMart to vendors and vice
via FTP. Order information is uploaded and downloaded versa. Additionally, since new Web Services systems can be
using username and password authentication from either developed through the collaboration between eMart and its
eMart or a vendor. In comparison, the Web Services system vendors, agreed encryption algorithms can be integrated
employs a web server running IIS and an attached database allowing supplementary security on top of SSL.

Proceedings of the 2004 IEEE International Conference on Services Computing (SCC’04)


0-7695-2225-4/04 $ 20.00 IEEE
Conclusion
While the current FTP-based system supplies an
adequate functionality base for the development of the new
Web Services system, the Web services approach intends to
provide a better solution for data exchange between
businesses. Through illustration, this paper found that
traditional FTP-based EDI approach is in disadvantage when
issues such as order information storage, data transmission,
system extensibility, and security are essential considerations
to system design and development. However, the systems
being studied are running on Microsoft's .NET
platform. Further study is needed to compare the two
approaches in different computer platforms.

References
[1] A. Gilbert, "Wal-Mart Project Boon for Software Makers",
CNET News.com, August 14, 2003.

[2] M. Kane, "Amazon, Google Lead New Path to Web


Services", CNET News.com, November 20, 2002.

Proceedings of the 2004 IEEE International Conference on Services Computing (SCC’04)


0-7695-2225-4/04 $ 20.00 IEEE

Potrebbero piacerti anche