[ 
https://issues.apache.org/jira/browse/AXIS2-2812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506328
 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-2812:
-----------------------------------------------------

we can do this for adb but other can't. so shall we give a new option to the 
user to enable mtom or not. and set the default value as false.

> [Performance] set enableMTOM flag in autogenerated services.xml
> ---------------------------------------------------------------
>
>                 Key: AXIS2-2812
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2812
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>            Reporter: Davanum Srinivas
>            Assignee: Amila Chinthaka Suriarachchi
>
> Please see AXIS2-2743 for additional info. If someone has a axis2.xml where 
> enableMTOM is set to true, then all the services take a performance hit 
> whether they use mtom or not since the soap response is written to a string 
> first and then to the actual stream. So if we look at the wsdl/xsd and find 
> that there is no base64 types, we should set enableMTOM to false explictly. 
> This takes precedence over the setting in the repository's setting. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to