You need to sign in to do that
Don't have an account?

Metadata API issue
Hi Folks,
I am using metadata api in salesforce.while updating the picklist values and the corresponding recordtype picklist values i am getting the IO exception read time out error. how to set time out for metadata api?
any suggestions,
Thanks,
Krish
I am using metadata api in salesforce.while updating the picklist values and the corresponding recordtype picklist values i am getting the IO exception read time out error. how to set time out for metadata api?
any suggestions,
Thanks,
Krish
You need to optiise the code ,either your service class or your class or both . You need to modify the service class .There are lot of unnecessary code which is on the same execution process that you need to check and modify accordingly .
1: Setup.
2: Security Controls.
3. Session Settings.
ther you can enable or desable the session time out and all other setting regarding sessions.
Please let me know if this helps!
There will be a option to set time out for metadata service. I have increased the time and it is working fine.
Regards,
Krish
Can you give me basic syntax of how did you increase timeout in MetadataService?
MetadataService.Timeout is not working.
Thanks,
Ajay
You can use below sytax to set the timeout after you have created the service.
service.timeout_x = 120000;
Hope this helps
Thanks,
Shiva Kumar CH