Author: mriou
Date: Fri Sep 22 08:07:55 2006
New Revision: 448957
URL: http://svn.apache.org/viewvc?view=rev&rev=448957
Log:
Added usage of an XPath 2.0 function.
Modified:
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignActivity/TestAssign.bpel
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignActivity/test.properties
Modified:
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignActivity/TestAssign.bpel
URL:
http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignActivity/TestAssign.bpel?view=diff&rev=448957&r1=448956&r2=448957
==============================================================================
---
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignActivity/TestAssign.bpel
(original)
+++
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignActivity/TestAssign.bpel
Fri Sep 22 08:07:55 2006
@@ -56,6 +56,10 @@
<to variable="intVar"/>
</copy>
<copy>
+ <from>$intVar + number('2')</from>
+ <to variable="intVar"/>
+ </copy>
+ <copy>
<from variable="myVar" part="TestPart"/>
<to variable="strVar"/>
</copy>
@@ -64,15 +68,11 @@
<to variable="myVar" part="TestPart"/>
</copy>
<copy>
- <from>concat($strVar,' World')"</from>
- <to>$otherMsgVar.TestPart</to>
- </copy>
- <copy>
<from variable="myVar" part="TestPart"/>
<to>$otherMsgVar.TestPart</to>
</copy>
</assign>
<reply name="end" partnerLink="TestAssignPartnerLink"
portType="test:TestAssignPortType"
- operation="testAssign" variable="myVar"/>
+ operation="testAssign" variable="otherMsgVar"/>
</sequence>
</process>
Modified:
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignActivity/test.properties
URL:
http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignActivity/test.properties?view=diff&rev=448957&r1=448956&r2=448957
==============================================================================
---
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignActivity/test.properties
(original)
+++
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignActivity/test.properties
Fri Sep 22 08:07:55 2006
@@ -2,4 +2,4 @@
service=TestAssignService
operation=testAssign
request=<message><TestPart>Hello</TestPart></message>
-response=.*Hello World4.*
\ No newline at end of file
+response=.*Hello World6.*
\ No newline at end of file