Nov 12th, 2012, 08:22 AM
How to stream a MTOM response from within a WebServiceTemplate
I hope someone can give me some advice.
I'm developing a webserviceclient (wsc) using Spring WS 1.0.
The webservice I'm calling with my wsc responds with a MTOM message.
I dont want to hold the complete message in memory because it could become large.
So what i want to do is to stream the MTOM attachment directly to a file on disk.
How can I achieve this? What is the way to do this?
Nov 13th, 2012, 03:00 AM
I've found an example using Axiom which looks like what I'm looking for. I'm going to try it out.
Tags for this Thread