【发布时间】:2012-02-04 09:26:23
【问题描述】:
我正在尝试使用我编写的 JAX-WS CXF Web 服务。对于 spring 自动装配注释 bean,我总是得到 nullPointerException 。但是,在 serverSide over web 中一切正常,但通过 JAX-WS CXF webservice 访问 bean。
我尝试过扩展 SpringBeanAutowiringSupport,但仍然没有运气。我该怎么做。
问候, 阿奇夫
【问题讨论】:
-
我认为 @WebService 注释类是由 CXF 而不是 Spring 初始化的,并且不是 Spring Container 的一部分。我怎样才能将这些链接在一起。请帮忙!
标签: java spring-mvc jax-ws cxf