<beans xmlns="http://xfire.codehaus.org/config/1.0"> <service> <name>服务名</name> <namespace>命名空间</namespace> <serviceClass>接口全路径 </serviceClass> <implementationClass> 实现类全路径 </implementationClass> </service> </beans>
<servlet> <servlet-name>XFireServlet</servlet-name> <servlet-class> org.codehaus.xfire.transport.http.XFireConfigurableServlet </servlet-class> </servlet> <servlet-mapping> <servlet-name>XFireServlet</servlet-name> <url-pattern>/services/*</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>XFireServlet</servlet-name> <url-pattern>/servlet/XFireServlet/*</url-pattern> </servlet-mapping>
原文地址:http://blog.csdn.net/u013863751/article/details/45437775