You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by ad...@apache.org on 2006/02/28 17:05:47 UTC

svn commit: r381686 [6/40] - in /incubator/ode/scratch/bpe: ./ bpelTests/ bpelTests/probeService/ bpelTests/test1/ bpelTests/test10/ bpelTests/test12/ bpelTests/test13/ bpelTests/test14/ bpelTests/test15/ bpelTests/test16/ bpelTests/test17/ bpelTests/t...

Added: incubator/ode/scratch/bpe/bpelTests/testGraftGraftChildren/BPService.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testGraftGraftChildren/BPService.bpel?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testGraftGraftChildren/BPService.bpel (added)
+++ incubator/ode/scratch/bpe/bpelTests/testGraftGraftChildren/BPService.bpel Tue Feb 28 08:02:48 2006
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpel:process xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns0="www.sybase.com" xmlns:tns="urn:mycompany:/repeat/BPService" name="testgraftgraftchildren" targetNamespace="urn:mycompany:/repeat/BPService">
+  <bpel:partnerLinks>
+    <bpel:partnerLink name="BPServiceReceive1PL" partnerLinkType="tns:BPServicePLType"/>
+  </bpel:partnerLinks>
+  <bpel:scope name="ID112309753619212">
+    <bpel:variables>
+      <bpel:variable messageType="tns:operation1Request" name="BP11230975361921"/>
+      <bpel:variable messageType="tns:operation1Response" name="BP11230975521282"/>
+    </bpel:variables>
+    <bpel:flow>
+      <bpel:sequence>
+        <bpel:receive name="ID112309753619215" createInstance="yes" operation="operation1" partnerLink="BPServiceReceive1PL" portType="tns:BPService" variable="BP11230975361921"/>
+        <bpel:assign name="BP11230975736993">
+          <bpel:copy>
+            <bpel:from part="in" query="/ns0:Order/ns0:OrderItems[1]" variable="BP11230975361921"/>
+            <bpel:to part="out" query="/ns0:Order" variable="BP11230975521282"/>
+          </bpel:copy>
+        </bpel:assign>
+        <bpel:assign name="BP11230976267384">
+          <bpel:copy>
+            <bpel:from part="in" query="/ns0:Order/ns0:OrderItems[2]" variable="BP11230975361921"/>
+            <bpel:to part="out" query="/ns0:Order" variable="BP11230975521282"/>
+          </bpel:copy>
+        </bpel:assign>
+        <bpel:reply name="ID112309755212820" operation="operation1" partnerLink="BPServiceReceive1PL" portType="tns:BPService" variable="BP11230975521282"/>
+      </bpel:sequence>
+    </bpel:flow>
+  </bpel:scope>
+</bpel:process>

Added: incubator/ode/scratch/bpe/bpelTests/testGraftGraftChildren/BPService.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testGraftGraftChildren/BPService.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testGraftGraftChildren/BPService.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testGraftGraftChildren/BPService.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="" targetNamespace="urn:mycompany:/repeat/BPService" xmlns:tns="urn:mycompany:/repeat/BPService" xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns1="www.sybase.com" xmlns:format="http://schemas.xmlsoap.org/wsdl/formatbinding/">
+  <wsdl:types>
+    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="www.sybase.com" xmlns="www.sybase.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+	<xs:element name="Order">
+		<xs:annotation>
+			<xs:documentation>Comment describing your root element</xs:documentation>
+		</xs:annotation>
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="AccountIdentifier" type="xs:positiveInteger"/>
+				<xs:element name="OrderDate" type="xs:dateTime"/>
+				<xs:element name="MustDeliverBy" type="xs:dateTime"/>
+				<xs:element name="Zipcode" type="xs:positiveInteger"/>
+				<xs:element maxOccurs="unbounded" name="OrderItems">
+					<xs:complexType>
+						<xs:sequence>
+							<xs:element name="ProductIdentifier" type="xs:positiveInteger"/>
+							<xs:element name="ProductDescription" type="xs:string"/>
+							<xs:element name="Price" type="xs:float"/>
+							<xs:element name="Quantity" type="xs:positiveInteger"/>
+						</xs:sequence>
+					</xs:complexType>
+				</xs:element>
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+</xs:schema>
+    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="www.sybase.com" xmlns="www.sybase.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+	<xs:element name="Order">
+		<xs:annotation>
+			<xs:documentation>Comment describing your root element</xs:documentation>
+		</xs:annotation>
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="AccountIdentifier" type="xs:positiveInteger"/>
+				<xs:element name="OrderDate" type="xs:dateTime"/>
+				<xs:element name="MustDeliverBy" type="xs:dateTime"/>
+				<xs:element name="Zipcode" type="xs:positiveInteger"/>
+				<xs:element maxOccurs="unbounded" name="OrderItems">
+					<xs:complexType>
+						<xs:sequence>
+							<xs:element name="ProductIdentifier" type="xs:positiveInteger"/>
+							<xs:element name="ProductDescription" type="xs:string"/>
+							<xs:element name="Price" type="xs:float"/>
+							<xs:element name="Quantity" type="xs:positiveInteger"/>
+						</xs:sequence>
+					</xs:complexType>
+				</xs:element>
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+</xs:schema>
+  </wsdl:types>
+  <wsdl:message name="operation1Response">
+    <wsdl:part name="out" element="tns1:Order"/>
+  </wsdl:message>
+  <wsdl:message name="operation1Request">
+    <wsdl:part name="in" element="tns1:Order"/>
+  </wsdl:message>
+  <wsdl:portType name="BPService">
+    <wsdl:operation name="operation1">
+      <wsdl:input name="operation1Request" message="tns:operation1Request"/>
+      <wsdl:output name="operation1Response" message="tns:operation1Response"/>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="/repeat/.BPService.bpmn" type="tns:BPService">
+    <sybbpe:binding xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/"/>
+    <wsdl:operation name="operation1">
+      <wsdl:input name="operation1Request">
+      </wsdl:input>
+      <wsdl:output name="operation1Response">
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="BPService">
+    <wsdl:port name="/repeat/.BPService.bpmn" binding="tns:/repeat/.BPService.bpmn">
+    <sybres:address xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" resourceRef="/repeat/.BPService.bpmn.props"/>
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>

Added: incubator/ode/scratch/bpe/bpelTests/testGraftGraftChildren/BPService.xml
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testGraftGraftChildren/BPService.xml?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testGraftGraftChildren/BPService.xml (added)
+++ incubator/ode/scratch/bpe/bpelTests/testGraftGraftChildren/BPService.xml Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpe:BPEBinding xmlns:bpe="http://sybase.com/bpe/binding/bpe">
+  <bpe:ActionBindings/>
+  <bpe:ActivityBindings>
+    <bpe:ActivityBinding activityName="BP11230975736993" interpretation="graftAssign"/>
+    <bpe:ActivityBinding activityName="BP11230976267384" interpretation="graftChildrenAssign"/>
+  </bpe:ActivityBindings>
+</bpe:BPEBinding>
\ No newline at end of file

Added: incubator/ode/scratch/bpe/bpelTests/testGraftGraftChildren/msg1.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testGraftGraftChildren/msg1.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testGraftGraftChildren/msg1.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testGraftGraftChildren/msg1.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,7 @@
+
+target.name.space=urn:mycompany:/repeat/BPService
+port.type=BPService
+operation=operation1
+
+part1=xml.in
+xml.in= <?xml version="1.0" encoding="UTF-8"?> <tns1:Order xmlns:tns1="www.sybase.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <tns1:AccountIdentifier>12345</tns1:AccountIdentifier> <tns1:OrderDate>7/26/05 1:18:22 PM</tns1:OrderDate> <tns1:MustDeliverBy>7/29/05 1:18:22 PM</tns1:MustDeliverBy> <tns1:Zipcode>80215</tns1:Zipcode> <tns1:OrderItems> <tns1:ProductIdentifier>234512</tns1:ProductIdentifier> <tns1:ProductDescription>Urban Sombrero</tns1:ProductDescription> <tns1:Price>5.99</tns1:Price> <tns1:Quantity>62</tns1:Quantity> </tns1:OrderItems> <tns1:OrderItems> <tns1:ProductIdentifier>234533</tns1:ProductIdentifier> <tns1:ProductDescription>Magic Slippers</tns1:ProductDescription> <tns1:Price>25.99</tns1:Price> <tns1:Quantity>2</tns1:Quantity> </tns1:OrderItems> <tns1:OrderItems> <tns1:ProductIdentifier>512</tns1:ProductIdentifier> <tns1:ProductDescription>Taser</tns1:ProductDescription> <tns1:Price>445.99</tns1:Price> <tns1:Quantity>1</tns1:Quantity> </tns1
 :OrderItems> <tns1:OrderItems> <tns1:ProductIdentifier>212</tns1:ProductIdentifier> <tns1:ProductDescription>Gold Pinkie Ring</tns1:ProductDescription> <tns1:Price>95.00</tns1:Price> <tns1:Quantity>1</tns1:Quantity> </tns1:OrderItems> <tns1:OrderItems> <tns1:ProductIdentifier>887788</tns1:ProductIdentifier> <tns1:ProductDescription>Blue Suede Shoes</tns1:ProductDescription> <tns1:Price>65.99</tns1:Price> <tns1:Quantity>2</tns1:Quantity> </tns1:OrderItems> </tns1:Order>

Added: incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/dataLIS_1.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/dataLIS_1.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/dataLIS_1.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/dataLIS_1.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,15 @@
+# Test BPEL links within a swith statement
+# Expected result = Event Start Test2.1 -> throw testFault -> caught testFault -> process complete
+
+# Note the prefix on the part name identifies the message type ( xml = xml data; str = string data )
+
+target.name.space=urn:sybase:bpel:testLinkInSwitch
+port.type=testLISPT
+operation=request
+
+part1=str.requestID
+part2=str.requestText
+
+str.requestID=Start TestLIS.1
+str.requestText=case1
+

Added: incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/dataLIS_2.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/dataLIS_2.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/dataLIS_2.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/dataLIS_2.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,15 @@
+# Test BPEL links within a swith statement
+# Expected result = Event Start Test2.1 -> throw testFault -> caught testFault -> process complete
+
+# Note the prefix on the part name identifies the message type ( xml = xml data; str = string data )
+
+target.name.space=urn:sybase:bpel:testLinkInSwitch
+port.type=testLISPT
+operation=request
+
+part1=str.requestID
+part2=str.requestText
+
+str.requestID=Start TestLIS.2
+str.requestText=case2
+

Added: incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/dataLIS_3.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/dataLIS_3.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/dataLIS_3.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/dataLIS_3.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,15 @@
+# Test BPEL links within a swith statement
+# Expected result = Event Start Test2.1 -> throw testFault -> caught testFault -> process complete
+
+# Note the prefix on the part name identifies the message type ( xml = xml data; str = string data )
+
+target.name.space=urn:sybase:bpel:testLinkInSwitch
+port.type=testLISPT
+operation=request
+
+part1=str.requestID
+part2=str.requestText
+
+str.requestID=Start TestLIS.3
+str.requestText=otherwise
+

Added: incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/testLinkInSwitch.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/testLinkInSwitch.bpel?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/testLinkInSwitch.bpel (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/testLinkInSwitch.bpel Tue Feb 28 08:02:48 2006
@@ -0,0 +1,211 @@
+<process name="testLinkInSwitch" 
+         targetNamespace="urn:sybase:bpel:testLinkInSwitch"
+         xmlns:tns="urn:sybase:bpel:testLinkInSwitch"
+         suppressJoinFailure="yes"
+         xmlns:prb="urn:sybase:bpel:testProbe"
+         xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+<!-- test links within a switch statement -->
+
+  <partnerLinks>
+	<partnerLink name="request" partnerLinkType="tns:testLISRequest" myRole="testLISService"/>
+	<partnerLink name="probe" partnerLinkType="tns:probeRequest" partnerRole="probeService"/>
+  </partnerLinks>
+
+  <variables>
+    <variable name="request" 
+               messageType="tns:requestMessage"/>
+    <variable name="probeInput" 
+               messageType="prb:probeMessage"/>
+    <variable name="reply" 
+               messageType="tns:replyMessage"/>
+   </variables>
+
+  <sequence>
+	  <flow>
+	    <links>
+	      <link name="receive-to-assign1"/>
+	      <link name="case1-to-end"/>
+	      <link name="case2-to-end"/>
+	      <link name="otherwise-to-end"/>
+	    </links>
+
+	    	<receive name="receive1" partnerLink="request"
+	             portType="tns:testLISPT" 
+	             operation="request" variable="request"
+	             createInstance="yes">
+	         <source linkName="receive-to-assign1"/>    
+	             
+	        </receive>
+     
+	      
+		<!-- Copy input variables to internal accumulators -->
+		<!-- After the copy the process splits into two execution paths -->
+		
+		<sequence name="sequence1">	 
+		  <target linkName="receive-to-assign1"/>
+    
+		
+	    <assign name="assign1">
+
+	      <copy>
+	        <from variable="request" part="requestText"/>
+	        <to variable="probeInput" part="probeName"/>
+	      </copy>
+	      <copy>
+	        <from variable="request" part="requestID"/>
+	        <to variable="probeInput" part="probeData"/>
+	      </copy>
+	    </assign> 
+	    
+	    	<invoke name="probe1" partnerLink="probe"
+	            portType="prb:probeMessagePT" 
+	            operation="probe"
+	            inputVariable="probeInput"  
+	            outputVariable="probeInput">
+	    	</invoke> 	
+
+	   		<assign name="assign2">
+	      		<copy>
+	        		<from expression="'test switch link'"/>
+	        		<to variable="probeInput" part="probeName"/>
+	      		</copy>
+			</assign> 
+
+	    	<invoke name="probe2" partnerLink="probe"
+	            portType="prb:probeMessagePT" 
+	            operation="probe"
+	            inputVariable="probeInput"  
+	            outputVariable="probeInput">
+	    	</invoke> 	 	    
+	
+
+	  <switch>
+	  	<case condition="getVariableData('request', 'requestText') = 'case1'">
+		  <sequence name="case1">
+			<source linkName="case1-to-end"/>
+	  		<assign name="switch-case1">
+	  			<copy>
+	  				<from expression="'switch-case1'"/>
+	  				<to variable="probeInput" part="probeName"/>
+	  			</copy>
+	      	 </assign>
+	  			<invoke name="probe3" partnerLink="probe" 
+	            	portType="prb:probeMessagePT" 
+	            	operation="probe"
+	            	inputVariable="probeInput"  
+	            	outputVariable="probeInput">
+	  			</invoke>
+	  	  </sequence>
+	  	</case>
+	  	<case condition="getVariableData('request', 'requestText') = 'case2'">
+			<sequence name="case2">
+			<source linkName="case2-to-end"/>
+	  		  <assign name="switch-case2">
+	  			<copy>
+	  				<from expression="'switch-case2'"/>
+	  				<to variable="probeInput" part="probeName"/>
+	  			</copy>
+	      	 </assign>
+	  			<invoke name="probe4" partnerLink="probe" 
+	            	portType="prb:probeMessagePT" 
+	            	operation="probe"
+	            	inputVariable="probeInput"  
+	            	outputVariable="probeInput">
+	  			</invoke>
+	  		  
+	  		</sequence>
+	  	</case>
+	  	<otherwise>
+			<sequence name="otherwise">
+			<source linkName="otherwise-to-end"/>
+	  		  <assign name="switch-otherwise">
+	  			<copy>
+	  				<from expression="'switch-otherwise'"/>
+	  				<to variable="probeInput" part="probeName"/>
+	  			</copy>
+	      	 </assign>
+	  			<invoke name="probe5" partnerLink="probe" 
+	            	portType="prb:probeMessagePT" 
+	            	operation="probe"
+	            	inputVariable="probeInput"  
+	            	outputVariable="probeInput">
+	  			</invoke>
+	  		  
+	  		</sequence>	  	
+	  	</otherwise>	  
+	  </switch>
+	  </sequence>
+	  
+	  <sequence name="case-target-sequence">
+	  	<target linkName="case1-to-end"/>
+	  	<target linkName="case2-to-end"/>
+	  <assign name="case-message">
+	  	<copy>
+	  		<from expression="'known-message'"/>
+	  		<to variable="probeInput" part="probeName"/>
+	  	</copy>
+	  </assign>
+
+	  <invoke name="probe6" partnerLink="probe" 
+	            portType="prb:probeMessagePT" 
+	            operation="probe"
+	            inputVariable="probeInput"  
+	            outputVariable="probeInput">
+	  </invoke>
+	  </sequence>
+	  
+	  <sequence name="otherwise-target-sequence">
+	  	<target linkName="otherwise-to-end"/>	  
+	  <assign name="otherwise-message">
+	  	<copy>
+	  		<from expression="'unknown-message'"/>
+	  		<to variable="probeInput" part="probeName"/>
+	  	</copy>
+	  </assign>
+
+	  <invoke name="probe7" partnerLink="probe" 
+	            portType="prb:probeMessagePT" 
+	            operation="probe"
+	            inputVariable="probeInput"  
+	            outputVariable="probeInput">
+	  </invoke>
+	  </sequence>
+	  
+	  </flow>
+
+
+	  <!-- copy internal accumulators to the reply message -->
+
+	   	<assign name="assign-complete">
+	      	<copy>
+	        	<from expression="'testLinkInSwitch complete'"/>
+	        	<to variable="probeInput" part="probeName"/>
+	      	</copy>
+		</assign> 
+	    
+	    <invoke name="probe8" partnerLink="probe"
+	            portType="prb:probeMessagePT" 
+	            operation="probe"
+	            inputVariable="probeInput"  
+	            outputVariable="probeInput">
+	    </invoke>
+
+	  <assign name="assign-reply">
+	      <copy>
+	        <from variable="probeInput" part="probeName"/>
+	        <to variable="reply" part="replyID"/>
+	      </copy>
+	      <copy>
+	        <from variable="probeInput" part="probeData"/>
+	        <to variable="reply" part="replyText"/>
+	      </copy>
+	  </assign> 
+	    
+	  <reply name="reply" partnerLink="request" portType="tns:testLISPT" 
+	           operation="request" variable="reply"> 
+	  </reply>
+
+	</sequence>  
+
+</process>

Added: incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/testLinkInSwitch.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/testLinkInSwitch.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/testLinkInSwitch.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/testLinkInSwitch.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,47 @@
+<!-- The public service interface for test1.bpel -->
+
+<definitions 
+      targetNamespace="urn:sybase:bpel:testLinkInSwitch"
+	xmlns:tns="urn:sybase:bpel:testLinkInSwitch"
+      xmlns:prb="urn:sybase:bpel:testProbe"
+      xmlns="http://schemas.xmlsoap.org/wsdl/"
+	xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"      
+      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+      xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+    
+  <import namespace="urn:sybase:bpel:testProbe"
+          location="bpelTests/probeService/probeService.wsdl"/>
+          
+   <message name="requestMessage">
+     <part name="requestID" type="xsd:string"/>
+     <part name="requestText" type="xsd:string"/>
+   </message>
+   
+   <message name="replyMessage">
+     <part name="replyID" type="xsd:string"/>
+     <part name="replyText" type="xsd:string"/>
+   </message>
+
+   <!-- portType supported by the test2 process -->
+
+   <portType name="testLISPT">
+      <operation name="request">
+         <input message="requestMessage"/>
+         <output message="replyMessage"/>
+      </operation>
+   </portType>
+
+   <plnk:partnerLinkType name="testLISRequest">
+	<plnk:role name="testLISService">
+		<plnk:portType name="testLISPT"/>
+	</plnk:role>
+   </plnk:partnerLinkType>
+
+   <plnk:partnerLinkType name="probeRequest">
+	<plnk:role name="probeService">
+		<plnk:portType name="prb:probeMessagePT"/>
+	</plnk:role>
+   </plnk:partnerLinkType>
+   
+
+</definitions>

Added: incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/testLinkInSwitch.xml
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/testLinkInSwitch.xml?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/testLinkInSwitch.xml (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLinkInSwitch/testLinkInSwitch.xml Tue Feb 28 08:02:48 2006
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<BPEBinding xmlns="http://sybase.com/bpe/binding/bpe" xmlns:prb="urn:sybase:bpel:testProbe">
+	<ActionBindings>
+		<binding  name="BPEBinding1" nameSpace="urn:sybase:bpel:testProbe" portType="probeMessagePT">
+			<operation name="probe">
+				<action implementation="com.sybase.bpe.action.external.ProbeAction" prb:rootSourcePart="probeName" prb:targetPart="probeData"/>
+			</operation>
+		</binding>
+	</ActionBindings>
+</BPEBinding>

Added: incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvoke.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvoke.bpel?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvoke.bpel (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvoke.bpel Tue Feb 28 08:02:48 2006
@@ -0,0 +1,53 @@
+<process name="localInvokeProcess" 
+	targetNamespace="urn:sybase:bpel:localInvokeProcessing"
+	xmlns:tns="urn:sybase:bpel:localInvokeProcessing"
+	xmlns:ts="urn:sybase:bpel:testLocalInvoke"
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	suppressJoinFailure="yes"
+	xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+	<partnerLinks>
+		<partnerLink name="testLink" partnerLinkType="localInvokeRequest" myRole="localInvokeService"/>
+		<partnerLink name="testLink2" partnerLinkType="localInvokeRequest" myRole="localInvokeService"/>
+	</partnerLinks>
+
+	<variables>
+		<variable name="request" 
+		messageType="tns:requestMessage"/>
+		<variable name="reply" 
+		messageType="tns:replyMessage"/>
+		<variable name="testin" 
+		messageType="ts:testMessage"/>
+		<variable name="testout" 
+		messageType="ts:testMessage"/>
+	</variables>
+	<sequence>
+		<receive name="receive1" partnerLink="testLink"
+			portType="tns:localInvokePT" 
+			operation="request" variable="request"
+			createInstance="yes">
+		</receive>
+		<!-- the test invoke -->
+		<assign name="BP112170670947414">
+          		<copy>
+            			<from expression="'A value here'"/>
+            			<to part="testText" variable="testin"/>
+          		</copy>
+        	</assign>
+	    	<invoke name="test" partnerLink="testLink"
+	            portType="ts:localInvokeMessagePT" 
+	            operation="test"
+	            inputVariable="testin"  
+	            outputVariable="testout">
+	    </invoke> 
+	    <assign name="assign">
+		<copy>
+			<from variable="testout" part="testText"/>
+			<to variable="reply" part="replyText"/>
+		</copy>
+	</assign>
+		<reply name="reply" partnerLink="testLink2" portType="tns:localInvokePT2" 
+			operation="request" variable="reply"> 
+		</reply>
+	</sequence>
+</process>

Added: incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvoke.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvoke.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvoke.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvoke.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,68 @@
+<!-- The public service interface for localInvoke.bpel -->
+
+<definitions 
+      targetNamespace="urn:sybase:bpel:localInvokeProcessing"
+	xmlns:tns="urn:sybase:bpel:localInvokeProcessing"
+	xmlns:typens="urn:sybase:bpel:localInvokeProcessing:types"
+      xmlns="http://schemas.xmlsoap.org/wsdl/"
+	xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"      
+      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	xmlns:ts="urn:sybase:bpel:testLocalInvoke"
+      xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+	<import namespace="urn:sybase:bpel:testLocalInvoke"
+  		  location="bpelTests/testLocalInvoke/localInvokeService.wsdl"/>
+    
+  <!-- type defs -->
+  <types>
+    <xsd:schema
+      targetNamespace="urn:sybase:bpel:localInvokeProcessing:types"
+                xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+      <xsd:complexType name="testMessage">
+        <xsd:sequence>
+          <xsd:element name="wait" type="xsd:string"/>
+          <xsd:element name="onAlarm" type="xsd:string"/>
+        </xsd:sequence>
+      </xsd:complexType>
+   </xsd:schema>
+  </types>
+  
+	<bpws:property name="reply" type="xsd:string"/>
+  	<bpws:propertyAlias propertyName="tns:wait" messageType="tns:replyMessage" part="requestMessageData"/>
+
+  <bpws:property name="wait" type="xsd:string"/>
+  <bpws:propertyAlias propertyName="tns:wait" messageType="tns:requestMessage" part="requestMessageData" query="/testMessage/wait"/>
+
+  <bpws:property name="onAlarm" type="xsd:string"/>
+  <bpws:propertyAlias propertyName="tns:onAlarm" messageType="tns:requestMessage" part="requestMessageData" query="/testMessage/onAlarm"/>
+
+   <message name="requestMessage">
+     <part name="requestMessageData" type="typens:testMessage"/>
+   </message>
+   
+   <message name="replyMessage">
+     <part name="replyText" type="xsd:string"/>
+   </message>
+
+   <!-- portType supported by the process -->
+   <portType name="localInvokePT">
+      <operation name="request">
+         <input message="requestMessage"/>
+      </operation>
+   </portType>
+   
+   <portType name="localInvokePT2">
+      <operation name="request">
+         <input message="requestMessage"/>
+         <output message="replyText"/>
+      </operation>
+   </portType>
+
+   <plnk:partnerLinkType name="localInvokeRequest">
+	<plnk:role name="localInvokeService">
+		<plnk:portType name="localInvokePT"/>
+	</plnk:role>
+   </plnk:partnerLinkType>
+
+</definitions>

Added: incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvoke.xml
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvoke.xml?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvoke.xml (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvoke.xml Tue Feb 28 08:02:48 2006
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<BPEBinding xmlns="http://sybase.com/bpe/binding/bpe" xmlns:tli="urn:sybase:bpel:testLocalInvoke">
+	<ActionBindings>
+		<binding  name="BPEBinding1" nameSpace="urn:sybase:bpel:testLocalInvoke" portType="localInvokeMessagePT">
+			<operation name="test">
+				<action implementation="com.sybase.bpe.action.external.LocalInvokeTestAction" tli:targetPart="testText"/>
+			</operation>
+		</binding>
+	</ActionBindings>
+</BPEBinding>

Added: incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvoke1.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvoke1.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvoke1.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvoke1.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,7 @@
+target.name.space=urn:sybase:bpel:localInvokeProcessing
+port.type=localInvokePT
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><wait>PT7S</wait><onAlarm>PT3S</onAlarm></testMessage>

Added: incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvokeService.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvokeService.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvokeService.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/localInvokeService.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,23 @@
+<?xml version="1.0" ?>
+
+<definitions targetNamespace="urn:sybase:bpel:testLocalInvoke"
+             xmlns:tns="urn:sybase:bpel:testLocalInvoke"
+             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+             xmlns="http://schemas.xmlsoap.org/wsdl/">
+
+
+   <message name="testMessage">
+	   <part name="testText" type="xsd:string"/>
+   </message>
+
+  <!-- port type declns -->
+  <portType name="localInvokeMessagePT">
+      <operation name="test">
+         <input name="in" message="tns:testMessage"/>
+	 <output name="out" message="tns:testMessage"/>
+      </operation>
+
+  </portType>
+
+</definitions>
+

Added: incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/simple.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/simple.bpel?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/simple.bpel (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/simple.bpel Tue Feb 28 08:02:48 2006
@@ -0,0 +1,34 @@
+<process name="simpleProcess" 
+         targetNamespace="urn:sybase:bpel:simpleProcessing"
+         xmlns:tns="urn:sybase:bpel:simpleProcessing"
+         suppressJoinFailure="yes"
+         xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+  <partnerLinks>
+	<partnerLink name="request" partnerLinkType="tns:simpleRequest" myRole="simpleService"/>
+  </partnerLinks>
+
+  <variables>
+    <variable name="request" 
+               messageType="tns:requestMessage"/>
+    <variable name="reply" 
+               messageType="tns:replyMessage"/>
+  </variables>
+
+  <sequence>
+	    <receive name="receive1" partnerLink="request"
+	             portType="tns:simplePT" 
+	             operation="request" variable="request"
+	             createInstance="yes">
+	    </receive>
+	    <assign name="assign1">
+	      <copy>
+	        <from expression="'test'"/>
+	        <to variable="reply" part="test"/>
+	      </copy>
+	    </assign>   
+	  <reply name="reply" partnerLink="request" portType="tns:simplePT" 
+	           operation="request" variable="reply"> 
+	  </reply>
+  </sequence>
+</process>

Added: incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/simple.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/simple.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/simple.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/simple.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,6 @@
+target.name.space=urn:sybase:bpel:simpleProcessing
+port.type=simplePT
+operation=request
+part1=str.test
+str.test=test
+

Added: incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/simple.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/simple.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/simple.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLocalInvoke/simple.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,34 @@
+<!-- The public service interface for simple.bpel -->
+
+<definitions 
+      targetNamespace="urn:sybase:bpel:simpleProcessing"
+	xmlns:tns="urn:sybase:bpel:simpleProcessing"
+	xmlns:typens="urn:sybase:bpel:simpleProcessing:types"
+      xmlns="http://schemas.xmlsoap.org/wsdl/"
+	xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"      
+      xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+   <message name="requestMessage">
+     <part name="test" type="xsd:string"/>
+   </message>
+   
+   <message name="replyMessage">
+     <part name="test" type="xsd:string"/>
+   </message>
+
+   <!-- portType supported by the simple process -->
+
+   <portType name="simplePT">
+      <operation name="request">
+         <input message="requestMessage"/>
+         <output message="replyMessage"/>
+      </operation>
+   </portType>
+
+   <plnk:partnerLinkType name="simpleRequest">
+	<plnk:role name="simpleService">
+		<plnk:portType name="simplePT"/>
+	</plnk:role>
+   </plnk:partnerLinkType>
+
+</definitions>

Added: incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/data1.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/data1.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/data1.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/data1.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+target.name.space=urn:sybase:bpel:testLoopedCompensationProcessing
+port.type=testLoopedCompensationPT
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><id1>testCorrl</id1><id2>corrl1</id2></testMessage>
+

Added: incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/data2.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/data2.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/data2.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/data2.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+target.name.space=urn:sybase:bpel:testLoopedCompensationProcessing
+port.type=testLoopedCompensationPT
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><id1>testCorrl</id1><id2>corrl2</id2></testMessage>
+

Added: incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/data3.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/data3.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/data3.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/data3.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+target.name.space=urn:sybase:bpel:testLoopedCompensationProcessing
+port.type=testLoopedCompensationPT
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><id1>testCorrl</id1><id2>corrl2</id2></testMessage>
+

Added: incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/testLoopedCompensation.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/testLoopedCompensation.bpel?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/testLoopedCompensation.bpel (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/testLoopedCompensation.bpel Tue Feb 28 08:02:48 2006
@@ -0,0 +1,79 @@
+<process name="testLoopedCompensationProcess" 
+         targetNamespace="urn:sybase:bpel:testLoopedCompensationProcessing"
+         xmlns:tns="urn:sybase:bpel:testLoopedCompensationProcessing"
+         suppressJoinFailure="yes"
+         xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+<!-- test looped compensation handlers -->
+<!-- turn on logging to watch the looped compensation -->
+
+  <partnerLinks>
+	<partnerLink name="request" partnerLinkType="testLoopedCompensationRequest" myRole="testLoopedCompensationService"/>
+  </partnerLinks>
+
+  <variables>
+    <variable name="request" 
+               messageType="tns:requestMessage"/>
+    <variable name="reply" 
+               messageType="tns:replyMessage"/>
+    <variable name="counter" 
+               messageType="tns:counter"/>
+  </variables>
+
+	<faultHandlers>
+		<catchAll>
+		   <sequence>
+			<compensate scope="ScopOne"/>
+	  		<reply name="reply" partnerLink="request" 
+				portType="tns:testLoopedCompensationPT" 
+	           		operation="request" variable="reply"> 
+	  		</reply>
+		   </sequence>
+		</catchAll>
+	</faultHandlers>
+
+  <sequence>
+	    
+	    <receive name="receive1" partnerLink="request"
+	             portType="tns:testLoopedCompensationPT" 
+	             operation="request" variable="request"
+	             createInstance="yes">
+	    </receive>
+	<assign name="assign">
+		<copy>
+	      		<from expression="'junk'"/>
+	     		<to variable="reply" part="replyText"/>
+	    	</copy>
+		<copy>
+	      		<from expression="'0'"/>
+	     		<to variable="counter" part="counter"/>
+	    	</copy>
+	</assign>
+	<while condition="getVariableData('counter','counter') &lt; 5">
+	   <sequence>
+		<assign name="while-increment">
+	  		<copy>
+	 			<from expression="getVariableData('counter','counter') + 1"/>
+	 			<to variable="counter" part="counter"/>
+	  		 </copy>
+		</assign>
+	    <scope name="ScopeOne">
+		<compensationHandler>
+			<sequence>
+	  			<assign name="assign">
+	      				<copy>
+	        				<from expression="'junk'"/>
+	        				<to variable="counter" part="counter"/>
+	      				</copy>
+				</assign>
+			</sequence>
+		</compensationHandler>
+		<sequence>
+		 	<empty/>
+		</sequence>
+	    </scope>
+	  </sequence>
+	</while>
+ 	<throw faultName="tns:fault"/> 
+  </sequence>
+</process>

Added: incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/testLoopedCompensation.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/testLoopedCompensation.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/testLoopedCompensation.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation/testLoopedCompensation.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,57 @@
+<!-- The public service interface for testLoopedCompensation.bpel -->
+
+<definitions 
+      targetNamespace="urn:sybase:bpel:testLoopedCompensationProcessing"
+	xmlns:tns="urn:sybase:bpel:testLoopedCompensationProcessing"
+	xmlns:typens="urn:sybase:bpel:testLoopedCompensationProcessing:types"
+      xmlns="http://schemas.xmlsoap.org/wsdl/"
+	xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"      
+      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+      xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+  <!-- type defs -->
+  <types>
+    <xsd:schema
+      targetNamespace="urn:sybase:bpel:testLoopedCompensationProcessing:types"
+                xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+      <xsd:complexType name="testMessage">
+        <xsd:sequence>
+          <xsd:element name="id1" type="xsd:string"/>
+          <xsd:element name="id2" type="xsd:string"/>
+        </xsd:sequence>
+      </xsd:complexType>
+   </xsd:schema>
+  </types>
+
+  <bpws:property name="id1" type="xsd:string"/>
+  <bpws:propertyAlias propertyName="tns:id1" messageType="tns:requestMessage" part="requestMessageData" query="/testMessage/id1"/>
+  <bpws:property name="id2" type="xsd:string"/>
+  <bpws:propertyAlias propertyName="tns:id2" messageType="tns:requestMessage" part="requestMessageData" query="/testMessage/id2"/>
+
+   <message name="requestMessage">
+     <part name="requestMessageData" type="typens:testMessage"/>
+   </message>
+   
+   <message name="replyMessage">
+     <part name="replyText" type="xsd:string"/>
+   </message>
+   
+    <message name="counter">
+     <part name="counter" type="xsd:string"/>
+   </message>
+
+   <portType name="testLoopedCompensationPT">
+      <operation name="request">
+         <input message="requestMessage"/>
+         <output message="replyMessage"/>
+      </operation>
+   </portType>
+
+   <plnk:partnerLinkType name="testLoopedCompensationRequest">
+	<plnk:role name="testLoopedCompensationService">
+		<plnk:portType name="testLoopedCompensationPT"/>
+	</plnk:role>
+   </plnk:partnerLinkType>
+
+</definitions>

Added: incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPAppenderService.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPAppenderService.bpel?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPAppenderService.bpel (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPAppenderService.bpel Tue Feb 28 08:02:48 2006
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpel:process xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns0="http://www.w3.org/2001/XMLSchema" xmlns:ns1="test.sybase.com" xmlns:tns="urn:mycompany:/comploop/BPAppenderService" name="BPAppenderService" targetNamespace="urn:mycompany:/comploop/BPAppenderService">
+  <bpel:partnerLinks>
+    <bpel:partnerLink name="BPAppenderServiceReceive1PL" partnerLinkType="tns:BPAppenderServicePLType"/>
+    <bpel:partnerLink name="BPAppenderServiceReceive2PL" partnerLinkType="tns:BPAppenderServicePLType"/>
+    <bpel:partnerLink name="BPAppenderServiceReceive3PL" partnerLinkType="tns:BPAppenderServicePLType"/>
+  </bpel:partnerLinks>
+  <bpel:scope name="ID112499773412895">
+    <bpel:variables>
+      <bpel:variable messageType="tns:startRequest" name="BP11249977341449"/>
+      <bpel:variable messageType="tns:appendRequest" name="BP112499781012810"/>
+      <bpel:variable messageType="tns:getValRequest" name="BP112499782251911"/>
+      <bpel:variable messageType="tns:getValResponse" name="BP112499782255012"/>
+      <bpel:variable name="counter" type="ns0:integer"/>
+      <bpel:variable name="appenderVar" type="ns0:string"/>
+    </bpel:variables>
+    <bpel:correlationSets>
+      <bpel:correlationSet name="CorrelationSet1" properties="tns:CorrelationSet1CorrelationSetVariable1"/>
+    </bpel:correlationSets>
+    <bpel:flow>
+      <bpel:sequence>
+        <bpel:receive name="ID112499773414498" createInstance="yes" operation="start" partnerLink="BPAppenderServiceReceive1PL" portType="tns:BPAppenderService" variable="BP11249977341449">
+          <bpel:correlations>
+            <bpel:correlation initiate="yes" set="CorrelationSet1"/>
+          </bpel:correlations>
+        </bpel:receive>
+        <bpel:assign name="BP112500049384915">
+          <bpel:copy>
+            <bpel:from expression="'AppendVar:'"/>
+            <bpel:to variable="appenderVar"/>
+          </bpel:copy>
+        </bpel:assign>
+        <bpel:scope name="ID1124997776425103">
+          <bpel:faultHandlers>
+            <bpel:catch faultName="tns:BreakLoopException">
+              <bpel:empty/>
+            </bpel:catch>
+          </bpel:faultHandlers>
+          <bpel:sequence>
+            <bpel:assign>
+              <bpel:copy>
+                <bpel:from expression="'1'"/>
+                <bpel:to variable="counter"/>
+              </bpel:copy>
+            </bpel:assign>
+            <bpel:while condition="getVariableData('counter') = 1">
+              <bpel:sequence>
+                <bpel:flow>
+                  <bpel:links>
+                    <bpel:link name="Loop-To-EventXorSplit-Link1"/>
+                  </bpel:links>
+                  <bpel:sequence>
+                    <bpel:source linkName="Loop-To-EventXorSplit-Link1"/>
+                    <bpel:empty/>
+                  </bpel:sequence>
+                  <bpel:pick createInstance="no">
+                    <bpel:target linkName="Loop-To-EventXorSplit-Link1"/>
+                    <bpel:onMessage operation="append" partnerLink="BPAppenderServiceReceive2PL" portType="tns:BPAppenderService" variable="BP112499781012810">
+                      <bpel:correlations>
+                        <bpel:correlation initiate="no" set="CorrelationSet1"/>
+                      </bpel:correlations>
+                      <bpel:sequence>
+                        <bpel:assign name="BP112499785667613">
+                          <bpel:copy>
+                            <bpel:from expression="concat(getVariableData('appenderVar'), getVariableData('BP112499781012810', 'str', '/ns1:simpleString'))"/>
+                            <bpel:to variable="appenderVar"/>
+                          </bpel:copy>
+                        </bpel:assign>
+                      </bpel:sequence>
+                    </bpel:onMessage>
+                    <bpel:onMessage operation="getVal" partnerLink="BPAppenderServiceReceive3PL" portType="tns:BPAppenderService" variable="BP112499782251911">
+                      <bpel:correlations>
+                        <bpel:correlation initiate="no" set="CorrelationSet1"/>
+                      </bpel:correlations>
+                      <bpel:sequence>
+                        <bpel:assign name="BP112499786617614">
+                          <bpel:copy>
+                            <bpel:from variable="appenderVar"/>
+                            <bpel:to part="val" query="/ns1:simpleString" variable="BP112499782255012"/>
+                          </bpel:copy>
+                        </bpel:assign>
+                        <bpel:reply name="ID1124997822550112" operation="getVal" partnerLink="BPAppenderServiceReceive3PL" portType="tns:BPAppenderService" variable="BP112499782255012"/>
+                        <bpel:throw faultName="tns:BreakLoopException"/>
+                      </bpel:sequence>
+                    </bpel:onMessage>
+                  </bpel:pick>
+                </bpel:flow>
+                <bpel:assign>
+                  <bpel:copy>
+                    <bpel:from expression="getVariableData('counter') + 0"/>
+                    <bpel:to variable="counter"/>
+                  </bpel:copy>
+                </bpel:assign>
+              </bpel:sequence>
+            </bpel:while>
+          </bpel:sequence>
+        </bpel:scope>
+      </bpel:sequence>
+    </bpel:flow>
+  </bpel:scope>
+</bpel:process>
\ No newline at end of file

Added: incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPAppenderService.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPAppenderService.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPAppenderService.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPAppenderService.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="" targetNamespace="urn:mycompany:/comploop/BPAppenderService" xmlns:tns="urn:mycompany:/comploop/BPAppenderService" xmlns:ns0="test.sybase.com" xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns1="test.sybase.com" xmlns:format="http://schemas.xmlsoap.org/wsdl/formatbinding/" xmlns:bpe="urn:sybase:bpe">
+  <wsdl:types>
+    <xsd:schema targetNamespace="test.sybase.com" xmlns="test.sybase.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:element name="simpleString" type="xsd:string"/>
+</xsd:schema>
+  </wsdl:types>
+  <wsdl:message name="getValRequest">
+    <wsdl:part name="corrl" element="ns0:simpleString"/>
+  </wsdl:message>
+  <wsdl:message name="getValResponse">
+    <wsdl:part name="val" element="ns0:simpleString"/>
+  </wsdl:message>
+  <wsdl:message name="appendRequest">
+    <wsdl:part name="corrl" element="ns0:simpleString"/>
+    <wsdl:part name="str" element="ns0:simpleString"/>
+  </wsdl:message>
+  <wsdl:message name="startRequest">
+    <wsdl:part name="corrl" element="ns0:simpleString"/>
+  </wsdl:message>
+  <wsdl:portType name="BPAppenderService">
+    <wsdl:operation name="append">
+      <wsdl:input name="append" message="tns:appendRequest"/>
+    </wsdl:operation>
+    <wsdl:operation name="start">
+      <wsdl:input name="start" message="tns:startRequest"/>
+    </wsdl:operation>
+    <wsdl:operation name="getVal">
+      <wsdl:input name="getValRequest" message="tns:getValRequest"/>
+      <wsdl:output name="getValResponse" message="tns:getValResponse"/>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="/comploop/.BPAppenderService.bpmn" type="tns:BPAppenderService">
+    <sybbpe:binding xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/"/>
+    <wsdl:operation name="append">
+		<bpe:action implementation="com.sybase.bpe.action.external.BusinessProcessInvocationAction" OperationName="append" PortTypeName="BPAppenderService" PortName="BPAppenderServicePort" PortTypeNameSpace="urn:mycompany:/comploop/BPAppenderService"/>
+      <wsdl:input name="append">
+		<bpe:input part="corrl"/>
+		<bpe:input part="str"/>
+      </wsdl:input>
+    </wsdl:operation>
+    <wsdl:operation name="start">
+		<bpe:action implementation="com.sybase.bpe.action.external.BusinessProcessInvocationAction" OperationName="start" PortTypeName="BPAppenderService" PortName="BPAppenderServicePort" PortTypeNameSpace="urn:mycompany:/comploop/BPAppenderService"/>
+      <wsdl:input name="start">
+		<bpe:input part="corrl"/>
+      </wsdl:input>
+    </wsdl:operation>
+    <wsdl:operation name="getVal">
+		<bpe:action implementation="com.sybase.bpe.action.external.BusinessProcessInvocationAction" OperationName="getVal" PortTypeName="BPAppenderService" PortName="BPAppenderServicePort" PortTypeNameSpace="urn:mycompany:/comploop/BPAppenderService"/>
+      <wsdl:input name="getValRequest">
+		<bpe:input part="corrl"/>
+      </wsdl:input>
+      <wsdl:output name="getValResponse">
+		<bpe:output part="val"/>
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="BPAppenderService">
+    <wsdl:port name="/comploop/.BPAppenderService.bpmn" binding="tns:/comploop/.BPAppenderService.bpmn">
+    <sybres:address xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" resourceRef="/comploop/.BPAppenderService.bpmn.props"/>
+    </wsdl:port>
+  </wsdl:service>
+    <bpel:property name="CorrelationSet1CorrelationSetVariable1" type="xsd:string"/>
+    <bpel:propertyAlias messageType="tns:startRequest" part="corrl" propertyName="tns:CorrelationSet1CorrelationSetVariable1" query="/ns0:simpleString"/>
+    <bpel:propertyAlias messageType="tns:appendRequest" part="corrl" propertyName="tns:CorrelationSet1CorrelationSetVariable1" query="/ns0:simpleString"/>
+    <bpel:propertyAlias messageType="tns:getValRequest" part="corrl" propertyName="tns:CorrelationSet1CorrelationSetVariable1" query="/ns0:simpleString"/>
+</wsdl:definitions>

Added: incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPFaultService.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPFaultService.bpel?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPFaultService.bpel (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPFaultService.bpel Tue Feb 28 08:02:48 2006
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpel:process xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns0="test.sybase.com" xmlns:tns="urn:mycompany:/comploop/BPFaultService" name="BPFaultService" targetNamespace="urn:mycompany:/comploop/BPFaultService">
+  <bpel:partnerLinks>
+    <bpel:partnerLink name="BPFaultServiceReceive1PL" partnerLinkType="tns:BPFaultServicePLType"/>
+  </bpel:partnerLinks>
+  <bpel:scope name="ID112499730162517">
+    <bpel:variables>
+      <bpel:variable messageType="tns:operation1Request" name="BP11249973024380"/>
+      <bpel:variable messageType="tns:operation1Response" name="BP11249973204071"/>
+      <bpel:variable messageType="tns:newParameter3" name="BP11249973273912"/>
+    </bpel:variables>
+    <bpel:flow>
+      <bpel:sequence>
+        <bpel:receive name="ID112499730243820" createInstance="yes" operation="operation1" partnerLink="BPFaultServiceReceive1PL" portType="tns:BPFaultService" variable="BP11249973024380"/>
+        <bpel:assign name="BP11249973640473">
+          <bpel:copy>
+            <bpel:from part="newParameter1" query="/ns0:simpleString" variable="BP11249973024380"/>
+            <bpel:to part="newParameter2" query="/ns0:simpleString" variable="BP11249973204071"/>
+          </bpel:copy>
+        </bpel:assign>
+        <bpel:assign name="BP11249974019384">
+          <bpel:copy>
+            <bpel:from expression="'fault'"/>
+            <bpel:to part="newParameter3" query="/ns0:simpleString" variable="BP11249973273912"/>
+          </bpel:copy>
+        </bpel:assign>
+        <bpel:reply name="ID112499732039125" faultName="tns:newParameter3" operation="operation1" partnerLink="BPFaultServiceReceive1PL" portType="tns:BPFaultService" variable="BP11249973273912"/>
+      </bpel:sequence>
+    </bpel:flow>
+  </bpel:scope>
+</bpel:process>
\ No newline at end of file

Added: incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPFaultService.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPFaultService.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPFaultService.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPFaultService.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="" targetNamespace="urn:mycompany:/comploop/BPFaultService" xmlns:tns="urn:mycompany:/comploop/BPFaultService" xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns1="test.sybase.com" xmlns:format="http://schemas.xmlsoap.org/wsdl/formatbinding/" xmlns:bpe="urn:sybase:bpe">
+  <wsdl:types>
+    <xsd:schema targetNamespace="test.sybase.com" xmlns="test.sybase.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:element name="simpleString" type="xsd:string"/>
+</xsd:schema>
+  </wsdl:types>
+  <wsdl:message name="operation1Response">
+    <wsdl:part name="newParameter2" element="tns1:simpleString"/>
+  </wsdl:message>
+  <wsdl:message name="operation1Request">
+    <wsdl:part name="newParameter1" element="tns1:simpleString"/>
+  </wsdl:message>
+  <wsdl:message name="newParameter3">
+    <wsdl:part name="newParameter3" element="tns1:simpleString"/>
+  </wsdl:message>
+  <wsdl:portType name="BPFaultService">
+    <wsdl:operation name="operation1">
+      <wsdl:input name="operation1Request" message="tns:operation1Request"/>
+      <wsdl:output name="operation1Response" message="tns:operation1Response"/>
+      <wsdl:fault name="newParameter3" message="tns:newParameter3"/>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="/comploop/.BPFaultService.bpmn" type="tns:BPFaultService">
+    <sybbpe:binding xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/"/>
+    <wsdl:operation name="operation1">
+		<bpe:action implementation="com.sybase.bpe.action.external.BusinessProcessInvocationAction" OperationName="operation1" PortTypeName="BPFaultService" PortName="BPFaultServicePort" PortTypeNameSpace="urn:mycompany:/comploop/BPFaultService"/>
+      <wsdl:input name="operation1Request">
+				<bpe:input part="val"/>
+      </wsdl:input>
+      <wsdl:output name="operation1Response">
+			<bpe:output part="val"/>
+      </wsdl:output>
+      <wsdl:fault name="newParameter3">
+      </wsdl:fault>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="BPFaultService">
+    <wsdl:port name="/comploop/.BPFaultService.bpmn" binding="tns:/comploop/.BPFaultService.bpmn">
+    <sybres:address xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" resourceRef="/comploop/.BPFaultService.bpmn.props"/>
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>

Added: incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPService.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPService.bpel?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPService.bpel (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPService.bpel Tue Feb 28 08:02:48 2006
@@ -0,0 +1,135 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpel:process xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns0="urn:mycompany:/comploop/BPAppenderService" xmlns:ns1="urn:mycompany:/comploop/BPFaultService" xmlns:ns2="http://www.w3.org/2001/XMLSchema" xmlns:ns3="test.sybase.com" xmlns:tns="urn:mycompany:/comploop/BPService" name="BPService" targetNamespace="urn:mycompany:/comploop/BPService">
+  <bpel:partnerLinks>
+    <bpel:partnerLink name="BPServiceReceive1PL" partnerLinkType="tns:BPServicePLType"/>
+    <bpel:partnerLink name="BPAppenderServicePL" partnerLinkType="tns:BPServicePLType"/>
+    <bpel:partnerLink name="BPFaultServicePL" partnerLinkType="tns:BPServicePLType"/>
+  </bpel:partnerLinks>
+  <bpel:scope name="ID1125001821388201">
+    <bpel:variables>
+      <bpel:variable messageType="tns:goRequest" name="BP112500182140416"/>
+      <bpel:variable messageType="tns:goResponse" name="BP112500186312317"/>
+      <bpel:variable messageType="ns0:startRequest" name="BP112500195871719"/>
+      <bpel:variable messageType="ns0:getValResponse" name="BP112500210342221"/>
+      <bpel:variable messageType="ns0:getValRequest" name="BP112500210342222"/>
+      <bpel:variable messageType="ns0:appendRequest" name="BP112500262383126"/>
+      <bpel:variable messageType="ns1:operation1Response" name="BP112500297772432"/>
+      <bpel:variable messageType="ns1:operation1Request" name="BP112500297772433"/>
+      <bpel:variable messageType="ns1:newParameter3" name="BP112500297778636"/>
+    </bpel:variables>
+    <bpel:flow>
+      <bpel:sequence>
+        <bpel:receive name="ID1125001821404204" createInstance="yes" operation="go" partnerLink="BPServiceReceive1PL" portType="tns:BPService" variable="BP112500182140416"/>
+        <bpel:assign name="BP112500193960818">
+          <bpel:copy>
+            <bpel:from part="in" variable="BP112500182140416"/>
+            <bpel:to part="corrl" variable="BP112500195871719"/>
+          </bpel:copy>
+        </bpel:assign>
+        <bpel:assign name="BP112500217154725">
+          <bpel:copy>
+            <bpel:from part="in" variable="BP112500182140416"/>
+            <bpel:to part="corrl" variable="BP112500210342222"/>
+          </bpel:copy>
+        </bpel:assign>
+        <bpel:assign name="BP112500268169128">
+          <bpel:copy>
+            <bpel:from part="in" variable="BP112500182140416"/>
+            <bpel:to part="corrl" variable="BP112500262383126"/>
+          </bpel:copy>
+        </bpel:assign>
+        <bpel:invoke name="ID1125001958717215" inputVariable="BP112500195871719" operation="start" partnerLink="BPAppenderServicePL" portType="ns0:BPAppenderService"/>
+        <bpel:scope name="ID1125002010077223">
+          <bpel:variables>
+            <bpel:variable name="counter" type="ns2:integer"/>
+          </bpel:variables>
+          <bpel:faultHandlers>
+            <bpel:catch faultName="ns1:newParameter3" faultVariable="BP112500297778636">
+              <bpel:compensate name="ID1125002929036322" scope="ID1125002223735253"/>
+            </bpel:catch>
+          </bpel:faultHandlers>
+          <bpel:flow>
+            <bpel:sequence>
+              <bpel:scope name="ID1125002204907250">
+                <bpel:faultHandlers>
+                  <bpel:catch faultName="tns:BreakLoopException">
+                    <bpel:empty/>
+                  </bpel:catch>
+                </bpel:faultHandlers>
+                <bpel:sequence>
+                  <bpel:assign>
+                    <bpel:copy>
+                      <bpel:from expression="'0'"/>
+                      <bpel:to variable="counter"/>
+                    </bpel:copy>
+                  </bpel:assign>
+                  <bpel:while condition="getVariableData('counter') &lt; 10">
+                    <bpel:sequence>
+                      <bpel:flow>
+                        <bpel:sequence>
+                          <bpel:scope name="ID1125002223735253">
+                            <bpel:compensationHandler>
+                              <bpel:flow>
+                                <bpel:sequence>
+                                  <bpel:assign name="BP112500277267630">
+                                    <bpel:copy>
+                                      <bpel:from part="in" variable="BP112500182140416"/>
+                                      <bpel:to part="corrl" variable="BP112500262383126"/>
+                                    </bpel:copy>
+                                  </bpel:assign>
+                                  <bpel:assign name="BP112500280808231">
+                                    <bpel:copy>
+                                      <bpel:from variable="counter"/>
+                                      <bpel:to part="str" query="/ns3:simpleString" variable="BP112500262383126"/>
+                                    </bpel:copy>
+                                  </bpel:assign>
+                                  <bpel:invoke name="ID1125002762723288" inputVariable="BP112500262383126" operation="append" partnerLink="BPAppenderServicePL" portType="ns0:BPAppenderService"/>
+                                </bpel:sequence>
+                              </bpel:flow>
+                            </bpel:compensationHandler>
+                            <bpel:flow>
+                              <bpel:sequence>
+                                <bpel:assign name="BP112500263226927">
+                                  <bpel:copy>
+                                    <bpel:from variable="counter"/>
+                                    <bpel:to part="str" query="/ns3:simpleString" variable="BP112500262383126"/>
+                                  </bpel:copy>
+                                </bpel:assign>
+                                <bpel:invoke name="ID1125002623831277" inputVariable="BP112500262383126" operation="append" partnerLink="BPAppenderServicePL" portType="ns0:BPAppenderService"/>
+                              </bpel:sequence>
+                            </bpel:flow>
+                          </bpel:scope>
+                        </bpel:sequence>
+                      </bpel:flow>
+                      <bpel:assign>
+                        <bpel:copy>
+                          <bpel:from expression="getVariableData('counter') + 1"/>
+                          <bpel:to variable="counter"/>
+                        </bpel:copy>
+                      </bpel:assign>
+                    </bpel:sequence>
+                  </bpel:while>
+                </bpel:sequence>
+              </bpel:scope>
+              <bpel:assign name="BP112500298789637">
+                <bpel:copy>
+                  <bpel:from part="in" query="/ns3:simpleString" variable="BP112500182140416"/>
+                  <bpel:to part="newParameter1" query="/ns3:simpleString" variable="BP112500297772433"/>
+                </bpel:copy>
+              </bpel:assign>
+              <bpel:invoke name="ID1125002977724324" inputVariable="BP112500297772433" operation="operation1" outputVariable="BP112500297772432" partnerLink="BPFaultServicePL" portType="ns1:BPFaultService"/>
+            </bpel:sequence>
+          </bpel:flow>
+        </bpel:scope>
+        <bpel:invoke name="ID1125002103422234" inputVariable="BP112500210342222" operation="getVal" outputVariable="BP112500210342221" partnerLink="BPAppenderServicePL" portType="ns0:BPAppenderService"/>
+        <bpel:assign name="BP112500204740620">
+          <bpel:copy>
+            <bpel:from part="val" variable="BP112500210342221"/>
+            <bpel:to part="out" variable="BP112500186312317"/>
+          </bpel:copy>
+        </bpel:assign>
+        <bpel:reply name="ID1125001863107209" operation="go" partnerLink="BPServiceReceive1PL" portType="tns:BPService" variable="BP112500186312317"/>
+      </bpel:sequence>
+    </bpel:flow>
+  </bpel:scope>
+</bpel:process>
\ No newline at end of file

Added: incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPService.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPService.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPService.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/BPService.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="" targetNamespace="urn:mycompany:/comploop/BPService" xmlns:tns="urn:mycompany:/comploop/BPService" xmlns:ns4="urn:mycompany:/comploop/BPAppenderService" xmlns:ns0="urn:mycompany:/comploop/BPAppenderService" xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/" xmlns:ns1="urn:mycompany:/comploop/BPAppenderService" xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns3="urn:mycompany:/comploop/BPAppenderService" xmlns:ns2="urn:mycompany:/comploop/BPFaultService" xmlns:tns1="test.sybase.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:format="http://schemas.xmlsoap.org/wsdl/formatbinding/">
+  <wsdl:import namespace="urn:mycompany:/comploop/BPFaultService" location="bpelTests/testLoopedCompensation2/BPFaultService.wsdl"/>
+  <wsdl:import namespace="urn:mycompany:/comploop/BPAppenderService" location="bpelTests/testLoopedCompensation2/BPAppenderService.wsdl"/>
+  <wsdl:types>
+    <xsd:schema targetNamespace="test.sybase.com" xmlns="test.sybase.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:element name="simpleString" type="xsd:string"/>
+</xsd:schema>
+  </wsdl:types>
+  <wsdl:message name="goResponse">
+    <wsdl:part name="out" element="tns1:simpleString"/>
+  </wsdl:message>
+  <wsdl:message name="goRequest">
+    <wsdl:part name="in" element="tns1:simpleString"/>
+  </wsdl:message>
+  <wsdl:portType name="BPService">
+    <wsdl:operation name="go">
+      <wsdl:input name="goRequest" message="tns:goRequest"/>
+      <wsdl:output name="goResponse" message="tns:goResponse"/>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="/comploop/.BPService.bpmn" type="tns:BPService">
+    <sybbpe:binding xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/"/>
+    <wsdl:operation name="go">
+      <wsdl:input name="goRequest">
+      </wsdl:input>
+      <wsdl:output name="goResponse">
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="BPService">
+    <wsdl:port name="/comploop/.BPService.bpmn" binding="tns:/comploop/.BPService.bpmn">
+    <sybres:address xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" resourceRef="/comploop/.BPService.bpmn.props"/>
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>

Added: incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/msg1.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/msg1.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/msg1.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testLoopedCompensation2/msg1.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+
+target.name.space=urn:mycompany:/comploop/BPService
+port.type=BPService
+operation=go
+
+part1=xml.in
+
+xml.in=<?xml version="1.0" encoding="UTF-8"?><ns1:simpleString xmlns:ns1="test.sybase.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">test</ns1:simpleString>

Added: incubator/ode/scratch/bpe/bpelTests/testNSDeploy/nSDeploy.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testNSDeploy/nSDeploy.bpel?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testNSDeploy/nSDeploy.bpel (added)
+++ incubator/ode/scratch/bpe/bpelTests/testNSDeploy/nSDeploy.bpel Tue Feb 28 08:02:48 2006
@@ -0,0 +1,33 @@
+<bpws:process name="nSDeployProcess" 
+	targetNamespace="urn:sybase:bpel:nSDeployProcessing"
+	xmlns:tns="urn:sybase:bpel:nSDeployProcessing"
+	suppressJoinFailure="yes"
+	xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+	<!-- test getVariableData -->
+
+	<bpws:partnerLinks>
+		<bpws:partnerLink name="request" partnerLinkType="nSDeployRequest" myRole="nSDeployService"/>
+	</bpws:partnerLinks>
+
+	<bpws:variables>
+		<bpws:variable name="request" messageType="tns:requestMessage"/>
+		<bpws:variable name="reply" messageType="tns:replyMessage"/>
+	</bpws:variables>
+	<bpws:sequence>
+		<bpws:receive name="receive1" partnerLink="request"
+			portType="tns:nSDeployPT" 
+			operation="request" variable="request"
+			createInstance="yes">
+		</bpws:receive>
+		<bpws:assign>
+			<bpws:copy>
+				<bpws:from variable="request" property="tns:wait"/>
+				<bpws:to variable="reply" part="replyText"/>
+			</bpws:copy>
+		</bpws:assign>    
+		<bpws:reply name="reply" partnerLink="request" portType="tns:nSDeployPT2" 
+			operation="request" variable="reply"> 
+		</bpws:reply>
+	</bpws:sequence>
+</bpws:process>

Added: incubator/ode/scratch/bpe/bpelTests/testNSDeploy/nSDeploy.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testNSDeploy/nSDeploy.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testNSDeploy/nSDeploy.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testNSDeploy/nSDeploy.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,7 @@
+target.name.space=urn:sybase:bpel:nSDeployProcessing
+port.type=nSDeployPT
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><wait>PT7S</wait><onAlarm>PT3S</onAlarm></testMessage>

Added: incubator/ode/scratch/bpe/bpelTests/testNSDeploy/nSDeploy.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testNSDeploy/nSDeploy.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testNSDeploy/nSDeploy.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testNSDeploy/nSDeploy.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,54 @@
+<!-- The public service interface for nSDeploy.bpel -->
+
+<definitions 
+      targetNamespace="urn:sybase:bpel:nSDeployProcessing"
+	xmlns:tns="urn:sybase:bpel:nSDeployProcessing"
+	xmlns:typens="urn:sybase:bpel:nSDeployProcessing:types"
+      xmlns="http://schemas.xmlsoap.org/wsdl/"
+	xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"      
+      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+      xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+    
+  <!-- type defs -->
+  <types>
+    <xsd:schema
+      targetNamespace="urn:sybase:bpel:nSDeployProcessing:types"
+                xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+      <xsd:complexType name="testMessage">
+        <xsd:sequence>
+          <xsd:element name="wait" type="xsd:string"/>
+          <xsd:element name="onAlarm" type="xsd:string"/>
+        </xsd:sequence>
+      </xsd:complexType>
+   </xsd:schema>
+  </types>
+
+  <bpws:property name="wait" type="xsd:string"/>
+  <bpws:propertyAlias propertyName="tns:wait" messageType="tns:requestMessage" part="requestMessageData" query="/testMessage/wait"/>
+
+  <bpws:property name="onAlarm" type="xsd:string"/>
+  <bpws:propertyAlias propertyName="tns:onAlarm" messageType="tns:requestMessage" part="requestMessageData" query="/testMessage/onAlarm"/>
+
+   <message name="requestMessage">
+     <part name="requestMessageData" type="typens:testMessage"/>
+   </message>
+   
+   <message name="replyMessage">
+     <part name="replyText" type="xsd:string"/>
+   </message>
+
+   <!-- portType supported by the process -->
+   <portType name="nSDeployPT">
+      <operation name="request">
+         <input message="requestMessage"/>
+      </operation>
+   </portType>
+
+   <plnk:partnerLinkType name="nSDeployRequest">
+	<plnk:role name="nSDeployService">
+		<plnk:portType name="nSDeployPT"/>
+	</plnk:role>
+   </plnk:partnerLinkType>
+
+</definitions>

Added: incubator/ode/scratch/bpe/bpelTests/testNestedSplits/NSBP.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testNestedSplits/NSBP.bpel?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testNestedSplits/NSBP.bpel (added)
+++ incubator/ode/scratch/bpe/bpelTests/testNestedSplits/NSBP.bpel Tue Feb 28 08:02:48 2006
@@ -0,0 +1,188 @@
+<?xml version="1.0" encoding="ASCII"?>
+<bpel:process xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns0="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:mycompany:/NestedSplits/NSBP.svc_bpmn" name="testnestedsplits" targetNamespace="urn:mycompany:/NestedSplits/NSBP.svc_bpmn">
+  <bpel:partnerLinks>
+    <bpel:partnerLink name="BPNameReceive1PL" partnerLinkType="tns:BPNamePLType"/>
+  </bpel:partnerLinks>
+  <bpel:scope name="ID110695322055525">
+    <bpel:variables>
+      <bpel:variable messageType="tns:Receive1Request" name="Receive1Request"/>
+      <bpel:variable messageType="tns:Receive1Request" name="reply"/>
+      <bpel:variable name="StringNum1" type="ns0:string"/>
+      <bpel:variable name="StringNum2" type="ns0:string"/>
+      <bpel:variable name="StringNum3" type="ns0:string"/>
+      <bpel:variable name="StringNum4" type="ns0:string"/>
+      <bpel:variable name="StringNum5" type="ns0:string"/>
+      <bpel:variable name="StringNum6" type="ns0:string"/>
+      <bpel:variable name="StringNum7" type="ns0:string"/>
+      <bpel:variable name="Holder" type="ns0:string"/>
+      <bpel:variable name="Test" type="ns0:string"/>
+      <bpel:variable name="StringNum8" type="ns0:string"/>
+      <bpel:variable name="StringNum9" type="ns0:string"/>
+    </bpel:variables>
+   <bpel:sequence>
+    <bpel:flow>
+      <bpel:links>
+        <bpel:link name="Begin-To-XorSplit-Link1"/>
+        <bpel:link name="XorSplit-To-XorSplit-Link2"/>
+        <bpel:link name="XorSplit-To-Join-Link3"/>
+        <bpel:link name="XorSplit-To-Join-Link4"/>
+        <bpel:link name="Join-To-Join-Link5"/>
+        <bpel:link name="XorSplit-To-XorSplit-Link6"/>
+        <bpel:link name="XorSplit-To-Join-Link7"/>
+        <bpel:link name="XorSplit-To-Join-Link8"/>
+        <bpel:link name="Join-To-Join-Link9"/>
+      </bpel:links>
+      <bpel:sequence name="sequence 1">
+        <bpel:source linkName="Begin-To-XorSplit-Link1"/>
+        <bpel:assign>
+          <bpel:copy>
+            <bpel:from expression="'number 1'"/>
+            <bpel:to variable="StringNum1"/>
+          </bpel:copy>
+          <bpel:copy>
+            <bpel:from expression="'number 2'"/>
+            <bpel:to variable="StringNum2"/>
+          </bpel:copy>
+          <bpel:copy>
+            <bpel:from expression="'string num 3'"/>
+            <bpel:to variable="StringNum3"/>
+          </bpel:copy>
+          <bpel:copy>
+            <bpel:from expression="'gogogoog'"/>
+            <bpel:to variable="StringNum4"/>
+          </bpel:copy>
+          <bpel:copy>
+            <bpel:from expression="'asdfffffffffff'"/>
+            <bpel:to variable="StringNum5"/>
+          </bpel:copy>
+          <bpel:copy>
+            <bpel:from expression="'walmart'"/>
+            <bpel:to variable="StringNum7"/>
+          </bpel:copy>
+          <bpel:copy>
+            <bpel:from expression="'bumber'"/>
+            <bpel:to variable="Test"/>
+          </bpel:copy>
+          <bpel:copy>
+            <bpel:from expression="'gabby'"/>
+            <bpel:to variable="StringNum8"/>
+          </bpel:copy>
+          <bpel:copy>
+            <bpel:from expression="'franklin'"/>
+            <bpel:to variable="StringNum9"/>
+          </bpel:copy>
+        </bpel:assign>
+        <bpel:receive name="ID110695324708628" createInstance="yes" operation="Receive1" partnerLink="BPNameReceive1PL" portType="tns:default" variable="Receive1Request"/>
+      </bpel:sequence>
+      <bpel:switch name="switch 1">
+        <bpel:target linkName="Begin-To-XorSplit-Link1"/>
+        <bpel:case condition="getVariableData('Test') = 'bumber'">
+          <bpel:sequence>
+            <bpel:source linkName="XorSplit-To-XorSplit-Link2"/>
+            <bpel:assign name="BP11069533753841">
+              <bpel:copy>
+                <bpel:from variable="StringNum1"/>
+                <bpel:to variable="Holder"/>
+              </bpel:copy>
+            </bpel:assign>
+          </bpel:sequence>
+        </bpel:case>
+        <bpel:otherwise>
+          <bpel:sequence>
+            <bpel:source linkName="XorSplit-To-XorSplit-Link6"/>
+            <bpel:assign name="BP11069533991502">
+              <bpel:copy>
+                <bpel:from variable="StringNum2"/>
+                <bpel:to variable="Holder"/>
+              </bpel:copy>
+            </bpel:assign>
+          </bpel:sequence>
+        </bpel:otherwise>
+      </bpel:switch>
+      <bpel:switch name="switch 2">
+        <bpel:target linkName="XorSplit-To-XorSplit-Link2"/>
+        <bpel:case condition="getVariableData('Test') = 'bumber'">
+          <bpel:sequence>
+            <bpel:source linkName="XorSplit-To-Join-Link3"/>
+            <bpel:assign name="BP11069534215253">
+              <bpel:copy>
+                <bpel:from variable="StringNum3"/>
+                <bpel:to variable="Holder"/>
+              </bpel:copy>
+            </bpel:assign>
+          </bpel:sequence>
+        </bpel:case>
+        <bpel:otherwise>
+          <bpel:sequence>
+            <bpel:source linkName="XorSplit-To-Join-Link4"/>
+            <bpel:assign name="BP11069534265724">
+              <bpel:copy>
+                <bpel:from variable="StringNum4"/>
+                <bpel:to variable="Holder"/>
+              </bpel:copy>
+            </bpel:assign>
+          </bpel:sequence>
+        </bpel:otherwise>
+      </bpel:switch>
+      <bpel:sequence name="sequence 2">
+        <bpel:target linkName="XorSplit-To-Join-Link3"/>
+        <bpel:target linkName="XorSplit-To-Join-Link4"/>
+        <bpel:source linkName="Join-To-Join-Link5"/>
+        <bpel:assign name="BP11069540407797">
+          <bpel:copy>
+            <bpel:from variable="StringNum7"/>
+            <bpel:to variable="Holder"/>
+          </bpel:copy>
+        </bpel:assign>
+      </bpel:sequence>
+      <bpel:sequence name="bad sequence">
+        <bpel:target linkName="Join-To-Join-Link5"/>
+        <bpel:target linkName="Join-To-Join-Link9"/>
+        <bpel:assign name="BP11069558172901">
+          <bpel:copy>
+            <bpel:from variable="StringNum9"/>
+            <bpel:to variable="reply" part="InParam"/>
+          </bpel:copy>
+        </bpel:assign>
+      </bpel:sequence>
+      <bpel:switch name="last switch">
+        <bpel:target linkName="XorSplit-To-XorSplit-Link6"/>
+        <bpel:case condition="getVariableData('Test') = 'bumber123'">
+          <bpel:sequence>
+            <bpel:source linkName="XorSplit-To-Join-Link7"/>
+            <bpel:assign name="BP11069534361035">
+              <bpel:copy>
+                <bpel:from variable="StringNum5"/>
+                <bpel:to variable="Holder"/>
+              </bpel:copy>
+            </bpel:assign>
+          </bpel:sequence>
+        </bpel:case>
+        <bpel:otherwise>
+          <bpel:sequence>
+            <bpel:source linkName="XorSplit-To-Join-Link8"/>
+            <bpel:assign name="BP11069534520876">
+              <bpel:copy>
+                <bpel:from variable="StringNum6"/>
+                <bpel:to variable="Holder"/>
+              </bpel:copy>
+            </bpel:assign>
+          </bpel:sequence>
+        </bpel:otherwise>
+      </bpel:switch>
+      <bpel:sequence name="last sequence">
+        <bpel:target linkName="XorSplit-To-Join-Link7"/>
+        <bpel:target linkName="XorSplit-To-Join-Link8"/>
+        <bpel:source linkName="Join-To-Join-Link9"/>
+        <bpel:assign name="BP11069557982900">
+          <bpel:copy>
+            <bpel:from variable="StringNum8"/>
+            <bpel:to variable="Holder"/>
+          </bpel:copy>
+        </bpel:assign>
+      </bpel:sequence>
+    </bpel:flow>
+		<bpel:reply name="reply" partnerLink="BPNameReceive1PL" portType="tns:default" variable="reply"/>
+	</bpel:sequence>
+  </bpel:scope>
+</bpel:process>

Added: incubator/ode/scratch/bpe/bpelTests/testNestedSplits/NSBP.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testNestedSplits/NSBP.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testNestedSplits/NSBP.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testNestedSplits/NSBP.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name="" targetNamespace="urn:mycompany:/NestedSplits/NSBP.svc_bpmn" xmlns:tns="urn:mycompany:/NestedSplits/NSBP.svc_bpmn" xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/" xmlns:format="http://schemas.xmlsoap.org/wsdl/formatbinding/" xmlns="http://schemas.xmlsoap.org/wsdl/">
+  <message name="Receive1Request">
+    <part name="InParam" type="xsd:string"/>
+  </message>
+  <portType name="default">
+    <operation name="Receive1">
+      <input name="Receive1Request" message="tns:Receive1Request"/>
+	  <output name="output" message="tns:Receive1Request"/>
+    </operation>
+  </portType>
+  <binding name="/NestedSplits/NSBP.bpmn" type="tns:default">
+    <sybbpe:binding xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/"/>
+    <operation name="Receive1">
+      <input name="Receive1Request">
+      </input>
+    </operation>
+  </binding>
+  <service name="NSBP">
+    <port name="/NestedSplits/NSBP.bpmn" binding="tns:/NestedSplits/NSBP.bpmn">
+    <sybres:address xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" resourceRef="/NestedSplits/NSBP.bpmn.props"/>
+    </port>
+  </service>
+</definitions>

Added: incubator/ode/scratch/bpe/bpelTests/testNestedSplits/NSBP.xml
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testNestedSplits/NSBP.xml?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testNestedSplits/NSBP.xml (added)
+++ incubator/ode/scratch/bpe/bpelTests/testNestedSplits/NSBP.xml Tue Feb 28 08:02:48 2006
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="ASCII"?>
+<bpe:BPEBinding xmlns:bpe="http://sybase.com/bpe/binding/bpe">
+  <bpe:ActionBindings/>
+  <bpe:ActivityBindings/>
+</bpe:BPEBinding>
\ No newline at end of file

Added: incubator/ode/scratch/bpe/bpelTests/testNestedSplits/links.props
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testNestedSplits/links.props?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testNestedSplits/links.props (added)
+++ incubator/ode/scratch/bpe/bpelTests/testNestedSplits/links.props Tue Feb 28 08:02:48 2006
@@ -0,0 +1,7 @@
+target.name.space=urn:mycompany:/NestedSplits/NSBP.svc_bpmn
+port.type=default
+operation=Receive1
+
+part1=str.InParam
+
+str.InParam=test