IBM BPM, V8.0.1, All platforms > Programming IBM BPM > Enterprise Service Bus programming > Invocation of Services > Service invocation styles
Invocation Style property for one way operations
The "Invocation Style" property of the Service Invoke mediation primitive or the Callout node determines the invocation style used to invoke a service
Within Integration Designer for a one way operation using a Callout node or Service Invoke mediation primitive, the options for the invocation style property on the Details page are:
- As target
- Sync
- Async one way
As target
The As target invocation style takes account of the Preferred Interaction Style that is specified on the target component, or import that is invoked by the mediation flow.
When the mediation flow component is invoked as Sync, it is not possible to asynchronously return a response to its caller. As a result, the mediation flow uses Sync invocation style when it is invoked Sync, even if the Preferred Interaction Style of the target is set to Async.
Invocation style used by the mediation flow component for Default invocations. The following table details the results for cases of how the mediation flow component is invoked
Property How the mediation flow component is called Preferred interaction style of the target Invocation style As target Sync Sync Sync Async one way Async or Any Async one way Async with deferred response Async with callback
Sync
The Callout node or Service Invoke mediation primitive invokes the service using the synchronous invocation style (Synchronous invocation).
Async one way
The Callout node or Service Invoke mediation primitive invokes the service using the asynchronous invocation style. The processing by the invoked service is separate from further processing by the mediation flow (Asynchronous invocation).
Compatibility
The invocation style used for a one-way operation is unchanged in the current release. See One way operation.