Author: mriou
Date: Mon Oct  2 08:22:39 2006
New Revision: 452072

URL: http://svn.apache.org/viewvc?view=rev&rev=452072
Log:
Added test for custom variable $ode:pid.

Modified:
    
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignActivity1/TestAssign.bpel

Modified: 
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignActivity1/TestAssign.bpel
URL: 
http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignActivity1/TestAssign.bpel?view=diff&rev=452072&r1=452071&r2=452072
==============================================================================
--- 
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignActivity1/TestAssign.bpel
 (original)
+++ 
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignActivity1/TestAssign.bpel
 Mon Oct  2 08:22:39 2006
@@ -18,17 +18,18 @@
   -->
 
 <process name="TestAssign"
-    targetNamespace="http://ode/bpel/unit-testAssign1";
+         targetNamespace="http://ode/bpel/unit-testAssign1";
+         xmlns:ode="http://www.apache.org/ode/type/extension";
          xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/";
          xmlns="http://schemas.xmlsoap.org/ws/2004/03/business-process/";
-    xmlns:tns="http://ode/bpel/unit-testAssign1";
+         xmlns:tns="http://ode/bpel/unit-testAssign1";
          xmlns:xsd="http://www.w3.org/2001/XMLSchema";
-    xmlns:test="http://ode/bpel/unit-testAssign1.wsdl";
+         xmlns:test="http://ode/bpel/unit-testAssign1.wsdl";
          queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
          expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
 
     <import location="TestAssign.wsdl"
-        namespace="http://ode/bpel/unit-testAssign1.wsdl";
+            namespace="http://ode/bpel/unit-testAssign1.wsdl";
             importType="http://schemas.xmlsoap.org/wsdl/"; />
 
     <partnerLinks>
@@ -48,6 +49,10 @@
 
         <assign name="assign1">
             <copy>
+                <from>$ode:pid</from>
+                <to variable="strVar"/>
+            </copy>
+            <copy>
                 <from>2 + 1</from>
                 <to variable="intVar"/>
             </copy>
@@ -71,13 +76,13 @@
                 <from variable="myVar" part="TestPart"/>
                 <to variable="otherMsgVar" part="TestPart"/>
             </copy>
-            
-<!--          
+
+<!--
             <copy>
                 <from variable="myVar" part="TestPart"/>
                 <to>$otherMsgVar.TestPart</to>
             </copy>
--->   
+-->
         </assign>
         <reply name="end" partnerLink="TestAssignPartnerLink" 
portType="test:TestAssignPortType"
                operation="testAssign" variable="otherMsgVar"/>


Reply via email to