Hi.. I have an problem using the SoapMarshaler

If i read this soap message,        

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
        <soapenv:Body>
                <test1/>
                <test2/>
                <test3/>
        </soapenv:Body>
</soapenv:Envelope>

when i call the source of the body i got only the first child..

        <soapenv:Body>
                <test1/>
        </soapenv:Body>

Why? The multy child is allowed by the SoapParameterStyle.Bare.

For the marhaling i use this code:

SoapMarshaler soapMarshaler = new SoapMarshaler(true);
soapMarshaler.setSoap(true);
soapMarshaler.setSoapUri(SoapMarshaler.SOAP_11_URI);
SoapReader soapReader = new SoapReader(soapMarshaler);
SoapMessage soapMessage = soapReader.read(SOAP_MESSAGE);
messaggioIn.setBody(soapMessage.getSource());

-----


Regards

Donatello Santoro
-- 
View this message in context: 
http://www.nabble.com/SoapMarshaler-and-multychild-tp19609327p19609327.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to