Hello,
you could do this by using a module.
By calling "messageContext.getEnvelope().toString()" in the
invoke(MessageContext) method of the module (don't forget to check with
messageContext.isEngaged("nameOfModule")), you can access the soap message.
Be careful with this when sending attachments (there might be a better way to
log the soap, when using attachments).
Regards,
Niko
----- Original Message -----
From: [email protected]
To: [email protected]
Date: 07.03.2011 11:03:52
Subject: Request/Response log
> Dear all,
>
>
> I created axis2 client.
>
>
> I want log all the request/response XMLs to files for later references.
>
>
> Please somebody help me to get started this, how can I do this.
>
>
> Thank you.
>
> Thushanga.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]