Thanks a lot for your wuick reply :)

a very good tip to put the file in the same package :) 
it worked now :D

could you please give me a client example to get the collection.


Cheers,




Anshumn Sagar wrote:
> 
> Hi,
> 
> You need to create an ServiceinterfaceName.aegis.xml
> file which should contain the mappings for the methods
> which are going to return a list.
> 
> Suppose your web service Interface file is
> IMyService.java, then the name of the aegis file would
> be IMyService.aegis.xml
> 
> and suppose you have a method named getListContents(),
> which returns a list of Strings, then the aegis file
> would contain the following mapping - 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <mappings>
>       <mapping>
>               <method name="getListContents">
>                       <return-type componentType="java.lang.string"/>
>               </method>
> </mapping>
> </mappings>
> 
> The aegis file should be placed in the same package
> where the service interface is present.
> 
> Hope this helps.
> 
> Regards,
> Anshumn
> 
> 
> --- "geek.shrek" <[EMAIL PROTECTED]> wrote:
> 
>> 
>> Hi,
>> 
>> Can anyone give me an example how to return a
>> Collection such as List or
>> Vector in xfire using Spring?
>> 
>> Thanks.
>> -- 
>> View this message in context:
>>
> http://www.nabble.com/Web-Service-return-Collection-%28List-or-Vector%29-tf4054129.html#a11515704
>> Sent from the XFire - User mailing list archive at
>> Nabble.com.
>> 
>> 
>>
> ---------------------------------------------------------------------
>> To unsubscribe from this list please visit:
>> 
>>     http://xircles.codehaus.org/manage_email
>> 
>> 
> 
> 
> 
>        
> ____________________________________________________________________________________
> Get the Yahoo! toolbar and be alerted to new email wherever you're
> surfing.
> http://new.toolbar.yahoo.com/toolbar/features/mail/index.php
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Web-Service-return-Collection-%28List-or-Vector%29-tf4054129.html#a11516307
Sent from the XFire - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to