summaryrefslogtreecommitdiffstats
path: root/java/sca/samples/webapps/helloworld-bpel/src/main/resources
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-07-02 05:04:41 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-07-02 05:04:41 +0000
commit677379d4d85b4ab6da457956680a7957528b0587 (patch)
tree6ee28758989a55332b816db70c98b8e426f2e1af /java/sca/samples/webapps/helloworld-bpel/src/main/resources
parentc237e8438fb6ce5a31f5ad9e11bca736d94d4198 (diff)
Update the bpel
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@790461 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/samples/webapps/helloworld-bpel/src/main/resources')
-rw-r--r--java/sca/samples/webapps/helloworld-bpel/src/main/resources/helloworld.bpel14
1 files changed, 7 insertions, 7 deletions
diff --git a/java/sca/samples/webapps/helloworld-bpel/src/main/resources/helloworld.bpel b/java/sca/samples/webapps/helloworld-bpel/src/main/resources/helloworld.bpel
index 46f96314f8..f1e8895f76 100644
--- a/java/sca/samples/webapps/helloworld-bpel/src/main/resources/helloworld.bpel
+++ b/java/sca/samples/webapps/helloworld-bpel/src/main/resources/helloworld.bpel
@@ -18,9 +18,9 @@
-->
<process name="HelloWorld"
targetNamespace="http://tuscany.apache.org/implementation/bpel/example/helloworld"
- xmlns:tns="http://tuscany.apache.org/implementation/bpel/example/helloworld"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
xmlns="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
+ 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="myVar" messageType="test:HelloMessage"/>
<variable name="tmpVar" type="xsd:string"/>
@@ -49,17 +49,17 @@
<assign name="assign1">
<copy>
- <from variable="myVar" part="TestPart"/>
+ <from>concat('Hello ', $myVar.TestPart/test:message/text())</from>
<to variable="tmpVar"/>
</copy>
<copy>
- <from>concat('Hello ', $tmpVar)</from>
- <to variable="myVar" 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="myVar"/>
</sequence>