[ 
https://issues.apache.org/jira/browse/AXIS2-2092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470268
 ] 

Samuel Isokpunwu commented on AXIS2-2092:
-----------------------------------------

Initially I used ByteArrayDataSource for the implementation but was having 
problem with JAXB attachment marshaller in the server side response to the 
client application.
>From further debugging, the JAXB Attachment marshaller uses MimePartDataSource 
>when marshalling the byte array DataHandler request from the client 
>application and hence for reasons I was not able to determine, the jaxws 
>attachment marshaller implementation using  ByteArrayDataSource was failing on 
>the server side response message to the client application.

Apart from the fact that JAXB attachment implementation uses 
MimePartDataSource,  Also from reading the mime part APIs, It seem that the 
MimePartDataSource usage is the best approach for messages with mime headers 
and attachment.

> Byte array attachments type
> ---------------------------
>
>                 Key: AXIS2-2092
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2092
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: jaxws
>         Environment: Win XP
>            Reporter: Samuel Isokpunwu
>         Assigned To: Rich Scheuerle
>         Attachments: d417707patch.txt, patch.txt
>
>


-- 
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