You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Philippe Mouawad (JIRA)" <ji...@apache.org> on 2007/12/03 15:11:43 UTC

[jira] Created: (AXIS2-3383) MTOM Attachment XMLBeans API should support Streaming Attachments

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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-3383) MTOM Attachment XMLBeans API should support Streaming Attachments

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas resolved AXIS2-3383.
-------------------------------------

    Resolution: Won't Fix

> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3383) MTOM Attachment XMLBeans API should support Streaming Attachments

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577936#action_12577936 ] 

Davanum Srinivas commented on AXIS2-3383:
-----------------------------------------

Sorry, please start the the xmlbeans side first.

thanks,
dims

> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org