| Author |
SOAP with attachment vs RESTful with attachment
|
J Dig
Greenhorn
Joined: Jun 05, 2009
Posts: 1
|
|
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
Bartender
Joined: Oct 04, 2006
Posts: 2193
|
|
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!
|
 |
 |
|
|
subject: SOAP with attachment vs RESTful with attachment
|
|
|