Just to chime in on this. I am facing the same problem at the moment. Keen to here a response.
___________________________________________ Gavin Hogan Programmer/Analyst The State University of New York State University Plaza Albany, NY 12246 Phone 518-443-5481 fax 518-443-5809 e-mail [EMAIL PROTECTED] -----Original Message----- From: Scott Seiter [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 1:57 PM To: [email protected] Subject: [xfire-user] Specifying the Map Implementation Used by XFire NOTE: I'm using XFire Version: 1.2.6 on Java 1.4 with Aegis Bindings A service is passing a Map back to an XFire dynamic client. The client is working well except that it always creates Maps as instances of HashMap. I need XFire to create LinkedHashMap instances to preserve the order of the map entries. I hoped to do something in my aegis.xml file like <mappings> <mapping> <property name="requiredActivationAttributes" class="java.util.LinkedHashMap" keyType="java.lang.String" componentType="java.lang.String" /> </mapping> </mappings> When that didn't work I tried: <mappings> <mapping> <property name="requiredActivationAttributes" keyType = "#requiredAttributeMap" componentType="#requiredAttributeMap" /> <component name="requiredAttributeMap" class="java.util.LinkedHashMap" keyType="java.lang.String" componentType="org.ihc.imass.domain.AttributeMetadata" /> </mapping> </mappings> I imagine if I weren't on Java SE 1.4 I'd be able to use CXF and my problems could be solved. Since SE 1.4 is a requirement, I'm using XFire 1.2.6. Any help is appreciated! Scott --------------------------------------------------------------------- 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
