1.
第一种方法
1.1.
在web.xml中配置加载xfire的配置文件xfire.xml
<</span>context-param>
<</span>param-value>classpath:spring/applicationContext.xml;classpath:org/codehaus/xfire/spring/xfire.xml</</span>param-value>
</</span>context-param>
1.2.
在web.xml中配置XFire的Serlvet,
是与Spring集成。
1.3.
配置文件
在Spring相同目录下创建一个xfire-serlvet.xml文件, 并在Spring配置文件
applicationContext.xml中添加下面这一条语句,用于加载xfire-serlvet.xml文件