MTOM Attachment XMLBeans API should support Streaming Attachments
-----------------------------------------------------------------

                 Key: AXIS2-3383
                 URL: https://issues.apache.org/jira/browse/AXIS2-3383
             Project: Axis 2.0 (Axis2)
          Issue Type: Improvement
          Components: databinding
         Environment: Axis2 1.3 / 1.4
            Reporter: Philippe Mouawad


Hello,
I may be wrong, but when using XMLBeans databinding with Attachments and MTOM.
An object Base64Binary gets generated but to send a big Binary file, the only 
method I see is:
Base64Binary#setByteArrayValue

Imagine I have a 100Mo file to send, it will have to be loaded into a byte 
array to be sent.
I would be better so have a setter that takes an URL or InputStream so that 
buffering the data when sending will be possible.

Maybe this should be submitted to XMLBeans project.
Thank you.
Philippe.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to