Hi Paul,

I assume you meant the
                    element.serializeAndConsume(bytesOut, format);
in         public byte[] writeBytes()

right? No, that didn't work. However, following your lead, I changed the same function in

        private void handleOMOutput(OutputStream out, boolean doingMTOM) throws XMLStreamException {
            format.setDoOptimize(doingMTOM);
            element.serializeAndConsume(out, format);
        }

to

        private void handleOMOutput(OutputStream out, boolean doingMTOM) throws XMLStreamException {
            format.setDoOptimize(doingMTOM);
            element.serialize(out, format);
        }

That fixed it. Maybe we are using different versions so the line count is different? Please confirm.

This is great!

Jeff

On 6/8/06, Paul Fremantle <[EMAIL PROTECTED]> wrote:
Jeff

We have an idea :-) Can you help us test if its any good?

Can you please try this fix:

At line 194 in org.apache.axis2.transport.http.SOAPOverHTTPSender.

Please change
element.serializeAndConsume(out, format); to
element.serialize(out, format);

If that works for you then we can craft a proper fix around this.

Thanks

Paul

--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

Reply via email to