Nope, you must use loging handler , but  i think its simple enough :)

On 4/9/07, Pavan Kumar <[EMAIL PROTECTED]> wrote:
Hi,

I am a newbie to xfire. I am just trying to figure out a way to log
the incoming / outgoing soap message from a xfire ws-client.

I have generated the client stubs using the ws-gen tool and
wrote my the client code using the stubs to invoke the services.

While searching for a logging mechanism I came to the following link
http://xfire.codehaus.org/Logging
which says to add in/out/fault handlers to the service.

Is there a simple way to log the soap messages, just by configuring the
lo4j confguration.

In  Axis , it is possible by configuring the lo4j properties as follows:
<---------------------------------------------------------------------->
log4j.logger.org.apache.axis.transport.http.HTTPSender=DEBUG,SOAPLOG
log4j.appender.SOAPLOG=org.apache.log4j.FileAppender
log4j.appender.SOAPLOG.File=axis-soap-log.txt
log4j.appender.SOAPLOG.layout=org.apache.log4j.PatternLayout
log4j.appender.SOAPLOG.layout.ConversionPattern=%m%n
<---------------------------------------------------------------------->

I want to know if a facility like this is available in Xfire.
Any help is appreciated.

- Pavan Kumar





--
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to