Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
hi can somebody help me how to solve this issue
It will timeout if the listener doesn't respond in time.
Maybe set a timeout on your callout and add error handling with a try catch.
More info: http://wiki.developerforce.com/index.php/Apex_Web_Services_and_Callouts
HttpRequest req = new HttpRequest(); req.setTimeout(2000); // timeout in milliseconds
It will timeout if the listener doesn't respond in time.
Maybe set a timeout on your callout and add error handling with a try catch.
More info: http://wiki.developerforce.com/index.php/Apex_Web_Services_and_Callouts