Salesforce: Fire a SOAP Outbound Message using Apex

Posted by codeulike on Stack Overflow See other posts from Stack Overflow or by codeulike
Published on 2010-04-30T15:02:55Z Indexed on 2010/05/06 9:18 UTC
Read the original article Hit count: 575

Filed under:
|
|

I have an existing Workflow Rule that fires of a (SOAP) Outbound Message when a certain type of object is created or updated. That works fine.

I want to extend it so that a similar Outbound Message is also sent when the objects are deleted.

According to this discussion, Workflow Rules cannot be made to fire based on object deletions, so I have to write an Apex Trigger instead.

So the question is, how do I kick off a SOAP Outbound Message from within Apex?

© Stack Overflow or respective owner

Related posts about salesforce

Related posts about apex