Click here to Skip to main content
15,887,083 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
this question ask me in java interview . Suppose response is so big so how to get response in Soap or rest Webservices ?

can u please eloborate more ?
Posted
Updated 1-Dec-15 22:33pm
v2

1 solution

Depends on the type of response.

If it was a massive list. I'd add pagination to the request. So you only request what's needed for each view cycle.

If it was a massive object like a binary. I'd break it down into manageable parts. You can then do many smaller requests with the same end result. This would take a bit longer, because of the overhead of multiple requests, but the overall stability would be better. Essentially build your own download manager.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900