cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Diephouse <...@envoisolutions.com>
Subject Re: CXF Config Help
Date Thu, 16 Nov 2006 03:14:28 GMT
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


Mime
View raw message