• Lavanya macha
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
I am doing 2 webservice callouts from VF page contorller method which i am calling from action attribute of <apex:page> tag(onloading of page) and now i am trying to convert those two callouts into asynchronous callouts using continuation API class as stated in below link. Those two callouts need to happen in one single transaction.

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_continuation_overview.htm

But i am getting below errors.

Error-1: line -1, column -1: Continuation is not serializable.

Error-2: 
An internal server error has occurred
An error has occurred while processing your request. The salesforce.com support team has been notified of the problem. If you believe you have additional information that may be of help in reproducing or correcting the error, please contact Salesforce Support. Please indicate the URL of the page you were requesting, any error id shown on this page as well as any other related information. We apologize for the inconvenience. 

Thank you again for your patience and assistance. And thanks for using salesforce.com! 

Error ID: 1529128587-55318 (-735899706)

So please help me?
I am doing 2 webservice callouts from VF page contorller method which i am calling from action attribute of <apex:page> tag(onloading of page) and now i am trying to convert those two callouts into asynchronous callouts using continuation API class as stated in below link. Those two callouts need to happen in one single transaction.

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_continuation_overview.htm

But i am getting below errors.

Error-1: line -1, column -1: Continuation is not serializable.

Error-2: 
An internal server error has occurred
An error has occurred while processing your request. The salesforce.com support team has been notified of the problem. If you believe you have additional information that may be of help in reproducing or correcting the error, please contact Salesforce Support. Please indicate the URL of the page you were requesting, any error id shown on this page as well as any other related information. We apologize for the inconvenience. 

Thank you again for your patience and assistance. And thanks for using salesforce.com! 

Error ID: 1529128587-55318 (-735899706)

So please help me?