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();
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With