I guess one way is to modify the SOAP Monitor module:
- module.xml should reference your handler rather than SOAPMonitorHandler
- your handler should do a similar job, but log the message rather than
casting down to applet connections
 
You won't get much reuse though inheritance or delegation 'cause
publishMessage is static and that whould have been exactly the best spot to
override.
 
So you have to get sources or decompile it.
 
The module.xml and the class to decompile are in soapmonitor.mar, a zip
archive under WEB-INF\modules in axis2 web application.

Best regards,
Nicolae Marasoiu

KEPLER-ROMINFO

Phone:  +  40 21 233 10  80  
E-mail:   <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]

 

CONFIDENTIALITY NOTICE
The content of this communication is classified as KEPLER Group Confidential
and Proprietary Information.The content of this communication is intended
solely for the use of the individual or entity to whom it is addressed and
others authorized to receive it. If you are not the intended recipient you
are hereby notified that any disclosure, copying, distribution or taking any
action in reliance on the contents of this information is strictly
prohibited and may be unlawful. If you have received this communication in
error, please notify us immediately by responding to this communication then
delete it from your system. We appreciate your assistance in preserving the
confidentiality of our correspondence. Thank you.

 

  _____  

From: Doug Davis [mailto:[EMAIL PROTECTED] 
Sent: 2007-04-18 2:17 PM
To: [email protected]
Cc: [EMAIL PROTECTED]
Subject: Re: Can we create log of SOAP request & response in log file?



In axis1 there's a LogHandler that would do this - I would assume you could
do the same thing for axis2. 

thanks
-Doug
______________________________________________________
STSM  |  Web Services Architect  |  IBM Software Group
(919) 254-6905  |  IBM T/L 444-6905  |  [EMAIL PROTECTED] 



"Vikas" <[EMAIL PROTECTED]> 


04/18/2007 07:11 AM 


Please respond to
[email protected]



To
<[email protected]> 

cc
<[EMAIL PROTECTED]> 

Subject
Re: Can we create log of SOAP request & response in log file?

        




HI Deepal and friends,

I want to create text file and in that I want to maintain log of all
messages.
If we use TCPMon then we can view that messages but Can we able to write it
in to some text file at runtime with the help of Java programs?

What do you think?

With best regards

From
Vikas R. Khengare

----- Original Message ----- 
From: "Deepal Jayasinghe" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, April 18, 2007 4:34 PM
Subject: Re: Can we create log of SOAP request & response in log file?


> Hi Vikas ;
>
> Why dont you use TCP monitor and see.
>
> Thanks
> Deepal
>
> > Hi Friends,
> >
> > I am able to create simple web service. But all this is in dark. I
> > don't know which message is sent by client to server and which is
> > corresponding response. So Is there any facility from axis2 or from
> > someone else to create log while sending SOAP request/response?
> >
> > Can some one tell me, how to create log of SOAP messages? So I can go
> > through it.
> >
> > With best regards
> >
> > From
> > Vikas R. Khengare
>
>
> -- 
> Thanks,
> Deepal
> ................................................................
> "The highest tower is built one brick at a time"
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to