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=20704>. 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=20704 AttachmentsImpl adds duplicate copies of an attachment part. Summary: AttachmentsImpl adds duplicate copies of an attachment part. Product: Axis Version: current (nightly) Platform: All OS/Version: All Status: NEW Severity: Critical Priority: Other Component: Serialization/Deserialization AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] The current AttachmentsImpl adds duplicate copies of an attachment part to a response SOAPEnvelope for a download client each time when I call SOAPEnvelope.getAsDocument() on handleResponse in my handler. The number of the duplicate copies has changed according to the num of times what I've called the method. Please refer to the following snapshot. This sample has 4 attachment parts, but the real thing is the last one; because the cid is the right value. Best Regards, Toshi (Toshiyuki Kimura) <[EMAIL PROTECTED]> R&D Headquarters NTT DATA Corporation ------=_Part_0_8379.1054619679011 Content-Type: text/xml; charset=UTF-8 Content-Transfer-Encoding: binary Content-Id: <D1370E1732DC9B0E0891254B690F312F> <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <ns1:downloadFileResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://www.ebagent.net/FileService"> <downloadFileReturn xsi:type="xsd:element"> <msg> : : </msg> </downloadFileReturn> <dataHandler href="cid:E1D83EC885EDC22828AD5D8464FFA49C"/> </ns1:downloadFileResponse> </soapenv:Body> </soapenv:Envelope> ------=_Part_0_8379.1054619679011 Content-Type: text/plain Content-Transfer-Encoding: binary Content-Id: <5B3FDDF4AB200CBCD8A143A80C064072> This is a download file. End Of File ------=_Part_0_8379.1054619679011 Content-Type: text/plain Content-Transfer-Encoding: binary Content-Id: <DD12B65C982C33D99455590055EBFA75> This is a download file. End Of File ------=_Part_0_8379.1054619679011 Content-Type: text/plain Content-Transfer-Encoding: binary Content-Id: <05C7956E21388A5ECFC7E497F0B015CE> This is a download file. End Of File ------=_Part_0_8379.1054619679011 Content-Type: text/plain Content-Transfer-Encoding: binary Content-Id: <E1D83EC885EDC22828AD5D8464FFA49C> This is a download file. End Of File ------=_Part_0_8379.1054619679011--
