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
jf317820jf317820 

Outbound message to Apex class?

Forgive me if this has been covered, but I couldn't find it in the Wiki, Apex docs, or search...

Is it possible to send an "outbound" message to an Apex class defined as a web service?
SuperfellSuperfell
No. Why don't you just use a trigger ?
jf317820jf317820
b/c i didn't think triggers were supported on approval/process items
soofsoof
Simon,
 
We have a similar requirement - Actually, we have an Apex Webservice that does a Callout to an external WS. The problem is that we cannot use triggers because triggers do not support Callout to external WS.  We do not want to call the external WS from the Outbound Message (or anywhere else) because we want to reuse the logic in the Apex Webservice.
 
Is calling Apex WS still not possible in the latest release?  Is there any other way you think we could accomplish this?
 
Thanks.
SuperfellSuperfell
Summer '08 includes a developer preview of a feature called async apex, that'll let you asynchronously make callouts from a trigger.