Author: rfeng
Date: Mon Jul  6 23:05:52 2009
New Revision: 791649

URL: http://svn.apache.org/viewvc?rev=791649&view=rev
Log:
Fix the BPEL assignment to make sure the response message is initialized

Modified:
    
tuscany/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel

Modified: 
tuscany/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel?rev=791649&r1=791648&r2=791649&view=diff
==============================================================================
--- 
tuscany/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel
 (original)
+++ 
tuscany/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel
 Mon Jul  6 23:05:52 2009
@@ -53,8 +53,19 @@
               <from>concat($helloMessage.TestPart/test:message/text(), ' 
World')</from>
               <to variable="tmpVar"/>
           </copy>
+          <!-- Initialize the response -->
           <copy>
-              <from>$tmpVar</from>
+              <from>
+                  <literal>
+                      <test:helloResponse>
+                          <test:messageResponse>Dummy</test:messageResponse>
+                      </test:helloResponse>
+                  </literal>        
+              </from>
+              <to variable="helloMessageResponse" part="TestResponse"/>
+          </copy>                  
+          <copy>
+              <from variable="tmpVar"/>
               <to>$helloMessageResponse.TestResponse/test:messageResponse</to>
           </copy>
       </assign>


Reply via email to