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
