Hi, I need to setup the JaxbType.SEARCH_PACKAGES using spring remoting configuration.
The problem is the JaxbType class casts the property value to Collection<Srting> and spring doesn't have generics support.
Then the following spring configuration fails with a class cast exception.
<bean name="/XXXService"
class="org.codehaus.xfire.spring.remoting.XFireExporter">
<property name="serviceBean" ref="XXXServiceImpl"/>
<property name="serviceFactory" ref="jaxbServiceFactory"/>
<property name="properties">
<map>
<entry>
<key><value> jaxb.search.pacakges</value></key>
<list>
<value>xxx.packagename1</value>
<value>xxx.packagename2</value>
</list>
</entry>
</map>
</property>
</bean>
Changing to Collection type will fix this problem.