thanks for your time.
regards
ashok
On 10/20/06, Ashok Madhavan
<[EMAIL PROTECTED]> wrote:
more details :
services.xml :
<beans xmlns="http://xfire.codehaus.org/config/1.0 ">
<service>
<name>OrganizationalUnitService</name>
<serviceClass>com.xxx.yyy.IOrgUnit</serviceClass>
<implementationClass>com.xxx.yyy.OrgUnit</implementationClass>
</service>
</beans>
IOrgUnitManager.aegis.xml :
<mappings>
<mapping>
<method name="getOrganizationalUnits">
<return-type componentType=" com.xxx.yyy.OrgUnitDTO"/>
</method>
</mapping>
</mappings>
The OrgUnitDTO does not contain any List. The service class and .aegis.xml file are in same package.
Hopefully this will help.
regards
ashokOn 10/20/06, Ashok Madhavan < [EMAIL PROTECTED]> wrote:Hi Nicholas,
The OrgUnitDTO does not have any List property.
This DTO is a part of EJB jar file. and i am deploying in JBoss 3.2.3.
regards
ashokOn 10/20/06, Nicholas Marchalleck <[EMAIL PROTECTED]> wrote:OrgUnitDTO doesn't have a List property does it?
On 10/20/06, Ashok Madhavan <[EMAIL PROTECTED] > wrote:
> Hi ,
> I had a simple CRUD interface which i exposed using XFire. it worked great.
> Then i added a getOrganizationalUnits() which returns a List. i had added
> the MyInterfaceClass.aegis.xml in the same package as my interface. my
> interface and implementation stay in the same directory. Then i started
> getting the " org.codehaus.xfire.XFireRuntimeException
> Cannot create mapping for java.util.List".
>
> i do have the aegis.xml file as per in the documentation. Obviously i am
> missing something.
>
> <mappings>
> <mapping>
> <method name="getOrganizationalUnits">
> <return-type componentType="com.xxx.yyy.OrgUnitDTO"/>
> </method>
> </mapping>
> </mappings>
>
>
> Any idea why i am getting this.
>
> thanks a lott.
>
> regards
> Ashok
>
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
