论坛首页 Java企业应用论坛

xfire开发webservice 绑定问题

浏览 1445 次
该帖已经被评为隐藏帖
作者 正文
   发表时间:2007-12-07  
SOA
接口IManagerMember:
public interface IManagerMember
{
   public List memebers();

   public IPagination memebers(IQueryCondition queryCondition);
    //注: IPagination 是Pagination的接口,该方法返回的是Pagination
}


绑定xml文件: IManagerMember.aegis.xml

<?xml version="1.0" encoding="UTF-8"?>
<mappings>
  <mapping>
     <method name="memebers">
       <return-type componentType="com.cenfex.platform.database.hibernate.Member"/>
     </method>
     <method name="memebers">
         <parameter index="0" componentType="com.cenfex.platform.frame.util.IQueryCondition"/>  
         <return-type componentType="com.cenfex.platform.util.Pagination"/>
      </method>
  </mapping>
</mappings>

生成wsdl时候总是报错如下:

Couldn't create type for property items on interface com.cenfex.platform.frame.util.IPagination: Cannot create mapping for java.util.List, unspecified component type for interface java.util.List

有碰到过这种问题吗?谢谢
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics