Inbound and Outbound Document Flow
The inbound document flow for a PIDX document through Sterling B2B Integrator is as follows:
- Inbound Sequence
- Description
- 1
- A PIDX message is received using HTTP.
- 2
- The RN HTTP Server adapter is configured to invoke the Bootstrap business process when a message arrives.
- 3
- The RNIF Deenvelope business process invokes the RN Parsing service, constructs the header elements into process data, and extracts the service content and attachments.
- 4
- The RNIF Parsing service parses and validates the entire message.
- 5
- Based on the result of the parsing, the RNIF Parsing service decides either to send an acknowledgement or exception. Additionally, the RNIF Parsing Service sends a HTTP Response status code to the initiator of the message (via HTTP).
- 6
- The Transaction Responder Private business process is invoked to determine if the message is a two-action PIP.
- 7
- If the transaction is a two-action PIP, the responder sends the response Action Message to the initiator.
The outbound document flow for a PIDX document through Sterling B2B Integrator is as follows:
- Inbound Sequence
- Description
- 1
- Using a compiled map, the translator translates the PIDX document and creates a Primary Document.
- 2
- The initiator invokes a business process that assigns absolute file names to any Attachment Files.
- 3
- The Transaction Initiator Private business process is invoked by the initiator business process to set the PIP/Transaction code and any other Contract information.
- 4
- The RNIF Envelope business process is invoked to
construct the Message Header elements. Note: Message building refers to creating message headers and bundling them with the actual payload (the service content of the message), with or without attachments.
- 5
- The RNIF Attachment business process is invoked to loop through the attachment files and construct the necessary attachment elements.
- 6
- The RNIF Message Builder service is invoked to create the actual message using the header elements that were created, the primary document, and the attachment file information.
- 7
- The RNIF HTTP Send business process is invoked to send the message to the responder using the RN HTTP Server adapter.