Hi all I have a web service with xfire and spring 3.0, I need to send to logg requests and responses xml web service, I have been looking but can not find anything.
hope you can help me as integrate with log4j.
that my code in my servlet.xml:
<bean id="interfazXFireService" class="org.codehaus.xfire.spring.remoting.XFireExporter">
<property name="serviceFactory">
<ref bean="xfire.serviceFactory" />
</property>
<property name="xfire">
<ref bean="xfire" />
</property>
<property name="serviceBean">
<ref bean="remoteMyServiceXfire" />
</property>
<property name="serviceClass">
<value>
com.test.xfire.service.RemoteMyServiceXfire
</value>
</property>
</bean>
I solved the problem agreando few handlers input, output and in case of failures, I also modified my log4j.properties file by adding the corresponding lines.
I have been guided by the following link: http://docs.codehaus.org/display/XFIRE/Logging
stay well and my code:
and my stay well log4j.properties file: