I guess you are using the <http:endpoint />.
SOAP support on this endpoint is limited and you should switch to
either cxf-bc or the new <http:soap-consumer/> endpoint which have a
much better support for such use cases.

On Mon, Sep 22, 2008 at 4:40 PM, Hamlet84 <[EMAIL PROTECTED]> wrote:
>
> 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.
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://open.iona.com

Reply via email to