- Set up IBM Corporation TPI server:
- Start the TPI Administrator Tool on the IBM machine.
- From the Company Profiles tab, import the company profile from the
file:
%CROSSWORLDS%\connectors\TPI\samples\WebSphereICS\IBM\IBMCorporation_company.xml.
- Leave the import password blank.
- Also from the Administrator Tool, select the partners tab, and import the
partner profile from the file:
%CROSSWORLDS%\connectors\TPI\samples\
WebSphereICS\IBM\IBMTradingPartner_partner.xml.
The company identification for this TPI Server will be IBM
- Open the properties for the partner profile, and navigate to the bundled
HTTP under the Outbound Transport tab. Change the URL from
"http://IBMHost:4080/exchange/IBM" to fit your machine
name.
- Update the TPHost to the name of the IBM trading partner machine.
- Set up IBM Trading Partner TPI server:
- Start the TPI Administrator Tool on the IBMTP machine.
- From the Company Profiles tab, import the company profile from the
file: %CROSSWORLDS%\connectors\TPI\samples\WebSphereICS\
IBMTP\IBMTradingPartner_company.xml.
- Also from within the Administrator Tool, select the partners tab, and
import the partner profile from the file:
%CROSSWORLDS%\connectors\TPI\samples\
WebSphereICS\IBMTP\IBMCorporation_partner.xml.
The company identification for this TPI Server will be
IBMTP.
- Open the properties for the partner profile, and navigate to the bundled
HTTP under the Outbound Transport tab. Change the URL from
"http://IBMHost:4080/exchange/IBM" to fit your machine
name.
- Update the IBMHost to the name of the IBM machine.
- Load business objects into the repository:
- Start WebSphere InterChange Server from the IBM machine.
- Using the Business Object Designer, load the repository file:
Sample_TPI_Order_Objects.in
from the
%CROSSWORLDS%\connectors\TPI\samples\WebSphereICS\IBM
folder.
- Confirm that ten business objects have been loaded.
- Load connectors into the repository:
- Using Connector Configurator, load the repository file:
Sample_TPI_Order_Connectors.in
from the
%CROSSWORLDS%\connectors\TPI\samples\WebSphereICS\IBM
folder.
- Confirm that the TPI Connector and and PortConnector definitions have been
loaded.
- Configure TPI Connector:
- Use your System Manager to select the TPI Adapter definition and launch
the Connector Designer. Modify the following adapter configuaration
properties to fit your file structure. If they don't exist, create
these paths and files:
- TradingPartnerConfigurationFile
-
MetaEventDir
-
DocumentOutDir
-
ArchiveProcessedDocDir
- Load collaboration objects and templates into the repository:
- Use your System Manager to load the repository file labeled
Sample_TPI_Order_Collaborations.in
located in the
%CROSSWORLDS%\connectors\TPI\samples\WebSphereICS\IBM
folder.
- Confirm that the
Order_PassThrough
template definition, and the
Port_To_TPI
and
TPI_To_Port
collaboration objects have been loaded.
- Compile the collaboration template. Using your system manager,
select the Collaboration Templates folder, and then select Compile All.
- Restart the WebSphere InterChange Server.
Complete these steps to run the service call scenario.
- On the IBM machine:
- Start the WebSphere InterChange Server, and then start the adapter for
TPI. (This automatically starts the TPI server.)
- Start one instance of the Visual Test Connector.
- On the IBMTP machine: Start the TPI server.
- Simulate the Port Connector:
- Use the Test Connector to define a profile for PortConnector.
- Select Connect Agent from the Test Connector's file menu to begin
simulating the agent.
- Load the test data:
- Use the Visual Test Connector simulating the PortConnector, and select
Load BO from the Edit menu.
- Select and load the file:
%CROSSWORLDS%\connectors\TPI\samples\WebSphereICS\IBM\sampleOrderData.bo
- Send the test data:
- Use the Visual Test Connector simulating the PortConnector, and select the
loaded test Business object.
- Select Send from the Request menu.
- Confirm successful processing by checking the XLMin folder on the
IBMTP machine for the XML document.
Complete these steps to run the polling scenario.
- On the IBM machine:
- Start the WebSphere InterChange Server, and then start the adapter for
TPI. (This automatically starts the TPI server.)
- Start one instance of the Visual Test Connector.
- On the IBMTP machine: Start the TPI server.
- Simulate the Port Connector On the IBM machine:
- Use the Test Connector to define a profile for PortConnector.
- Select Connect Agent from the Test Connector's file menu to begin
simulating the agent.
- Send the sample data:
- On the IBMTP machine:Move the following file into the
XMLout directory:
%CROSSWORLDS%\connectors\TPI\samples\WebSphereICS\IBMTP\sampleOrderData.xml
- The TPI server running on the IBMTP machineshould process this
event and hand it off to the adapter for TPI running on the IBM
machine.
- Accept the request using the Visual Test Connector simulating the
PortConnector. Reply with a successful response.
- Confirm successful processing by checking the data in the accepted
request.
