Great Thanks, I ll try this , can you help me little bit further as am very new to axis2.
i am going to create this client project as a jar library and put it under my main project ,there are number of clients as this is. so i use java project not a web project , inside that i have only generated ServiceStub , ServiceCallbackHandler and the axis2 jars. as you saying i have to write a module to get this done. is it possible with this way. Please help , give me a clue that what i am doing is right. Thanks you so much. Thushanga. On Mon, Mar 7, 2011 at 3:41 PM, Nikolaus Krismer <[email protected]> wrote: > 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] > >
