Hi Guys, Does anybody know if there is a way using java to pass all the XML content of SOAP Envelope to a String?
Thanks,
Hi Guys, Does anybody know if there is a way using java to pass all the XML content of SOAP Envelope to a String?
Thanks,
Depends a bit on what you're using for SOAP and if you want the server or the client to log.
I know that in Axis2 you can use this to get it
MessageContext msgContext = MessageContext.getCurrentMessageContext();
if (msgContext != null) {
return msgContext.getEnvelope().getBody().toString();
}