2008/12/16 Thomas Engelschmidt <[email protected]>: > I only have control over the client side. MTOM I would imagine requires > configurtion on the server side.
I misread your mail as well -- so ignore what I said about Provider services -- but you could build a Dispatch<StreamSource> client to stream large amounts of data from a server to a file at the client end. When you said in the original mail: "Is it possible to inject another xml response, that gets unmarchalled into a jaxb pojo ?" what exactly is it that you need the client to do? It's probably a bit roundabout to have some Java code that generates XML on the fly purely for the sake of unmarshalling back to JAXB objects. Why not have your client construct the appropriate objects directly, based on data read off the stream, and forget about JAXB? Andrew.
