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

Reply via email to