|
| Copyright © TIBCO Software Inc. All Rights Reserved |
Before you can configure trading partners for the Services Plug-in transactions, you must first configure an operation as explained in Configuring Services Plug-in Operations. This tutorial uses pre-configured operations, which are imported together with the tutorial.
1. In TIBCO Administrator, click BusinessConnect > Operations Editor.
2. Click Import.
3. Click the change link and upload the following file:BC_HOME\protocols\ezcomm\samples\interfaces\ezcommtutorial-operations.csxBC_HOME\protocols\ezcomm\samples\interfaces\ezcommtutorial_for_bw6-operations.csx
5. Click Import.It imports two operations named Manage Widgets and Widget Inventory. The default Notify operation and the two imported operations are displayed on the Edit Operations page:
6. Click Done.
See Configuring Services Plug-in for a Host for more information about setting up a host in a business agreement.
1. Click BusinessConnect > Participants.
2. Click New.
3.
4.
5. Click OK.
6. On the New Host Participant page, select the Active check box.
7. Click Apply.
8. Click BusinessConnect > System Settings on the left panel.
9. Click General.
10.
11. Click Save.
See Configuring Services Plug-in for a Partner for more information about setting up a partner in a business agreement.
1. Click BusinessConnect > Participants.
2. Click New.
3.
4.
5. Click OK.
6. On the New Partner Participant page, select the Active check box.
7. Click Apply.
8. On the Edit Partner Participant page, select the Protocols tab.
9. Click Enable.
10. Select the EZComm check box.
11. Click OK.The EZComm protocol is now in the Protocol Name field.
1.
2. Select the Transports tab.
3. Click Add.
Table 2 New Transport for the Partner
5. Click OK.
Table 3 New HTTP Transport
7. Click Save three times.
This section contains only the steps necessary for this tutorial, see Adding a New Business Agreement for a complete explanation.
1. Click BusinessConnect > Business Agreements.
2. Click New.Verify that the plug-in is displayed in the Protocols column for both trading partners. If it is missing, return to Enable Protocol for the Initiator Partner and enable it.
3.
4.
5. Click OK.
6. Confirm that the Valid check box in the General tab is selected. This makes the agreement valid immediately.
1.
2. Select the EZComm check box.
3. Click OK.The Plug-in now is displayed in the Agreement Protocol Binding list.
4. Click EZComm.
For this tutorial, clear the Allow All Operations check box. For this tutorial, select the Non-Repudiation Logging check box.
6. For this tutorial, select the Manage Widgets/1.0/buyWidgets check box.
7. Click OK.The selected operation is displayed in the Operation Name list.
1.
2. Click the Transports tab.
For this tutorial, select the Override Transports check box.
4. Click Save.This creates an operation binding for the buyWidget operation that overrides any outgoing request for this operation.The same binding is used for the incoming response for this request; for example, if you want to override the schema validation for an incoming response, you can select the desired value in the Operation Settings tab for this binding.
1.
2. Start TIBCO Administrator and click the TIBCO BusinessConnect link.
See Configuring Services Plug-in for a Host for more information about setting up a host in a business agreement.
1. Click BusinessConnect > Participants.
2. Click New.
3.
4.
5. Click OK.
6.
7. Click Apply.
8. Click BusinessConnect > System Settings on the left panel.
9. Click General.
10.
11. Click Save.
See Configuring Services Plug-in for a Partner for more information about setting up a partner in a business agreement.
1. Click BusinessConnect > Participants.
2. Click New.
3.
4.
5. Click OK.
6.
7. Click Apply.
8.
9. Click Enable.
10. Select the EZComm check box.
11. Click OK.The EZComm protocol is now in the Protocol Name list.
1. Click the EZComm link.
2. Click the Transports tab.
3. Click Add.
Table 6 New Transport for the Partner
5.
7. Click Save three times.
This section only contains the steps that are necessary for this tutorial. See Adding a New Business Agreement for a complete explanation regarding this topic.
1. Click BusinessConnect > Business Agreements.
2. Click New.
3.
4.
5. Click OK.
6. Confirm that the Valid check box is selected. It makes the agreement valid immediately.
7. Click Add Protocol Bindings.
8. Select the EZComm check box.
9. Click OK.EZComm now is displayed in the Agreement Protocol Binding list.
10. Click Save.
This section only contains the steps that are necessary for this tutorial. See Configuring Agreement Protocol Binding for Services Plug-in for a complete explanation regarding this topic.
1. Click the Business Agreement link.
2.
4. For this tutorial, select Manage Widgets/1.0/buyWidgets.
5. Click OK.The selected operation is displayed in the Operation Name list.
1.
2. Click the Transports tab.
4. Click Save.This creates an operation binding for the buyWidget operation that overrides any incoming request for this operation.The same binding is used for the outgoing response for this request; for example, if you want to override the schema validation for an outgoing response, you can select the desired value in the Operation Settings tab for this binding.
To configure private processes, installing TIBCO BusinessConnect Palette in TIBCO Designer or TIBCO ActiveMatrix BusinessWorks Plug-in for BusinessConnect in TIBCO Business Studio are required.To install TIBCO BusinessConnect Palette or TIBCO ActiveMatrix BusinessWorks Plug-in in BusinessConnect, see TIBCO BusinessConnect Palette Installation or TIBCO ActiveMatrix BusinessWorks Plug-in for BusinessConnect Installation for more details.
2. Click New empty project.
3.
4. Click Project > Import Full Project.
5. Click Select a file from the file systemnext to the File field of the ZIP Archive tab to navigate to the ezcomm.zip file.
6.
7.
8. Click Apply.
9. Click Project > Save As.
10. Click Select a file from the file systemnext to the Project Directory field to navigate to a folder where you want to save the sample project.
If you want to restore the project for later use, you must select a directory other than the BC_HOME/protocols/ezcomm/samples/tutorial directory.If your select the same directory, the .zip file is deleted.
11.
12. Click OK.
1.
2. Click the BusinessConnect Server Access tab.
4. Click Apply.
5.
6. If you select the Select Operations check box, you could select any of the configured/imported operations. For this tutorial, select all operations and click OK.
7. Click Import Selected Business Protocol.In the Imported Operations field, you could see the operations that you have imported in Importing the Tutorial.
8. Click Apply.
9. Click Save.On the Responder computer, complete all steps explained in Task B, Configure Connections to Initiator TIBCO BusinessConnect, replacing all instances of Initiator with Responder.
2. Click File > Import.
3. On the Import page, expand the General folder and select the Existing Studio Projects into Workspace item. Click Next.
4. Click Browse next to the Select archive file field to navigate to the ezcomm_for_bw6.zip file. Click Finish.
1. Expand Module Descriptors in the Project Explorer view.
2. Double-click Module Properties.
3. In the User tab, change the default value of the BC_HOME_DIR property to your BC_HOME. By default, the vaule is D:/tibco/bc/.
1. In the Project Explorer view, click Resources > ezcomm_demo> INITIATOR.bcResource.
2. Click the Server Access tab.
4.
5. If you select the Select Operations check box, you could select any of the configured/imported operations. For this tutorial, select all operations and click OK.
6. Click Import Selected Business Protocol.
7. Click Save.On the Responder computer, complete all steps explained in Task B, Configure Connections to Initiator TIBCO BusinessConnect, replacing all instances of Initiator with Responder.
1. In TIBCO Designer, expand the RESPONDER folder.
2.
3. Click Read File > Input Tab > ReadActivityInput and verify that the path given in the fileName field is valid.
4. Click the Tester tab.
5. The Select Process to Load page is displayed.Figure 4 Select Process to Load
6. Select the Receive Async Request(current) check box.
7. Click Load Selected.
1. In TIBCO Designer, click INITIATOR > Asynchronous Request Response.Figure 5 SendRequest (Input)
4.
5. Click Read File > Input Tab > ReadActivityInput and verify that the path given in the fileName field is valid.
6.
7. Click the Tester tab.
9. Click Load selected.
10. Figure 8 Send Async Request
|
| Copyright © TIBCO Software Inc. All Rights Reserved |