Results 1 to 2 of 2

Thread: send/receive huge files using Spring-WS

  1. #1
    Join Date
    Dec 2008
    Posts
    1

    Default 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. #2
    Join Date
    Jul 2005
    Posts
    4

    Default

    See

    http://jira.springframework.org/browse/SWS-352

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •