You need to sign in to do that
Don't have an account?
john2
Re: Web services
while i am getting the response from web serivces
IO Exception: Read timed out
An unexpected error has occurred. Your development organization has been notified.
can somebody help me in this??
thank you
Hi,
Its will be better if you are able to show the Debug log here.
You will get the Debug Log on your email id that you have provided for the user which you are using for Login.
Also, check if your'e web service is returning a data which is more than 1 MB.
Hope, this will help.
Thanks,
Kulkarni.
It seems that listner is not responding in time. You need to set a timeout on your callout and add error handling with a try catch :
HttpRequest req = new HttpRequest();
req.setTimeout(2000); // timeout in milliseconds
Refer the link for more information : http://wiki.developerforce.com/index.php/Apex_Web_Services_and_Callouts
Hope this helps.