<bean id="incAffirmanceService"
class="com.inc.wapaffirmance.webservice.AffirmanceServiceImpl">
<property name="dao" ref="incWapTelecomAffirmanceDaoImpl"></
property>
</bean>
<jaxws:endpoint id="incWSAffirmanceService"
implementor="#incAffirmanceService"
address="/incAffirmanceService">
</jaxws:endpoint>
这个类中有个属性wsContext
@Resource
private WebServiceContext wsContext;
这种方式是不能启动的,原因是spring在装配时不能发现cxf容器中的WebServiceContext的实例,这问题如何解决.
--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛“cxf-zh”论坛。
要在此论坛发帖,请发电子邮件到
cxf-zh@...
要退订此论坛,请发邮件至
cxf-zh-unsubscribe@...
更多选项,请通过
http://groups.google.com/group/cxf-zh?hl=zh-CN 访问该论坛
----
Apache CXF 首页
http://cwiki.apache.org/confluence/display/CXF/Index-~----------~----~----~----~------~----~------~--~---