You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "De Closmadeuc, Etienne" <Et...@logicacmg.com> on 2003/10/23 20:58:30 UTC
Problem with DataHandler and DataSource (Bug ?)
When a client want to download binary data from an axis web service, axis
uses internal class DimeBodyPart.java.
This class reads twice an InputStream :
in method "send", it calls "getDataSize", which reads the InputStream, and
then read again the InputStream to send it to the client.
First, it's not efficient.
Second, I get an InputStream from a blob ( BLOB blob =
((OracleResultSet)rs).getBLOB("some blob column ..."); ), and it can't not
be read twice.
Etienne de Closmadeuc
____________________________
LogicaCMG
Logica SA
183, route de Canéjan
33173 GRADIGNAN CEDEX
FRANCE
Tél: +33 (0)5 56 75 77 00
Fax: +33 (0)5 56 75 77 07
Email: etienne.de.closmadeuc@logicacmg.com
www.logicacmg.com
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
LogicaCMG global sponsors, Gartner Symposium, Cannes, 4th -7th November 2003
http://symposium.gartner.com/story.php.id.3323.s.5.html
Please note that LogicaCMG does not have control over content from,or availability of, this website