Initiator Public Process
This process initiates RosettaNet Implementation Framework (RNIF) messaging on the initiator system by creating and sending the initial RNIF business message.
Message Flow in the Initiator Public Process
The message flow through the initiator public process is as follows:
The initiator public process receives the service content and attachments from the private process through the service-content port.
The public process sends the response to the private process, and does no further processing.
If the public process receives notification that Microsoft BizTalk Accelerator for RosettaNet (BTARN) did not successfully send the message, the public process sends that status back to the initiator private process, and then ends.
If the public process receives notification that BTARN successfully sent the message, the process enters a wait state (waiting for action by the responder).
The following actions can end the wait state:
The public process receives an acknowledgement signal from the responder.
If non-repudiation for the signal is required (as set in the process configuration settings), the process reads the digest, correlates the digest in the signal with the digest in the original action message, and then persists the signal.
The public process sends the headers and service content of the signal to the private process.
The public process receives a double-action response message from the responder.
The process extracts the service content and headers from the response message, and sends them to the private process.
If the activity is synchronous, the process constructs an RNIF signal message by wrapping the service-content message part with the preamble, service header, and delivery header (for RNIF 2.01). The process creates the preamble and headers using configuration information about the source and destination parties, and the PIP variables stored in the trading partner agreement between the parties. The process then sends the signal message to the responder.
If the activity is asynchronous, the process ends.
The public process receives a Notification of Failure (NoF) message from the responder. The public process sends a corresponding status message to the initiator private process. The private process then handles the error and ends both processes.
The public process does not receive an acknowledgement signal from the responder within the Time to Acknowledge period (as set in the process configuration settings). If so, one of the following occurs:
If the number of retries (as set in the process configuration settings) has not reached zero, and the activity is asynchronous, the public process sends the message again.
If the number of retries (as set in the process configuration settings) has not reached zero, and the activity is synchronous, the public process initiates a 0A1 message.
Note
CIDX does not support 0A1 messages.
If the number of retries reaches zero without a successful send, the public process posts an error message, and if this is not CIDX, the public process sends a 0A1 message.
If the activity is synchronous, and this is not CIDX, the public process initiates a 0A1 message.
If no action occurs within the Time to Perform period, and this is not CIDX, the public process sends a 0A1 message.