I have WS where in the SOAP payload there is a xsd:base64Binary element.
Initially this was designed for max 1MB but the requirement changed and now it should accept 50 MB uploaded files converted to base64 :( In java this becomes HUGE in terms of memory.
My theoretical solution is to stream from one end to the other these 'attachments' (files are uploaded from the web app, then converted to base64 and a web service is called to store in some Adobe app) - very inefficient i say
I read about Stax but that is not for WebServices.
Is there a way to use streaming in combination with Webservices ?
( MTOM ,but did not find a sample with streaming)