Team,

I tried additional ways below, but getting SOAPMessage as null.

//              SOAPMessage soapMessage = 
exchange.getIn().getBody(SOAPMessage.class);
//              SOAPMessage soapMessage =
exchange.getIn().getHeader(CxfConstants.CAMEL_CXF_MESSAGE,
SOAPMessage.class);
//              SOAPMessage soapMessage = (SOAPMessage)
exchange.getIn().getBody(List.class).get(0);
//              System.out.println("Inside RealResFormatProcessor :soapMessage :
"+soapMessage);


Regards
Jayendran



--
View this message in context: 
http://camel.465427.n5.nabble.com/how-to-get-the-soap-body-from-exchange-tp5767050p5767052.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to