Yes this works fine. Thanks!

> -----Ursprüngliche Nachricht-----
> Von: Daniel Kulp [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 9. Oktober 2008 20:47
> An: [email protected]
> Cc: Bromberg, Dirk - encoway
> Betreff: Re: Setting MTOM= true with JaxWsProxyFactoryBean / Spring
> 
> 
> 
> 
> I THINK you can just do:
> 
> <bean id=" myServiceClientFacotry "
>     class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
>         <property name="serviceClass" value="com.MyServiceInterface" />
>         <property name="address" value="${myWebServiceAddress}" />
>         <property name="properties>
>             <map>
>                  <entry key="mtom-enabled" value="true">
>             </map>
>         </property>
> </bean>
> or similar.
> 
> Dan
> 
> 
> On Thursday 09 October 2008 4:59:09 am Bromberg, Dirk - encoway wrote:
> > Hi,
> >
> > For the WS client i use spring shown in the sample. The myServiceClient
> > bean is used in another bean..
> >
> > How can I set
> > <jaxws:properties>
> >    <entry key="mtom-enabled" value="true"/>
> > </jaxws:properties>
> > here?
> >
> > ----SAMPLE-----
> > <bean id="myServiceClient"
> >
> > class="com.encoway.appbase.impl.catalogue.sync.CatalogueSyncWebService"
> >   factory-bean=" myServiceClientFacotry" factory-method="create">
> > </bean>
> >
> > <bean id=" myServiceClientFacotry "
> > class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
> > <property name="serviceClass" value="com.MyServiceInterface" />
> > <property name="address" value="${myWebServiceAddress}" />
> > </bean>
> > ----SAMPLE-----
> >
> >
> > Thanks!
> >
> > Dirk
> 
> 
> 
> --
> Daniel Kulp
> [EMAIL PROTECTED]
> http://dankulp.com/blog

Reply via email to