![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
1. Select the tab Global Variables.Figure 4 CMI Data in Global VariablesBC_HOME\protocols\cmi\examples\SampleDocs.
2. The process insertparticipant opens in the design window.Figure 5 Insert Participant Process
3. Select the resource ReadFile.
4. Select the Input tab.Figure 6 Read File for the ParticipantIn the Activity Input window, the fileName parameter shows which sample file will be used for this operation: INSERTParticipantREQ.xml listed in GlobalVariables/CMI/cmi.doc.path.
5. To edit the sample XML file, go to BC_HOME\protocols\cmi\examples\SampleDocs\ INSERTParticipantREQ.xmlExample 1 INSERTParticipantREQ.xml
- <INSERTParticipantREQ xmlns="http://www.tibco.com/AX/BC/CMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.tibco.com/AX/BC/CMI ../../src/com/tibco/ax/cmi/resource/cmipayload.xsd">- <BizLocation name="loc1">- <EnabledProtocol name="EZComm"><DefaultAS2DomainId idName="12345"/>
- <INSERTParticipantREQ xmlns="http://www.tibco.com/AX/BC/CMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.tibco.com/AX/BC/CMI ../../src/com/tibco/ax/cmi/resource/cmipayload.xsd">- <BizLocation name="loc1">- <EnabledProtocol name="EZComm"><DefaultAS2DomainId idName="12345"/>
1.
2. For the Type, enter Host
6. In TIBCO Designer, select the Tester tab.Figure 7 Select Processes to Load
8.
• If it is successful, you will be able to see the Host participant added to the TIBCO Administrator GUI under BusinessConnect > Participants.Check the response file that has been created in the logs folder (path is provided for the global variable cmi.log.path).
- <INSERTParticipantREQ xmlns="http://www.tibco.com/AX/BC/CMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.tibco.com/AX/BC/CMI ../../src/com/tibco/ax/cmi/resource/cmipayload.xsd">- <BizLocation name="loc1">- <EnabledProtocol name="EZComm"><DefaultAS2DomainId idName="54321"/>
1. Enter the name for this Partner (Partner1).
2. For the Type, enter Partner
5. Be sure to enter a different idName from the one used for the Host.
7. With TIBCO Designer, select the Tester tab.
9.
− If it is successful, you will be able to see the Partner participant added to the TIBCO Administrator GUI under BusinessConnect > Participants.Check the response file that has been created in the logs folder (path is provided for the global variable cmi.log.path).
2. The process for insertbizagreement opens in the design window.Figure 9 Insert Business Agreement Process
3. Select the resource ReadFile.
4. Select the Input tab.Figure 10 Read File for the Business AgreementIn the Activity Input window, the fileName parameter shows which sample file will be used for this operation: INSERTBusinessAgreementREQ.xml listed in GlobalVariables/CMI/cmi.doc.path.
5. To edit the sample XML file, go to BC_HOME\protocols\cmi\examples\SampleDocs\ INSERTBusinessAgreementREQ.xmlExample 4 INSERTBusinessAgreementREQ.xml
- <INSERTBusinessAgreementREQ xmlns="http://www.tibco.com/AX/BC/CMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.tibco.com/AX/BC/CMI../../src/com/tibco/ ax/cmi/resource/cmipayload.xsd">
7.
10. In TIBCO Designer, select the Tester tab.
12.
− If the operation is successful, you will be able to see the Business Agreement Host-Partner1 added to the TIBCO Administrator GUI under BusinessConnect > Business Agreements.You can debug it in TIBCO Designer by checking the output tab of the SendRequest activity in op_instertbizagreement process.Check the response file that has been created in the logs folder (path is provided for the global variable cmi.log.path).
15. The process for GetOneEnabledProtocol opens in the design window.Figure 12 Get Enabled Protocol Process
16. Select the resource ReadFile.
17. Select the Input tab.In the Activity Input window, the fileName parameter shows which sample file will be used for this operation: GETONEEnabledProtocolREQ.xml listed in GlobalVariables/CMI/cmi.doc.path.
18. To edit the sample XML file, go to BC_HOME\protocols\cmi\examples\SampleDocs\ GETONEEnabledProtocolREQ.xmlFigure 13 GETONEEnabledProtocolREQ.xml
<participantName>Partner1</participantName><protocol>EZComm</protocol>
22. In TIBCO Designer, select the Tester tab.
24. If the operation is successful, the schema with values will be posted to the ResponseFile, which has been created in the logs folder (path is provided for the global variable cmi.log.path).If the operation is not successful, you can debug it in TIBCO Designer by checking the Output tab of the SendRequest activity in the process op_getenabledprotocol.Check the response file that has been created in the logs folder (path is provided for the global variable cmi.log.path). You can also use the Log Viewer in TIBCO Administrator to see the summary of this operation, including the causes of failure. To learn more about viewing audit logs, see Chapter 5, Viewing Audit Logs.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |