diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-06 23:05:52 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-06 23:05:52 +0000 |
commit | fcd70928905d33653342e32329b98e7967ea5720 (patch) | |
tree | 8efc94488c703b52db12b46ef21457941fc457eb /java/sca | |
parent | 50e442a747c477c484bdb173aae0c31597be596f (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/sca')
-rw-r--r-- | java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel | 13 |
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> |