You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2009/07/02 07:04:41 UTC
svn commit: r790461 -
/tuscany/java/sca/samples/webapps/helloworld-bpel/src/main/resources/helloworld.bpel
Author: rfeng
Date: Thu Jul 2 05:04:41 2009
New Revision: 790461
URL: http://svn.apache.org/viewvc?rev=790461&view=rev
Log:
Update the bpel
Modified:
tuscany/java/sca/samples/webapps/helloworld-bpel/src/main/resources/helloworld.bpel
Modified: tuscany/java/sca/samples/webapps/helloworld-bpel/src/main/resources/helloworld.bpel
URL: http://svn.apache.org/viewvc/tuscany/java/sca/samples/webapps/helloworld-bpel/src/main/resources/helloworld.bpel?rev=790461&r1=790460&r2=790461&view=diff
==============================================================================
--- tuscany/java/sca/samples/webapps/helloworld-bpel/src/main/resources/helloworld.bpel (original)
+++ tuscany/java/sca/samples/webapps/helloworld-bpel/src/main/resources/helloworld.bpel Thu Jul 2 05:04:41 2009
@@ -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>