How You Manage B2B Configuration

Certain set up must be completed to manage B2B configuration for exchanging messages with Collaboration Messaging Framework.

You must set up these:

  • Trading partners

  • Documents to be exchanged through Oracle B2B (only documents for user-defined external message definitions)

  • Delivery channels

  • Trading partner agreements

Set Up Trading Partners

Let's look at how you set up trading partners:

  1. In the Setup and Maintenance work area, go to the Manage B2B Configuration task in the Manufacturing and Supply Chain Materials Management offering.

  2. In Oracle B2B, click the Add New Trading Partner icon.

    Ensure that partner name you enter is the same as the trading partner or service provider name set up for your partner in Collaboration Messaging Framework.

  3. Click OK, confirm, and then click Save.

    You also need to create a generic identifier for the trading partner that is the same as either the Service Provider Name or the Trading Partner Name in Collaboration Messaging Framework.

Set Up Documents to be Exchanged Through Oracle B2B

After setting up a trading partner and delivery channel, here's how you can set up documents to be exchanged in messages:

  1. In Oracle B2B, on the Documents tab, click the Add Document Definition icon.

  2. Select the required document definition and click Add.

    Note:
    • The documents prefixed with CMK_ are predefined Collaboration Messaging Framework messages (except for OAG 7.2.1, which is displayed as OAG).

    • The first level of selection in the dialog box is the document protocol, which correlates to the message standard in Collaboration Messaging Framework. The next level is the protocol version that correlates to the version standard in Collaboration Messaging Framework. The third level is the document type that correlates to the message type of the external message definition in Collaboration Messaging Framework.

    • After you select the document for the partner, you can define wither it's inbound or outbound using the Sender (message is outbound) and Receiver (message is inbound) check boxes.

    If you have a user-defined external message definition:

    • You need to add a document definition in Oracle B2B ensuring that the message type is the same as the B2B document type (Administration > Document > Routing). For inbound documents, you need to set the Document Routing ID to CMK_OSN_INBOUND (this is the Collaboration Messaging Receiving Composite ID).

  3. Click Save.

Setup a Delivery Channel for the Trading Partner

You need to set up channels for outbound message exchange.

  1. In Oracle B2B, on the Channels tab, click the Add Channel to Trading Partner icon.

  2. Select Generic HTTP from the Protocol drop-down list.

    In the Channel Details section, Transport Protocol Parameters tab, enter a URL as an endpoint, user name, and password, and select the Use Proxy check box.

  3. Click Save.

Set Up Trading Partner Agreements

In Oracle B2B, when you want to exchange messages with a trading partner, you need to create a trading partner agreement for all documents that are exchanged.

  1. In Oracle B2B, in the Agreement Section click the Create New Agreement icon.

  2. Fill in the relevant details and click Save.

For more information see the Oracle Cloud User's Guide for Oracle B2B.