P Running Oracle B2B as a Hub

Oracle B2B provides an out-of-box solution that allows Oracle B2B to run as a hub.

The appendix includes the following sections:

P.1 Introduction

To run Oracle B2B as a hub, you need to configure three trading partners.

For example:

  • OracleServices: The host trading partner that acts as a hub.

  • MarketInc: The trading partner that sends HL7 ADT_A01 documents to another trading partner, RetailInc by using OracleServices.

  • RetailInc: The trading partner that receives the HL7 ADT_A01 documents sent by MarketInc through OracleServices.

So, the message flow as per the preceding example will be:

MarketInc  <--- ADT_A01 ----> OracleServices (HUB) <--- ADT_A01 ----> RetailInc

The preceding flow demonstrates that MarketInc is sending the ADT messages to OracleServices, but actually in the technical implementation, MarketInc assumes the following flow:

MarketInc <----------------> RetailInc

So, at the Oracle B2B server of MarketInc, the agreement(s) are configured between MarketInc and RetailInc, but the channel location is the one on which OracleServices' Oracle B2B server listens for messages from partners.

P.2 Configuring Oracle B2B as a Hub

The overall steps to configure Oracle B2B hub are as shown below.

To configure Oracle B2B as a hub:

  1. Create two HL7 document definition as the following:
    • ADT_A01_Def

    • ACK_A01-Def

    Note:

    There is no specific configuration required in creating the document definition. It is the same as creating documents for one-to-one communication.

  2. Configure the trading partners:
    • Configured MarketInc as sender of ADT and receiver of ACK.

    • Configure RetailInc as receiver of ADT and sender of ACK.

  3. Configure the channels and add identifiers in the trading partner profile.
  4. Configure the agreements:
    • MarketInc: Configure two agreements with MarketInc, one each for ADT (Inbound) and ACK (Outbound).

    • RetailInc: Configure two agreements with RetailInc, one each for ADT (Outbound) and ACK (Inbound).

  5. Save, validate, and deploy the agreements.

P.3 Testing the Configuration

To start and test the message flow, place an ADT_A01 message in the external listening channel directory of OracleServices.

Once the message gets removed from the directory, navigate to Oracle B2B reports and verify:

  • The incoming ADT from MarketInc has been processed successfully.

  • An ACK for incoming ADT has been sent to MarketInc.

  • The same ADT has been passed to RetailInc.