Hi Ashok and list, Thanks for the help. I have a further problem in that the bean that returns the list is an object from a jar file which I do not have authorization to change. I know that I need to create the aegis.xml file in the same directory as the bean, besides unjaring and then rejaring the file is there another way to place the aegis.xml file so that it will be associated with the correct bean?
I have tired re-creating the package folder hierarchy under the classes directory hoping that tomcat would be able to match this to the same directory structure in the jar but that does not appear to work. Anyone got a suggestion on how to solve this? Ashok Madhavan wrote: > > hi, > > your aegis file is wrong. you havent specified the property name. > > it should be something like this : > > <mappings> > > <mapping> > > <property name="tasks" componentType="package.Task"/> > > </mapping> > > </mappings> > For additional info look here : http://xfire.codehaus.org/Aegis+Binding > > regards > Ashok > On 4/25/07, mxc <[EMAIL PROTECTED]> wrote: > >> >> Hi there, >> >> I am using Mule with XFire. I have a web service that returns a "user" >> object. The user object has methods that return a collection eg >> >> /**** Web Service Class *****/ >> public UserService(); >> >> public uSER getUser(){ >> ...... >> >> >> the user object has a method called getTasks which returns a List of >> package.Task objects. >> >> public User { >> .... >> List getTasks(){ >> ..... >> >> } >> >> How do I get this defined using aegis.xml? I have tried a >> >> UserService.aegis.xml >> >> <mappings> >> <mapping> >> <property componentType="package.Task" /> >> </mapping> >> </mappings> >> >> But I still get errors about the component type java.util.List. I dont >> have >> direct access to the User class it is contained in a "3rd party jar" >> >> Thanks >> -- >> View this message in context: >> http://www.nabble.com/How-to-map-java.util.List-returned-by-method-on-object--tf3645292.html#a10180541 >> Sent from the XFire - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list please visit: >> >> http://xircles.codehaus.org/manage_email >> >> > > -- View this message in context: http://www.nabble.com/How-to-map-java.util.List-returned-by-method-on-object--tf3645292.html#a10198196 Sent from the XFire - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
