I have finally successfully integrated cxf into one of my web applications.
I have a service with several useful operations working and returning
complex objects. It works well!

But I have also lost the ability to log output using commons-logging and
log4j. We have been using a log4j.properties file in the WEB-INF/classes
directory.

But it looks like cxf is interfering with this output. I do have
WEB-INF/cxf-servlet.xml with the following contents:

<?xml version="1.0" encoding="UTF-8"?>

<beans 
xmlns="http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3
.org/2001/XMLSchema-instance"
xmlns:jaxws="http://cxf.apache.org/jaxws";
xmln
s:soap="http://cxf.apache.org/bindings/soap";
xsi:schemaLocation="
http://www
.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://cxf.
apache.org/bindings/soap
http://cxf.apache.org/schemas/configuration/soap.xsd
http://cxf.apache.org/j
axws http://cxf.apache.org/schemas/jaxws.xsd";>

<jaxws:endpoint
    id="MemberService_xml_bare"

implementor="com.firedrum.webservice.service.MemberServiceImpl"

wsdlLocation="WEB-INF/wsdl/MemberService.wsdl"
    address="/MemberService"
>
<jaxws:features>
  <bean class="org.apache.cxf.feature.LoggingFeature"/>
   </jaxws:features>
</jaxws:endpoint>

</beans>


Any ideas on how to get my log4j logging back.

Thanks! - Richard


Reply via email to