Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Standalone Private Processes Tutorial : Overview

Overview
This chapter provides a short tutorial that demonstrates how to use an operation to send a sample document from a trading host to a trading partner.
Operations
Two operations are defined in the sample interface file:
PONotify   This operation is used only when the initiator requires an acknowledgment from the responder to verify business document receipt.
POSync   This is a synchronous request-response operation that is used when the initiator and the responder do a more complex business exchange of business documents.
Only the POSync operation is used in this tutorial.
Trading Partners
The trading host is known as the initiator. The trading partner is known as the responder.
This tutorial includes the sample initiator, responder and operation configuration files along with the standalone initiator and responder private processes.
Two machines are used in the tutorial: an initiator machine and a responder machine. Each machine hosts a private process and BusinessConnect.
Transactions
The POSync operation consists of the following message flows:
1.
2.
3.
4.
5.
6.
7.
A detailed diagram of the POSync operation is displayed in Figure 3.
Figure 3 Request Response Operation POSync
Initiator Machine
The following sample files for the initiator machine are used in the tutorial and are available in the TIBCO_HOME/bc/version_number/protocols/soap/samples/client directory.
SOAPClient.properties  Contains information on the operation ID, trading partner, and attachments.
runSOAPClient.bat or runsoapclient  Executes the initiator.
operations.csx  Contains sample SOAP operations to be imported by the initiator.
Responder Machine
The following sample files for the responder machine are used in the tutorial and are available in the TIBCO_HOME/bc/version_number/protocols/soap/samples/server directory.
SOAPServer.properties  Contains information on attachments.
runSOAPServer.bat or runsoapserver  Executes the responder.
operations.csx  Contains sample SOAP operations to be imported by the responder.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved