axis-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1371373 - /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/DescriptionBuilder.java
Date Thu, 09 Aug 2012 18:47:36 GMT
Author: veithen
Date: Thu Aug  9 18:47:36 2012
New Revision: 1371373

URL: http://svn.apache.org/viewvc?rev=1371373&view=rev
Log:
Correctly set the parameter value if the <parameter> element contains XML. Note that
Synapse already does this correctly (for parameters defined in proxy definitions).

Modified:
    axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/DescriptionBuilder.java

Modified: axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/DescriptionBuilder.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/DescriptionBuilder.java?rev=1371373&r1=1371372&r2=1371373&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/DescriptionBuilder.java
(original)
+++ axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/DescriptionBuilder.java
Thu Aug  9 18:47:36 2012
@@ -530,7 +530,7 @@ public class DescriptionBuilder implemen
             // setting parameter Value (the child element of the parameter)
             OMElement paramValue = parameterElement.getFirstElement();
             if (paramValue != null) {
-                parameter.setValue(parameterElement);
+                parameter.setValue(paramValue);
                 parameter.setParameterType(Parameter.OM_PARAMETER);
             } else {
                 String paratextValue = parameterElement.getText();



Mime
View raw message