summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-07-06 23:05:52 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-07-06 23:05:52 +0000
commitfcd70928905d33653342e32329b98e7967ea5720 (patch)
tree8efc94488c703b52db12b46ef21457941fc457eb /java
parent50e442a747c477c484bdb173aae0c31597be596f (diff)
Fix the BPEL assignment to make sure the response message is initialized
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@791649 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel13
1 files changed, 12 insertions, 1 deletions
diff --git a/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel b/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel
index 25873e3dc3..156e32e9ee 100644
--- a/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel
+++ b/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel
@@ -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>