It is possible to set this other ways. If you have a JAX-WS endpoint:
<bean class="org.apache.cxf.jaxws.EndpointImpl" id="...">
<property name="binding.mtomEnabled" value="true"/>
</bean>
Andrea: What does the bean id need to be here?
OR if you are using the JaxWsServerFactoryBean:
<bean class="org.apache.cxf.jaxws.JaxWsServerFactoryBean"
id="serverFactory">
<property name="properties">
<map>
<entry key="mtom-enabled" value="true"/>
</map>
</property>
</bean>
Regards,
- Dan
Andrea Smyth wrote:
Li, Tao (Tom) wrote:
Hi Andrea,
Currently does CXF support setting config value into map that means
the bean being configed is a map, and the property name is not a
field of the bean, but a key for accessing the config value in the map?
No, the property name must correspond to a field in the bean - or
rather there must be a corresponding setter for the property.
Andrea.
Thanks.
Tom
--
Dan Diephouse
(616) 971-2053
Envoi Solutions LLC
http://netzooid.com