This actually should go to the saaj list at java.net:
https://saaj.dev.java.net/
as it's their implementation.   I would log it there.

That said, using the constructor directly is probably discouraged.

Dan


On Wednesday 10 November 2010 12:20:29 pm Lorenzo wrote:
> 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

-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog

Reply via email to