Message Flow in the Initiator BTARN
Message flow on an initiator computer starts with receiving a message from the back-end line-of-business application, in its proprietary format. It involves converting that message to a RosettaNet Implementation Framework (RNIF)-compliant message, and then sending the message over the Internet to the responder computer.
If the Partner Interface Process (PIP) is single-action, the only response is an acknowledgement signal message. For information about single-action message flow, see "Flow of an Initiated Message" later in this topic. If the PIP is double-action, the initiator will receive a response message, and reply with an acknowledgement, in addition to the single-action message flow.
If the PIP is asynchronous, each message transmission over the Internet occurs on a different HTTP connection. If the PIP is synchronous, each message transmission occurs on the same connection, which the HTTP adapter holds until the process is complete. In a double-action synchronous scenario, the responder computer does not send an acknowledgement to the initiator computer in response to the initial request message. The response message serves as the acknowledgement.
BTARN Components on the Initiator Computer
As a message flows through BizTalk Accelerator for RosettaNet (BTARN) on the initiator computer, the following components will process the message:
SQL adapter
XML receive pipeline
Initiator private process
Initiator public process
XML send pipeline
HTTP adapter
RNIFSend.aspx page
For more information about these components, and how they process a message, see Message Processing in BTARN.
Flow of an Initiated Message
The following steps describe the message flow of an initiated message through the initiator BTARN computer. The following figure shows this process.
The line-of-business application sends the message to Microsoft SQL Server.
BTARN sends the message from the SQL Server database to the SQL adapter.
The XML receive pipeline does simple XML validation of the message.
BizTalk Server routes the message to the MessageBox database.
The private process processes the service content of the message.
The public process processes the RNIF headers of the message.
BTARN routes the message back to the MessageBox database.
The send pipeline performs assembly and signing/encryption/encoding of the message.
BTARN routes the message to the HTTP adapter.
BTARN routes the message to the RNIFSend.aspx page, which sends it over the Internet to its destination.
See Also
Message Flow in BTARN
Message Flow in the Responder BTARN
Message Processing in BTARN