Results 1 to 2 of 2

Thread: streaming output???

  1. #1
    Join Date
    Oct 2004
    Posts
    8

    Default streaming output???

    I have a use case where we are creating a web service that will be generating a large xml document back to the user. I'd like to implement the messaging pattern to be document/literal.

    Also, I'd like to be able to stream the output back to the user as I retrieve the data instead of retreiving it all at once and then writing it out. Does Spring webservices provide this functionality?

    Any help would be appreciated.

    thanks,
    ray

  2. #2
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    While there is streaming input support with Axiom, there is no streaming output support. This might be a feature to add in the future.

    The reason I haven't implemented it yet is that it that it disables the whole post-invocation interceptor model. For instance, you cannot validate the output anymore, because it has already been written to the output stream.
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

Posting Permissions

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