Announcement Announcement Module
No announcement yet.
send/receive huge files using Spring-WS Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • send/receive huge files using Spring-WS

    Currently I'm in the process of developing a web service for sending and accepting huge files (up to 150MB), both ASCII and binary.

    Because I do not want to end up with huge objects in the heap, I had the idea to stream the file directly from the filesystem to the client (and the other way around) using AxiomSoapMessageFactory at the server, in combination with StaxStreamPayloadEndpoints.

    I've already tried a couple of different things, but unfortunately without success. Had a lot of 'OutOfMemoryError: Java heap space' errors, even with "small" files of around 2MB.

    Tomorrow I'll try again. But for now I desperately want to know if I'm on the right track to do this (if even possible)? Please advice...

    Thanks! :-)

  • #2

    and/or search "stream" in forums for more on this.