Exchanging RNIF Payload Two - way PIP
IBM® webMethods B2B facilitates the exchange of PIP messages over RNIF 2.0 channel. Exchanging a document in a two-way PIP process with RNIF 2.0 involves receiving and sending action messages and acknowledgments from both the partners.
When a partner (sender) sends a PIP 3A4 Purchase Order request to another partner (receiver) over an RNIF OUT channel using transport version 2.0, the receiver in turn sends receipt acknowledgment to the sender.
The receiver generates 3A4 Purchase Order confirmation and sends it back to the sender as a response using an RNIF OUT channel and the sender sends the receipt acknowledgment to the receiver.
Consider two partners, wood supplier (enterprise-sender) and paper supplier (receiver).
The following image illustrates the two-way PIP document exchange:

Before You Begin
You need the following design-time assets at the sender's side:
- Enterprise partner profile (wood supplier) and receiver partner profile (paper supplier) configured with appropriate partner users.
- RNIF-IN and RNIF-OUT communication channels for both the sender and receiver partner profiles.
- Document types (PIP 3A4 PO Request and A_PIP_3A4_PO_Confirmation)
- Partner-specific TPA (sender: Wood supplier and receiver: Paper supplier with document type PIP 3A4 PO Request )
- Processing Rule (Deliver3A4PORequestToPaperSupplier: To send the document to the partmer)
You need the following design-time assets at the receiver's side:
- Enterprise partner profile (wood supplier) and receiver partner profile (paper supplier) configured with appropriate partner users.
- RNIF-IN and RNIF-OUT communication channels for both the sender and receiver partner profiles.
- Partner-specific TPA (sender: Wood supplier and receiver: Paper supplier with document type PIP 3A4 PO Request)
- Document types (PIP 3A4 PO Request and A PIP 3A4 PO Confirmation)
- Processing Rule (Generate3A4POConfirmationToWoodSupplier and Send3A4POConfirmationToWoodSupplier)
- Ensure that the Execution mode in the processing rule is set to asynchronous if you do not want to send the response synchronously.
On the Sender's (wood supplier) side
PIP_3A4_PO_Request document is submitted from IBM webMethods Integration to IBM webMethods B2B (Enterprise wood supplier).

The enterprise sender, wood supplier, sends this document over an RNIF Outbound channel using a custom processing rule Devlier3A4ToPaperSupplier..
The RNIF PIP 3A4 PO request (PIP_3A4_v02_00_Request) is sent to paper supplier.


Wood supplier receives receipt acknowledgment from paper supplier.

At the Receiver's (paper supplier) End
The receiver paper supplier receives a PIP 3A4 PO request (PIP_3A4_v02_00_Request) from wood supplier over asynchronous RNIF IN channel and generates and sends A_PIP_3A4_PO_Confirmation using a custom processing rule Generate3A4POConfirmationToWoodSupplier and Send3A4POConfirmationToWoodSupplier.



Paper supplier receives the receipt acknowledgment from wood supplier.

The RNIF payload is exchanged using two-way PIP document exchange.