You need to sign in to do that
Don't have an account?
Anbu_KS
"Callout from triggers are currently not supported" ?....
Dear all,
I need to call .net webservice from my salesforce.
I have a trigger on the Account Object that calls a class. That class then calls another class that makes an HTTP GET request to a .Net Web Service.
However I get the error:
"Callout from triggers are currently not supported".
How can I send data to an external Web Service using Apex code?
I don't know where i am missing.
Any advice? or any alternate?
If anybody having clear working Samples kindly send me the code...
Thanks in advance,
Anbu_KS
Superfell
You can't make a callout with a pending db transaction, hence the error when you try and do it from a trigger, you'll have to use the @future feature, to have your callout made externally to the trigger context.