Team, In Webservice proxy(MESSAGE format) , want to separate the soap body alone. How to do it?
I tried below but its not worked. advise pls. // SOAPMessage soapMessage = (SOAPMessage) exchange.getIn().getBody(List.class).get(0); // System.out.println("Inside RealResFormatProcessor :SOAPMessage : "+soapMessage); // try { // SOAPPart sp = soapMessage.getSOAPPart(); // SOAPEnvelope se = sp.getEnvelope(); // SOAPBody sb = se.getBody(); // String responseText = sb.getTextContent(); // System.out.println("Inside RealResFormatProcessor :String : "+responseText); // } catch (Exception e) { // e.printStackTrace(); // } Regards Jayendran -- View this message in context: http://camel.465427.n5.nabble.com/how-to-get-the-soap-body-from-exchange-tp5767050.html Sent from the Camel - Users mailing list archive at Nabble.com.