• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SOAP with attachment vs RESTful with attachment

 
J Dig
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Did anyone try transferring huge objects (excel data in MBs) through RESTful web services.I know that is achievable through SOAP , but am new to the RESTful approach.It would be great if anyone can let know the recommended approach.

Thanks
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
With the RESTful approach, a big data transfer would become something like a HTTP download. Read a chunk of data you want to transfer and write it to the response, repeat until finished. Note that you do not need to wrap the data if you do not want to.
Adding some optional parameters, like in the example request below, can allow you to select a part of the data to retrieve. This may not be applicable to Excel documents.
http://www.myserver.com/bigdata/somedocuments/1234?start=10&end=45
Best wishes!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic