On Jan 3, 2008 7:58 PM, Giorgio Zoppi <[EMAIL PROTECTED]> wrote:

> Hi,
> fist of all happy new year! Is feasible enabling MTOM in Tuscany Axis
> Web Services (in axis.xml), or are there drawbacks?
> Cheers,
> Giorgio.
>

Happy new year to you too. I think it would be great to support MTOM.
Ideally we'd have finer control than just enabling it globally, so for
example we could enable/disable it on individual refererences using the WS
binding. We could do that using intents the same way as the support for SOAP
1.2 is done and the scdl would look something like:

<binding.ws requires="MTOM" />

Should be pretty easy to do if you're interested. See the Axis2 MTOM guide
[1], and update our Axis2 binding definitions file [2] with a new MTOM
intent and update the Axis2ServiceClient [3] to read the intent in a similar
way as the requiresSOAP12 method.

   ...ant

[1] http://ws.apache.org/axis2/1_0/mtom-guide.html

[2]
https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/modules/binding-ws-axis2/src/main/resources/META-INF/services/definitions.xml

[3]
https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ServiceClient.java

Reply via email to