webservice接口返回类型为List,
相对应的aegis.xml文件要如何配置,假如List中是存放String类型的。
我客户端和服务端都是这样配的,
<?xml version="1.0" encoding="UTF-8" ?>
<mappings>
<mapping>
<method name="getCustomers">
<return-type componentType="java.lang.String"/>
</method>
</mapping></mappings>但是就报错:
信息: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@102799c: defining beans [userInfoService,testService,customerDao,customerTest]; root of factory hierarchy
相对应的aegis.xml文件要如何配置,假如List中是存放String类型的。
我客户端和服务端都是这样配的,
<?xml version="1.0" encoding="UTF-8" ?>
<mappings>
<mapping>
<method name="getCustomers">
<return-type componentType="java.lang.String"/>
</method>
</mapping></mappings>但是就报错:
信息: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@102799c: defining beans [userInfoService,testService,customerDao,customerTest]; root of factory hierarchy
Caused by: java.lang.NoClassDefFoundError: org/jaxen/BaseXPath
还有这个错
Caused by: org.codehaus.xfire.XFireRuntimeException: Cannot create mapping for java.util.List, unspecified component type for return type of method getCustomers in interface com.test.service.ICustomerDao