Adapter for Salesforce 8.2 | webMethods Adapter for Salesforce Documentation | webMethods Adapter for Salesforce Installation and User’s Documentation | Overview of webMethods Adapter for Salesforce | Adapter Listeners and Listener Notifications | Listener Notifications | Synchronous Listener Notifications
 
Synchronous Listener Notifications
When you create a synchronous listener notification, Adapter for Salesforce creates the following publishable document types:
*Request document
*Reply document
At run time, the synchronous listener notification invokes a specified adapter service and passes the message to the specified Request document. The service returns the Reply document to Adapter for Salesforce. The listener notification waits until the service has finished processing the message before it initiates the next service.
Synchronous adapter listener notifications execute flow services and return values from those services. Integration Server 8.2 supports the following two execution modes to determine how the notification executes a flow service and returns output:
*Service Invoke mode: When this mode is selected, the adapter notification invokes a flow service directly and returns values as output from that service.
*Publish and Wait mode: When this mode is selected, the adapter notification publishes the received data either to the local Integration Server or to the webMethods Broker connected to that Integration Server by converting request documents into publishable documents, and then waits for a reply. This mode is needed when a synchronous adapter notification is represented as a receive step in a process model.
For steps for selecting a publish destination for synchronous listener notification messages, see Configuring a Synchronous Listener Notification.