function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
coodicoodi 

Outbound messaging: Constructing of SOAP response in web service and handling it on SF side

Hi all,

 

after completing processing an outbound message in my web service, I would need to implement a (custom) SOAP response (for example in an error situation), return it to Salesforce and then handle it so that the Salesforce user is notified if something went wrong. At the moment, if an exception is thrown in web service, the outbound message stays in the SF queue, but the user is not informed in any way about the failure?

 

So, could someone give some advice/links to instructions how to

1) construct the custom SOAP response (with ack/nack included)

2) process the response on SF side

 

Any advice/tips/tricks would be greatly appreciated, searching the web and force.com did not give much useful information.