Hi,

please ignore question (1). This is good explained at: 
http://cwiki.apache.org/CXF20DOC/debugging.html

---
regards
Marc Logemann
http://www.logemann.org
http://www.logentis.de




Am 18.03.2009 um 11:14 schrieb Marc Logemann:

Hi,

i have two questions:

1) I am using the loggingInterceptor via Feature definition on the cxf Bus. This works ok but i dont want to log to system.out but to a log channel instead. How to achieve that?

2) CXF always tries to inject into webservice classes where i have @Resource annotations on properties. This fails. But these @Resource annotations were fulfilled by Spring, so CXF dont need to try anyhing in that area. How to avoid that?

I expose my webservices via:

   <jaxws:endpoint
           id="workplaceManager"
           implementor="#workplaceDaoImpl"
           address="/WorkplaceManagerService"/>

So as you can see. The implementor is a spring based bean which already got its injectios on the properties by Spring. Disabling @Resource injection completely would lead that i am missing some features like WebserviceContext injection right? I dont use stuff like that but perhaps in the future.....

---
regards
Marc Logemann
http://www.logemann.org
http://www.logentis.de





Reply via email to