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

can Outbound Message call apex class generated as web service ?

Hi all,

I have asked about this problem of mine in this forum but I can't find my post. So I make a new one, hope all of u don't mind.
So as my subject on this post, I have a problem to set outbound message with apex class generated as web service. Is salesforce support this kind of method ? The reason I'm doing this is I want to call a designated web service after create / update a contact record. Trigger method can't support calling external web service as I've tried this.
Any suggestions would be great.

no, outbound messaging can't call an apex web service.

you should probably use a trigger and the @future annotation.