You need to sign in to do that
Don't have an account?
Agatha Lukin
WebService callout failed after 30sec.
I am having a problem on some of my clients instances after the spring 14 release (instances NA1, NA13 and CS10, for the time being).
I need to consume a service that takes some time to respond, so I set up the timeout for 120s. After 30s, Salesforce is presenting the following exception:
"SYSTEM_METHOD_ENTRY| [24] | System.debug (ANY)
USER_DEBUG | [24] | DEBUG | Web service callout failed: WebService returned a SOAP Fault: Request timed out. Waiting for [30] seconds. faultcode=e:Server faultactor=
SYSTEM_METHOD_EXIT | [24] | System.debug (ANY)
DML_BEGIN | {26} | Op:Update | Type:Opportunity | Rows:1"
I need to consume a service that takes some time to respond, so I set up the timeout for 120s. After 30s, Salesforce is presenting the following exception:
"SYSTEM_METHOD_ENTRY| [24] | System.debug (ANY)
USER_DEBUG | [24] | DEBUG | Web service callout failed: WebService returned a SOAP Fault: Request timed out. Waiting for [30] seconds. faultcode=e:Server faultactor=
SYSTEM_METHOD_EXIT | [24] | System.debug (ANY)
DML_BEGIN | {26} | Op:Update | Type:Opportunity | Rows:1"
I checked for the issue and would like to share the help link for you.
Please check :- http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_callouts_timeouts.htm
You can set the Timeout Value Upto 120 sec for the callout which you are sending from salesforce.
Please Mark this as ""Best Answer"" if it heslp you in your case.
Thanks.
Chaten Raghav