cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bromberg, Dirk - encoway" <Bromb...@encoway.de>
Subject AW: Setting MTOM= true with JaxWsProxyFactoryBean / Spring
Date Fri, 10 Oct 2008 06:46:33 GMT
Yes this works fine. Thanks!


> -----Urspr√ľngliche Nachricht-----
> Von: Daniel Kulp [mailto:dkulp@apache.org]
> Gesendet: Donnerstag, 9. Oktober 2008 20:47
> An: users@cxf.apache.org
> 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
> dkulp@apache.org
> http://dankulp.com/blog

Mime
View raw message