Thanks for the reply....I did follow those instructions, but  i still get 
the following error... I'm under a huge time crunch right now so any help 
would be greatly appreciated!

Apr 2, 2007 2:49:05 PM org.codehaus.xfire.transport.http.XFireServlet init
SEVERE: Error initializing XFireServlet.
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'org.codehaus.xfire.spring.ServiceBean' defined in class 
path resource [META-INF/xfire/services.xml]: Initialization of bean 
failed; nested exception is org.codehaus.xfire.XFireRuntimeException: 
Cannot create mapping for java.util.List, unspecified component type for 
parameter 0 of method exampleList in interface 
com.myeclipse.wsexample.IHelloWorldService
org.codehaus.xfire.XFireRuntimeException: Cannot create mapping for 
java.util.List, unspecified component type for parameter 0 of method


Is there any documentation for exactly how to do this, or maybe another 
example? I just want to be able to take a List as a Parameter and let the 
service and wsdl know what valid types can go into that list.

This seems to be a very simple and common approach.. am I complately 
missing something here?

Thanks again!

Bob




Matt Solnit <[EMAIL PROTECTED]> 
04/02/2007 02:49 PM
Please respond to
dev@xfire.codehaus.org


To
"dev@xfire.codehaus.org" <dev@xfire.codehaus.org>
cc

Subject
Re: [xfire-dev]  aegis mapping for a List parameter






Bob,

Is this what you are looking for?
http://xfire.codehaus.org/Aegis+Inheritance

-- Matt

On 4/2/07 9:31 AM, "Bob Bueckers" <[EMAIL PROTECTED]> wrote:

> I have the following web service methods...
> 
> Java class -> LoadService
>   public void loadData(DataAddendum dataAddendum);
>   public void loadDataList(List dataAddendumList);
> 
> 
> Abstract Class -> DataAddendum -
>   TravelAddendum extends DataAddendum
>   RentalAddendum extends DataAddendum
>   LodgingAddendum extend DataAddendum
> 
> I need the dataAddendumList to consist of the concrete types above.
> 
> LoadService.aegis.xml
> ------------------------------
> <mappings  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>   xsi:schemaLocation="http://xfire.codehaus.org/schemas/1.0/mapping.xsd
">
>     <mapping>
>         <method name="loadDataList">
>             <parameter index="0"
> componentType="com.messaging.v1.DataAddendum"/>
>         </method>
>    </mapping> 
> </mappings>
> 
> Where/How do I specify that dataAddendum can actually be the concrete 
types ->
> TravelAddendum, RentalAddendum, LodgingAddendum, as well as the
> dataAddendumList
> being a List of those concrete types?
> 
> Thanks in advance!
> 
> Bob
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 


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

    http://xircles.codehaus.org/manage_email

Reply via email to