DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9780>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9780

Attachments Error serializing DataHandlers that are not backed by FileDataSource





------- Additional Comments From [EMAIL PROTECTED]  2002-06-25 12:28 -------
A fix for this now in Axis  but its really still just
"work in progress".    Testing done for tomcat 4.03
with chunking  enabled (that should be the default).  On the client side
to avoid the reading of the attachment data twice do:

call.setScopedProperty
(MessageContext.HTTP_TRANSPORT_VERSION,HTTPConstants.HEADER_PROTOCOL_V11);
Hashtable myhttp= new Hashtable();
myhttp.put
(HTTPConstants.HEADER_TRANSFER_ENCODING,HTTPConstants.HEADER_TRANSFER_ENCODING_C
HUNKED);
call.setScopedProperty(HTTPConstants.REQUEST_HEADERS,myhttp);

then use the call object to send the attachments.

The server should also send the data back without reading the handlers
twice.

I need to add support for servlet engines that don't chunk and some other
refinements.

For the client side I strongly suggest you only do this for the attachment
calls and revert back to HTTP 1.0 since it probably hasn't been tested to
heavily.

Reply via email to