Announcement Announcement Module
No announcement yet.
streaming output??? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.


  • #2
    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.