You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2008/10/16 16:41:38 UTC

svn commit: r705258 - /webservices/axis2/trunk/java/modules/mtompolicy-mar/src/org/apache/axis2/mtompolicy/MTOMPolicy.java

Author: nandana
Date: Thu Oct 16 07:41:37 2008
New Revision: 705258

URL: http://svn.apache.org/viewvc?rev=705258&view=rev
Log:
getting the optional attribute from mtomAssertion

Modified:
    webservices/axis2/trunk/java/modules/mtompolicy-mar/src/org/apache/axis2/mtompolicy/MTOMPolicy.java

Modified: webservices/axis2/trunk/java/modules/mtompolicy-mar/src/org/apache/axis2/mtompolicy/MTOMPolicy.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/mtompolicy-mar/src/org/apache/axis2/mtompolicy/MTOMPolicy.java?rev=705258&r1=705257&r2=705258&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/mtompolicy-mar/src/org/apache/axis2/mtompolicy/MTOMPolicy.java (original)
+++ webservices/axis2/trunk/java/modules/mtompolicy-mar/src/org/apache/axis2/mtompolicy/MTOMPolicy.java Thu Oct 16 07:41:37 2008
@@ -55,6 +55,8 @@
         if (mtomAssertion == null) {
             return;
         }
+        
+        isOptional = mtomAssertion.isOptional();
 
         if (isOptional) {
             axisDescription.addParameter(Constants.Configuration.ENABLE_MTOM,