You need to sign in to do that
Don't have an account?

Invoke a callout inside a Trigger
Hi!
I need to invoke a WS when an user update an Account.
I had thought in calling the ws inside a trigger, but I'm getting the next exception :
System.CalloutException: Callout from triggers are currently not supported.
Could you give me some tips for solving that inconvenience?
Thanks in advance
You will have to create a global class with future method and then invoke the method from your trigger.
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_annotation_future.htm