Hello,
Not sure if this is the place to post this, here is my problem:
1. I have the following architecture (Apache CXF for webservices, service layer, spring roo, db)
2. I created a simple LoggingAspect and specified the following execution:
@Around("execution(* com.company.pkg.services.impl.*.*(..))")
Here are my problems:
1. One of my service methods has the following signature Long getSomething(), my other methods are void. With the LoggingAspect enabled and CXF present, void methods work, but the method returning a Long throws an exception. If I remove the LoggingAspect all methods work.
2. For some reason the Autowired injected objects are null on services annotated with CXF @WebService tags.
Has anyone seen anything similar or have any idea what maybe happening. I am baffled why the injected objects are null.
FYI. I placed a breakpoint in the constructor of the service and on spring initialization the service gets initialized 3 times, while the injected object setter gets called once.


Reply With Quote
Thanks !
roperty-placeholder location="classpath*:META-INF/spring/*.properties"/>