Salesforce.com Outbound Messaging
Overview
Outbound messaging is part of the workflow rule functionality in Salesforce.com. Workflow rules watch for specified field changes and trigger automatic sending of an outbound message. Using the notifications() call in Salesforce.com, outbound messaging sends SOAP messages over HTTP or HTTPS to a designated endpoint when triggered by a workflow rule.
You can configure workflow rules in Salesforce.com so that it sends notifications when any changes are made to Salesforce objects. Once a workflow rule has been associated with an outbound message, a WSDL is created and is made available for download from the Salesforce.com user interface. This WSDL contains the endpoint URL for the recipient of the message and the information you want to include in the outbound message.
If you configure an outbound message, then whenever an event defined in the workflow rule is triggered, Salesforce.com sends an outbound message containing the values of the specified fields to your Integration Server. You create a web service descriptor in Integration Server using the WSDL generated at Salesforce.com to process the outbound notification message resulting from the workflow rule. For more information, see Receiving Outbound Messages from Salesforce.com and the IBM webMethods Service Development Help for your release.
To ensure security, place your Integration Server behind an internal firewall and place a IBM webMethods Enterprise Gateway in the DMZ to allow it to accept communications and process requests from Salesforce.com. For information related to setting up an Enterprise Gateway Server for processing Salesforce.com notifications, see Setting Up an Enterprise Gateway Server. For detailed information about using an Enterprise Gateway Server, see the IBM webMethods Integration Server Administrator’s Guide for your release.
Setting Up to Receive the Outbound Messages from Salesforce.com
About this task
This section lists the steps you perform to set up Salesforce.com to send outbound messages and Integration Server to receive the outbound message notifications from Salesforce.com.
To set up Integration Server and Salesforce.com for outbound messaging
Procedure
- Define the outbound message and configure the workflow rule using the Salesforce.com user interface. When you define an outbound message, Salesforce.com creates a WSDL file that is associated with the outbound message. For more information about the steps to define the outbound message, see the Force.com Web Services API Developer's Guide.
- Download the WSDL file using the Salesforce.com user interface. Use this WSDL file when creating the web service descriptor for the outbound message. For more information, see Downloading the WSDL for the Outbound Message.
- Create a web service descriptor to handle the outbound notification message resulting from the workflow rule. The procedure to implement the web service descriptor depends on the version of Integration Server. For more information, see Creating a Web Service Descriptor in Integration Server for Receiving the Outbound Message.
- Set up an Enterprise Gateway Server for receiving the outbound messages from Salesforce.com. For information, see Setting Up an Enterprise Gateway Server.
- Update the endpoint URL of the Salesforce.com outbound message. Specify the Enterprise Gateway external port of the Enterprise Gateway Server as the endpoint URL for the outbound message. For more information, see Updating the Endpoint URL of the Salesforce.com Outbound Message.
Downloading the WSDL for the Outbound Message
About this task
After defining the outbound message and the workflow rules in Salesforce.com, Salesforce.com creates a WSDL that is associated with the message. This section lists the steps to download the WSDL file using the Salesforce.com user interface. Use this WSDL file when creating the web service descriptor for the outbound message.
To obtain the WSDL for the outbound message
Procedure
- In the Salesforce.com user interface, go to Setup > Create > Workflow & Approvals > Outbound Messages.
- On the All Outbound Messages page, click the name of the message for which you want to create a service.
- In the Endpoint WSDL field, click Click for WSDL to display the WSDL.
- Save the WSDL to your file system. You will use this WSDL when creating the web service descriptor that handles the outbound messages.
- For more information on how to download the WSDL file, see the Force.com Web Services API Developer's Guide.
Creating a Web Service Descriptor in Integration Server for Receiving the Outbound Message
About this task
In Integration Server, you can create a web service descriptor for the outbound message from Salesforce.com.
To create the web service descriptor that processes the outbound message in Integration Server
Procedure
Setting Up an Enterprise Gateway Server
About this task
This section provides the basic steps for setting up an Enterprise Gateway Server. For detailed information, see the IBM webMethods Integration Server Administrator’s Guide for your release.

To set up an Enterprise Gateway Server
Procedure
Updating the Endpoint URL of the Salesforce.com Outbound Message
About this task
After setting up an Enterprise Gateway Server, you must update the endpoint URL specified in the outbound message to point to the external port of the Enterprise Gateway Server.
To update the endpoint URL of the outbound message for Integration Server