Adapter for Salesforce 8.2 | webMethods Adapter for Salesforce Documentation | webMethods Adapter for Salesforce Installation and User’s Documentation | Salesforce.com Outbound Messaging | Updating the Endpoint URL of the Salesforce.com Outbound Message
 
Updating the Endpoint URL of the Salesforce.com Outbound Message
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
1. In the Salesforce.com user interface, go to Setup > Create > Workflow & Approvals > Outbound Messages.
2. Click Edit to make changes to an existing outbound message.
3. View the WSDL document on which the web service descriptor is based. For more information about how to acquire a WSDL document for the provider web service descriptor, see the webMethods Web Services Developer’s Guide.
The value of the address location element in the WSDL document currently specifies the location of the web service descriptor.
4. Use the value of the address location element in the WSDL and replace the <IP>:<port> part of this address with <Enterprise Gateway Server IP>:<Enterprise Gateway external port> to create an endpoint URL for the outbound message.
When Salesforce.com sends an outbound message to this newly created endpoint URL, the outbound message is routed through the Enterprise Gateway Server and reaches the web service descriptor in the Internal Server.
For more information about creating the web service descriptor for the outbound message from Salesforce.com, see Creating a Web Service Descriptor in Integration Server for Receiving the Outbound Message.
5. In the Endpoint URL field, enter the endpoint URL for the outbound message (that is, the endpoint URL you created in step 4).
For example, let us consider that the value of the address location element in the WSDL is http://10.60.28.176:5555/ws/OutboundMessaging:testWSDLDescriptor, the IP address of the Enterprise Gateway Server is 10.30.20.110, and the Enterprise Gateway external port is 7777.
If you replace 10.60.28.176:5555 with 10.30.20.110:7777 in the address, the resulting address will be http://10.30.20.110:7777/ws/OutboundMessaging:testWSDLDescriptor
Then, you will specify http://10.30.20.110:7777/ws/OutboundMessaging:testWSDLDescriptor as the endpoint URL for the outbound message.
6. Click Save.
7. For more information about configuring the outbound messages, see the Force.com Web Services API Developer's Guide.