Looking at the code, if the problem is the same as we had in SaajBinding then
it maybe the ProviderProcessor.java 

the 
process(MessageExchange exchange)  

has a block of code - I've suggested a fix in bold, if agreeable can you
make this fix. Thanks

if (exchange instanceof InOut) {
                NormalizedMessage msg = exchange.createMessage();
                SoapReader reader =
soapHelper.getSoapMarshaler().createReader();
                Header contentType =
method.getResponseHeader(Constants.HEADER_CONTENT_TYPE);
                soapMessage = reader.read(method.getResponseBodyAsStream(), 
                                          contentType != null ?
contentType.getValue() : null);
                soapMessage.saveChanges();  // NEW LINE
                context.setOutMessage(soapMessage);
                soapHelper.onAnswer(context);
                msg.setProperty(JbiConstants.PROTOCOL_HEADERS,
getHeaders(method));
                soapHelper.getJBIMarshaler().toNMS(msg, soapMessage);
                ((InOut) exchange).setOutMessage(msg);
                channel.sendSync(exchange);


-- 
View this message in context: 
http://www.nabble.com/SAAJMarshaller---soapfault-content-getting-removed-tf1830872.html#a5061969
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to