You need to sign in to do that
Don't have an account?
Ranu Jain SFDC
Http callout : read time out
Hi All, I am calling a middleware system form apex, before calling the webservice Ist I set connection with the system. In this way there are 3 http callout in one apex transation. In my 1st callout which returns me PingToken, m getting callout read time out error. I got to know that I can increase the time out Limit but it can be max 120 sec in whole tranation. default is 10 sec, How I should decide to increase time limit of my first http request in my apex transaction?
Thanks
Ranu
Thanks
Ranu
use setTimeout() function in Http request.
Ex :
HttpRequest req = new HttpRequest();
req.setTimeout(120000);
Thanks,
Santosh Reddy