You need to sign in to do that
Don't have an account?
henryCH
Call Apex Webservice using Outbound Message
Hi everybody,
I'd like to know if it's possible to call an Apex based Webservice method using a standard outbound message?
Seems to be an odd idea at first glance but we have some use cases/situations that would require a minor delay in processing, like a webservice call, and that can not be realised using triggers. So did anybody manage to do this??
Thanks and best regards,
Henry
I'd like to know if it's possible to call an Apex based Webservice method using a standard outbound message?
Seems to be an odd idea at first glance but we have some use cases/situations that would require a minor delay in processing, like a webservice call, and that can not be realised using triggers. So did anybody manage to do this??
Thanks and best regards,
Henry
How about using a time-based worklfow + field update (set a flag somewhere) + an 'on update' trigger ?
That will get you a 'minor delay' ...
David
The minimum delay for a time based workflow is one hour, which is too long for my purposes. So I tried the @future annotation, (requires a static method with primitive typed parameters only = extra work) and that seemed to work fine. My next conern, do I have to expect that the delay could be 10 hours if salesforce.com's servers are under heavy pressure? Is there a maximum waiting time or even a timeout for the queue of asynchronous method calls?
Best regards,
Henry