[ https://issues.apache.org/jira/browse/WSCOMMONS-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583049#action_12583049 ]
Thilina Gunarathne commented on WSCOMMONS-313: ---------------------------------------------- Hi Rich, Necessary Axis2 parts have been written to give priority to the MTOM in case both "enableMTOM" and "enableSwA" are being set to true.. IIRC we did not worry about resolving it in OMOutputFormat as we assumed it to be already resolved in Axis2 level.. My first preference would be throwing of IllegalArgumentException due to the above assumption.. If it's hard then, I would propose to prefer MTOM if both are set, just to be consistent with Axis2 behavior.. thanks, Thilina > OMOutputFormat: doSWA and doOptimize should be mutually exclusive...plus we > need doOptimizeThreshold > ---------------------------------------------------------------------------------------------------- > > Key: WSCOMMONS-313 > URL: https://issues.apache.org/jira/browse/WSCOMMONS-313 > Project: WS-Commons > Issue Type: Bug > Components: AXIOM > Reporter: Rich Scheuerle > Assignee: Rich Scheuerle > > Scenario: > OMOutputFormat is set with both doingSWA and doOptimize. In such cases, both > cannot be satisifed. > Solution: > Prefer doingSWA if both are set. -- 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]