![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
There are five types of operations for a RPC Server: insert, update, delete, upsert, and query. SOAP Request Reply activity gets the operation type from its corresponding RPC Server, while detailed information of all types of operations are defined in the Activity Input panel.Fields in the Activity Input panel for query operation are different from other types of operations.For operation types insert, update, delete, and upsert, the detailed information about how to perform the operation is manually input in the Data section or mapped from other applications. Figure 35 shows the Input tab of an insert operation.Figure 35 Input Tab of Insert OperationFor operation type query, specify the query type in the _caret_operationType_caret_ field: formula, runagent, view, or ftsearch. Then enter detailed information according to the query type.
• For the query type formula, enter the formula to be executed in the _caret_formula_caret_ field. See Guidelines for Using Formula.
• For the query type runagent, enter the name of the agent to be called in the _caret_agentname_caret_ field.The target field of the agent should not be All selected documents when created in the Lotus Domino Designer.
• For the query type view, enter the name of the view to be searched into in the _caret_view_caret_ field.
• For the query type ftsearch, enter full text search parameters in the ftSearchParameters field. See Guidelines for Setting FTSearch Parameters.If TIBCO ActiveMatrix BusinessWorks is used alone to communicate with a Request-Response Service, you must manually input the information mentioned above.If TIBCO ActiveMatrix BusinessWorks is used together with a Request-Response Invocation Service to communicate with a Request-Response Service, you should establish a mapping of their fields.For a document that has fields of type Any, if these fields are to be handled by the adapter in the TIBCO ActiveMatrix BusinessWorks process, you need to change their types in the Input Activity to be specific.For example, for a document that has attachment to be processed by the adapter, the corresponding field must be changed according to the type of the attachment in the Input activity.
1.
2.
3. In the Edit Statement dialog, click the Type tab, select the Type Substitute checkbox, and then change the field type according to the type of the attachment.
4. Click OK.For RPC Server with dynamic login, three SOAP Request Reply activities are needed. One for Login, one for Logout, and one for RPC Server.For the activity associated with the Login Service, you need map the username and password to the Activity Input fields.For the activity associated with the Request-Response Service, you need map the sessionID from the Login Service to the _caret_userClosure_caret_ field:
1. In the Input tab, select the _caret_userClosure_caret_ field.
2.
3. In the Edit Statement dialog, click the Type tab, select the Type Substitute checkbox, and then change the field type to String.
4. Map the sessionID obtained through the Login Service to the _caret_userClosure_caret_ field.For the activity associated with the Logout Service, you need map the SessionID to the Activity Input fields.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |