Aug 17th, 2006, 09:47 AM
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.
Aug 18th, 2006, 05:48 AM
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.