File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Axis2 Spring Integration Hibernate issue Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Spring
Reply Bookmark "Axis2 Spring Integration Hibernate issue" Watch "Axis2 Spring Integration Hibernate issue" New topic
Author

Axis2 Spring Integration Hibernate issue

Barry Silva
Greenhorn

Joined: Mar 18, 2011
Posts: 5

Hi,
I am mostly using annotations in the project to define spring beans. Without Axis2 integration the whole project gets loaded up.
But when I integrate with Axis2, beans such as DAO's are not getting loaded. Here I am using @Autowired annotation to inject DAO's into service layer classes.


I think <context: component-scan base package="..."/> is not working

Did anybody face this kind of problem.

I am very much interested to solve this problem.

Any help on this issue is greatly appreciated.

Thanks.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 16624

I think you need to tell us more information. What errors are you getting? What DAO's aren't showing up. What do those DAOs look like.

Otherwise, we are stabbing in the dark here.

Just adding a jar from some third party project has no effect on Spring, unless you configured it to.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
 
subject: Axis2 Spring Integration Hibernate issue
 
Threads others viewed
Hibernate :session and begin transaction in the constructor of the abstractDao
SOAP HEader
JAVA2WSDL in AXIS2
Spring integration SFTP config error
Entity Bean Vs. DAO
MyEclipse, The Clear Choice