![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
1. In the left navigation pane, select the method that you want to bind and click the method node as shown in Figure 8.Note: One method can only bind one process.Figure 8 Select a Method
2. In the right panel, click Browse resourcesnext to the Process Name field. The Select a Resource dialog is displayed.
3. After selecting the process, you can click Go to reference resourcenext to the Process Name field to direct to the bound process, where you can view and change the configurations of the bound process.
4.
5. In the Process Binding dialog, configure the input and output mappings, and then click Bind to save your configurations. See Configuring the Input and Output Binding for details.You can use the Process Binding dialog to specify how the HTTP request and response are mapped to the bound process.
• Input Binding You can use it to map parameters of the HTTP request to the input of the bound process.
• Output Binding You can use it to map the output of the bound process to the HTTP response as a reply. Two tabs are available in the Output Binding panel.
− Binding You can use it to define how the output of the bound process is mapped to the HTTP response.
− ResponseHeaders You can use it to customize the HTTP response headers.
TIBCO ActiveMatrix BusinessWorksTM Plug-in for REST and JSON supports:
• Customizing response code. See Customizing Response Code for details about how to customize response codes.
• Downloading multiple part contents in one request from a TIBCO ActiveMatrix BusinessWorks process. See Downloading MIME Multiple Parts Messages for details about how to download multiple part messages in one request from a TIBCO ActiveMatrix BusinessWorks process.TIBCO ActiveMatrix BusinessWorksTM Plug-in for REST and JSON supports the following default respond codes:
•
1. In the Output Binding panel, click the Binding tab.
2.
3.
4. In the Choice dialog, specify the number of the when conditions, and whether you need the otherwise conditions, and then click OK.
5. Figure 9 Customize the ResponseBefore downloading multiple parts of messages in one request from the server side, you need to enable the handleAllMimePartsAsAttachment property in the designer.tra file:
1.
2. Open the designer.tra file, and enter the following parameters in one line:Configure the mimeEnvelopeElement item in the Activity Input panel of the Output Binding window to download multiple parts of the messages.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |