axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20704] New: - AttachmentsImpl adds duplicate copies of an attachment part.
Date Thu, 12 Jun 2003 10:43:53 GMT
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: axis-dev@ws.apache.org
        ReportedBy: kimuratsy@nttdata.co.jp
                CC: kimuratsy@nttdata.co.jp


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) <kimuratsy@nttdata.co.jp>
   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--

Mime
View raw message