在webservice中怎么才能调用在spring中注入的bean
我使用的环境是xfire1.1,spring1.2.6,我想在xfire的webservice的方法中,调用getBean("name")方式得到spring bean;但是无法得到webcontext,就不能得到webserver启动时已经起用的spring ben ,难道只能在其中webservice中直接调用绝对路径的ApplicationConetext.xml来初始化吗,在webservice中怎么才能调用在spring中注入的bean呢,有没有那位高手做过,给提示一下,谢谢