首先要配置好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接口类地址
配置好之后,基本上就没问题了