You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by mi...@apache.org on 2008/07/09 01:05:34 UTC

svn commit: r675028 - /ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/ASSIGN.java

Author: midon
Date: Tue Jul  8 16:05:34 2008
New Revision: 675028

URL: http://svn.apache.org/viewvc?rev=675028&view=rev
Log:
accept parts of simple types

Modified:
    ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/ASSIGN.java

Modified: ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/ASSIGN.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/ASSIGN.java?rev=675028&r1=675027&r2=675028&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/ASSIGN.java (original)
+++ ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/ASSIGN.java Tue Jul  8 16:05:34 2008
@@ -557,7 +557,8 @@
             } else if (part.type == null) {
                 // Special case of header parts never referenced in the WSDL def
                 if (qualLVal != null && qualLVal.getNodeType() == Node.ELEMENT_NODE
-                        && ((Element)qualLVal).getAttribute("headerPart") != null)
+                        && ((Element)qualLVal).getAttribute("headerPart") != null
+                        && DOMUtils.getTextContent(qualLVal) == null)
                     qualLVal = DOMUtils.getFirstChildElement((Element) qualLVal);
                 // The needed part isn't there, dynamically creating it
                 if (qualLVal == null) {