IBM Support

Preserve file names when using WebSphere DataPower B2B Appliances to exchange AS2 messages with trading partners

White Papers


Abstract

The AS2 Filename Preservation feature is a common requirement for customers in the banking industry. WebSphere DataPower B2B Appliance supports this feature by using the processing policy. This tutorial describes how to configure a trading relationship that supports this new feature.

Content

Introduction

IBM WebSphere DataPower B2B Appliance (hereafter called DataPower B2B) has recognized great success over the past five years as IBM's second best-selling DataPower model. We have a customer base of over 100 customers with almost all of them using the AS2 standard to exchange data. The adoption of DataPower B2B in the banking industry is significant and, as a result, we have added new functionality to facilitate the AS2 Filename Preservation features option that is part of AS2 V1.2. The filename preservation capability is needed for our growing customer base in the banking industry. DataPower B2B can support this feature by using the processing policy and some new functionality added to the graphical user interface (GUI). This tutorial describes how to configure an AS2 trading relationship in DataPower B2B that supports AS2 Filename Preservation.

Overview

AS2 is a Request for Comment (RFC) standard that enables companies to securely communicate and exchange data over the Internet. The AS2 standard is one of the most widely adopted B2B messaging standards in the world with 14 vendors representing 21 products, all participating in third-party AS2 certification and interoperability testing with the Drummond Group this year. The financial industry uses AS2 every day to exchange billions of critical financial transactions between banks, government entities, retailers, manufacturers, healthcare organizations, and so on, and their trading partners.

The banking industry relies on filenames to facilitate routing of financial data to the appropriate systems inside their network and, as a result, the Financial Services Technology Consortium (FSTC) asked Drummond Group Inc. to offer filename preservation (defined in the AS2 Filename Preservation draft specification) as an optional AS2 pattern to be tested during the AS2 certification process.

This tutorial describes the steps involved to configure DataPower B2B to trade AS2 messages that preserve the original filename with your trading partners. In an effort to more effectively demonstrate this functionality, we use some pre-configured domains that represent each side of the trading relationship and import them into DataPower B2B. The PartnerHub and MyHub domains are completely configured for you to trade AS2 with the PartnerHub gateway without using filename preservation. This test configuration does not use any AS2 security so we can see the result of adding AS2 Filename Preservation to the existing inbound and outbound AS2 data flows. In the real world, customers would want to use AS2 security in production.

If you want to use AS2 Filename Preservation with your existing partner's and configuration, skip all of the prerequisites and follow the instructions in the Configure AS2 Filename Preservation section of this tutorial for each of the existing profiles and test them in a fashion consistent with your existing testing practices.

Understanding how profiles are used in DataPower B2B

Data is exchanged between two trading partners. In DataPower, these partners are either internal to the system or external to the system. For more details on partner profile management in DataPower, refer to section 7.1.1 in IBM Redbook: WebSphere DataPower B2B Appliance XB60 Revealed.

Internal Partner: The internal partner is the primary company and driving force within the hub community. This company is responsible for the purchase and construction of the hub community, including the definition of the electronic business processes transacted between them and their external partners. The Internal Partner's company is represented by a B2B Gateway Service named "MyHub".

External Partner: External partners are the companies that do business with the internal partner via the hub community. External partners must complete a configuration process to connect to the hub community. Once connected, external partners can exchange electronic business documents with the internal partner. The external partner's company is represented by a separate Application Domain named "PartnerHub", which has already been created for you on DataPower B2B.

Outbound AS2 (MyHub to PartnerHub)

In the outbound flow, we will consume a file from an FTP server and send an AS2 message to the external partner that preserves the original filename in the Content-Disposition header of the payload part of the multipart MIME message. This is done by creating and that uses a processing policy in the PartnerHub External profile in the MyHub domain. The AS2 data flow is shown in Figure 1.

Figure 1. Outbound AS2 flowOutbound AS2 flow

Inbound AS2 (PartnerHub to MyHub)

In the inbound flow, we will consume an AS2 message from the PartnerHub's gateway, extract the original filename from the Content-Disposition header of the payload part of the multipart MIME message, and write the file to an FTP directory. This is done by turning on the filename preservation in the AS Settings tab and using a processing policy in the MyHub internal profile in the MyHub domain. The AS2 data flow is shown in Figure 2.

Figure 2. Inbound AS2 flowInbound AS2 flow

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateway"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
08 June 2021

UID

ibm11109667