Hi all, 

seems there is a bug in SAAJ implementation. I had some problems with SwA
messages. After some debugging i found that the costructor:

    protected MessageImpl(SOAPMessage msg) {
        if (!(msg instanceof MessageImpl)) {
            // don't know how to handle this.
        }
        MessageImpl src = (MessageImpl) msg;
        this.headers = src.headers;
        this.soapPart = src.soapPart;
        this.attachments = src.attachments;
        this.saved = src.saved;
        this.messageBytes = src.messageBytes;
        this.messageByteCount = src.messageByteCount;
        this.properties = src.properties;
    }

should copy also multiPart (maybe also mmp, but not sure):

        this.multiPart = src.multiPart;



In attachment a test reproducing the bug: 

http://cxf.547215.n5.nabble.com/file/n3259032/ClientSOAP.java
ClientSOAP.java 

- Lorenzo
-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/Bug-SAAJ-implementation-tp3259032p3259032.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to