
1 resposta

Hi Pooja,I believe you just want them to be shown on VF page.So you can use javascript remoting. JS remoting will call your web service. You will get the JSON response. On your VF page, parse the JSON response and display these in form of tables using Javascript.
JS remoting doesn't consume ViewState. And once you get data in JSON onto browser you can create own tables and display in the format you want.
Also if it is for Viewing purpose, its advised to not insert those records into your database.Note: You cannot insert more than 10000 records in a transaction.Please check with below links on javascript remoting with web services.
- http://salesforce.stackexchange.com/questions/5692/calling-web-service-using-javascript
- http://salesforce.stackexchange.com/questions/158504/display-more-than-50000-records-in-visualforce-page
Regards,
Nagendra.