title: Streaming via SOAP?
body: <p>I have WS where in the SOAP payload there is a xsd:base64Binary element.</p>
  
  <p>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.</p>
  
  <p>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</p>
  
  <p>I read about Stax but that is not for WebServices.</p>
  
  <p>Is there a way to use streaming in combination with Webservices ?</p>
  
  <p>( MTOM ,but did not find a sample with streaming)</p>