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 12358] New: - SOAP mime attachments: does not work
Date Fri, 06 Sep 2002 10:42:24 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=12358>.
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=12358

SOAP mime attachments: does not work 

           Summary: SOAP mime attachments: does not work
           Product: Axis
           Version: beta-3
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Serialization/Deserialization
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: tony.nys@aditel.be
                CC: tony.nys@aditel.be


SOAP MIME attachemnt errors, soap DIME attachments work

First, if we create a soap message and add mime attachments and save it to 
disk, the first mime headers are filtered, so the file is not correct mime
There is a workaround by setting the static filter to null
org.apache.axis.attachments.MimeUtils.filter=null;

Second, the real bug: we cannot read the mime file created before
the mime file is ok, but reading it with axis: 

Error reading data stream:  Error in MIME data stream, start boundary not 
found, expected:  --null



        at org.apache.axis.attachments.MultiPartRelatedInputStream.&lt;init&gt;
(MultiPartRelatedInputStream.ja
va:358)
        at org.apache.axis.attachments.AttachmentsImpl.&lt;init&gt;
(AttachmentsImpl.java:150)
        at Simple.readSoapWithAttachments
(C:/cafe/Projects/Soap_apache_axis/Simple.java:208)
        at Simple.main(C:/cafe/Projects/Soap_apache_axis/Simple.java:37)


Error reading data stream:  Error in MIME data stream, start boundary not 
found, expected:  --null

        at org.apache.axis.attachments.MultiPartRelatedInputStream.<init>
(MultiPartRelatedInputStream.java:358
)
        at org.apache.axis.attachments.AttachmentsImpl.<init>
(AttachmentsImpl.java:150)
        at Simple.readSoapWithAttachments
(C:/cafe/Projects/Soap_apache_axis/Simple.java:208)
        at Simple.main(C:/cafe/Projects/Soap_apache_axis/Simple.java:37)

see source attached

Mime
View raw message