summaryrefslogtreecommitdiffstats
path: root/java/sca/modules
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-07-01 23:58:41 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-07-01 23:58:41 +0000
commit29352dc266dcb1bd4eeffe2cf20a3d357186dd35 (patch)
tree700d1367f5ba96d600a39ca8948462aac4e7bb88 /java/sca/modules
parentf8f1555ae9cc86f9af4d551cabb3ea7325a9da1c (diff)
Update the bpel
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@790425 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules')
-rw-r--r--java/sca/modules/implementation-bpel-runtime/src/test/resources/helloworld/helloworld.bpel29
1 files changed, 22 insertions, 7 deletions
diff --git a/java/sca/modules/implementation-bpel-runtime/src/test/resources/helloworld/helloworld.bpel b/java/sca/modules/implementation-bpel-runtime/src/test/resources/helloworld/helloworld.bpel
index 8cf91adc2c..1799a5ebd3 100644
--- a/java/sca/modules/implementation-bpel-runtime/src/test/resources/helloworld/helloworld.bpel
+++ b/java/sca/modules/implementation-bpel-runtime/src/test/resources/helloworld/helloworld.bpel
@@ -20,7 +20,7 @@
targetNamespace="http://tuscany.apache.org/implementation/bpel/example/helloworld"
xmlns="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
- xmlns:tns="http://tuscany.apache.org/implementation/bpel/example/helloworld"
+ xmlns:tns="http://tuscany.apache.org/implementation/bpel/example/helloworld"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:test="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
@@ -32,7 +32,7 @@
<partnerLinks>
<partnerLink name="helloPartnerLink" partnerLinkType="test:HelloPartnerLinkType" myRole="me" />
</partnerLinks>
-
+
<variables>
<variable name="helloMessage" messageType="test:HelloMessage"/>
<variable name="tmpVar" type="xsd:string"/>
@@ -47,19 +47,34 @@
variable="helloMessage"
createInstance="yes"/>
+ <variables>
+ <variable name="myVar" messageType="test:HelloMessage"/>
+ <variable name="tmpVar" type="xsd:string"/>
+ </variables>
+
+ <sequence>
+ <receive
+ name="start"
+ partnerLink="helloPartnerLink"
+ portType="test:HelloPortType"
+ operation="hello"
+ variable="myVar"
+ createInstance="yes"/>
+
<assign name="assign1">
<copy>
- <from variable="helloMessage" part="TestPart"/>
+ <from>concat($myVar.TestPart/test:message/text(), ' World')</from>
<to variable="tmpVar"/>
</copy>
<copy>
- <from>concat($tmpVar,' World')</from>
- <to variable="helloMessage" part="TestPart"/>
+ <from>$tmpVar</from>
+ <to>$myVar.TestPart/test:message</to>
</copy>
</assign>
- <reply name="end"
+
+ <reply name="end"
partnerLink="helloPartnerLink"
- portType="test:HelloPortType"
+ portType="test:HelloPortType"
operation="hello"
variable="helloMessage"/>
</sequence>