axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (AXIS2-699) characters lost in binary attachment using MTOM
Date Wed, 10 May 2006 04:50:05 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-699?page=all ]

Deepal Jayasinghe reassigned AXIS2-699:
---------------------------------------

    Assign To: Thilina Gunarathne

> characters lost in binary attachment using MTOM
> -----------------------------------------------
>
>          Key: AXIS2-699
>          URL: http://issues.apache.org/jira/browse/AXIS2-699
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>     Versions: 1.0
>  Environment: windows XP, tomcat 5.5.17
>     Reporter: Vassili Dzuba
>     Assignee: Thilina Gunarathne

>
> i send a large binary attachment using a data handler over a file data source.
> the transport is HTTP.
> i use the file caching at the server side
> the cached file is different from the input file. Apparently character sequences CR LF
> (codes 13 10) are removed from the data.
> the client code is quite simple and derived from the provided sample,
> except that i replaced the  ImageDataSource by a  FileDataSource :
>         OMElement method = fac.createOMElement("echo", omNs);
>         FileDataSource ds = new FileDataSource(file);
>         DataHandler dataHandler = new DataHandler(ds);
>         OMText textData = fac.createOMText(dataHandler, true);
>         
>         OMElement value = fac.createOMElement("Text", omNs);
>         value.addChild(textData);
>         method.addChild(value);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message