這個應該不對。
試試這個:
blogs.com/hoojo/archive/2011/03/30/1999563.html
我都是這樣用,沒有問題
<jaxws:server id="userService"serviceClass="com.skyon.cxf.IComplexUserService"address="/Users">
<jaxws:serviceBean>
<!-- 要暴露的 bean 的引用 -->
<ref bean="userServiceBean"/>
</jaxws:server>