Invoke
Invoke activity is an asynchronous activity that calls an operation of a process reference. The process reference can be configured to invoke another process (subprocess) or invoke an external service through a binding such as SOAP.
General
The General tab has the following fields.
Advanced
The Advanced tab has the following field.
Input item | Literal Value/Module Property | Description |
---|---|---|
Activity Timeout (seconds) | Yes | The Invoke activity timeout in seconds. You can either select a preset timeout (Default Timeout, 30, 60,or 120 seconds) or specify a custom timeout in seconds. |
Conversations
You can initiate the conversation here. Click the Add New Conversation button to initiate multiple conversations.
For more information about conversations, see the TIBCO ActiveMatrix BusinessWorks™ Application Development guide.Fault
The Fault tab lists the possible exceptions generated by this activity. For more information about error codes and the corrective action to take, see the TIBCO ActiveMatrix BusinessWorks™ Error Codes guide.
Invoke for SOAP with HTTP
When used to invoke SOAP service, it displays the faults defined in the WSDL file along with the following exceptions:
Fault | Generated When.. |
---|---|
HTTPClientException | The HTTP server responds with a message containing the 4XX status code. |
HTTPServerException | The HTTP server responds with a message containing the 5XX status code. |
HTTPCommunicationException | An HTTP exception occurred while executing the specified method, or when trying to read the response. |
To send HTTP responses logging on the wire, set the following VM argument:
- -Dorg.apache.commons.logging.simplelog.defaultlog=DEBUG
- -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
- -Dorg.apache.commons.logging.simplelog.showdatetime=true
- -Dorg.apache.commons.logging.simplelog.log.org.apache.http=DEBUG
- -Dorg.apache.commons.logging.simplelog.log.org.apache.http.wire=DEBUG