File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB Object Null Pointer Exception Inside JAX-WS Web Service

 
peter wong ka chon
Ranch Hand
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello to all, I'm tried to develop a web service application that utilize EJB function inside web service class but the EJB object is null during run time.

I'm configure the web service using Spring Application Context. Is there any problem with it?

Code:


Web.xml


Beans.xml


What is the reason the ejb ojbect is null? Is it relate to Spring DI of CreditCardService class but does not instantiate the ejb object?

What is the purpose of CXF servlet? Is it use to handle web service request?

Please help.

Thanks.










 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic