参照:
http://www.blogjava.net/fastzch/archive/2008/08/28/225439.html
http://www.blogjava.net/waterye/archive/2005/12/05/22643.html
http://xfire.codehaus.org/JSR+181+Annotations
http://blog.csdn.net/hlf48641715/article/details/3220542
http://www.ibm.com/developerworks/cn/java/j-ws/#JAVAZA45
http://blog.csdn.net/shazhenhua/article/details/3186726<interface_name>.aegis.xml-->
<mappings>
<mapping>
<method name="test">
<parameter index="0" componentType="java.lang.String" />
<return-type componentType="org.vivianj.xfire.pojo.Course" />
</method>
</mapping>
</mappings> problem:
http://yuyuqian521.iteye.com/blog/939047
PS:
1、IHelloService.aegis.xml 应与interface放在同一包下,否则报错:
1 Cannot create mapping for java.util.List, unspecified component type for parameter 0 of method test in interface org.vivianj.xfire.service.IHelloService
2 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:370)
2、services.xml应放在classes 中,目录结构META-INF-xfire-services.xml