Invocation Attribute Sample Clauses
Invocation Attribute. The result of an action can be received by the client in an asynchronous or synchronous fashion. The distinction is primarily whether the client blocks until the results are received (synchronous) or does not block and receives the results at a later time. A given action may be specified as always synchronous, always asynchronous, or either synchronous or asynchronous. "Either synchronous or asynchronous" means that the client may choose either synchronous or asynchronous for a given invocation of the action. The synchronous/asynchronous properties are specified as part of the definition of each action and must be agreed to between the parties at the time the TPA is written. The synchronous/asynchronous properties of an action as seen by the client are specified using the Invocation attribute of the <Action> tag. The following values can be specified: Invocation="syncOnly" - The action can only be invoked as synchronous. Invocation="asyncOnly" - The action can only be invoked as asynchronous. Invocation="either" - The action can be invoked as either synchronous or asynchronous. If the Invocation attribute is not provided, the default is "asyncOnly".
