• Post Reply Bookmark Topic Watch Topic
  • New Topic

using soap to download large files...

 
Tim Watson
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, would it be appropriate to use a soap web service as a service to download potentially large zip files (typically 4-5 mb)? and if this
is an ok design would the soap type be InputStream or mabe just byte[] ?
Thanks very much for any information!
Tim
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use SOAP with attachments instead. That way you can use the native binary file format and not get the 33% expansion of base-64 encoding. Your performance will be significantly better due to the XML parser not having to parse those huge files as well.
Kyle
 
Tim Watson
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey thanks Kyle! soap with attachments sounds like just what I need.
-Tim
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!