xfire实现的webservice+spring实例

2024-12-19 21:07:51
推荐回答(1个)
回答1:

首先要配置好web.xml
remoting
org.springframework.web.servlet.DispatcherServlet
4


remoting
/remoting/*
还要在web.xml中加载xfire
contextConfigLocation
classpath:org/codehaus/xfire/spring/xfire.xml

然后要配置remoting-servlet.xml class="org.codehaus.xfire.spring.remoting.XFireExporter">










webservice接口类地址

配置好之后,基本上就没问题了