On Apr 23, 2013, at 4:56 AM, Stefan Magnus Landrø <[email protected]> wrote:
> Hi, > > Is there a way to set custom properties on a per operation level on the > client. > > For instance, I'd like to add mtom support for 2 of our operations, but not > on all of them. > > Turning on mtom support effectively sends all soap messages as > http/multipart even if there is just one part. > > I'm using spring, so I guess the best would be to wire up one client bean > with mtom, and a second one without, or split operations that require mtom > into a separate service(wsdl)? > You could also write a simple interceptor that runs very very early in the out chain that would set the mtom-enabled property on the message depending on the operation. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
