You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by lw...@apache.org on 2006/10/04 07:16:39 UTC
svn commit: r452740 [1/2] - in /incubator/ode/trunk/bpel-test/src/test:
java/org/apache/ode/test/ resources/bpel/2.0/NegativeCorrelationTest/
resources/bpel/2.0/NegativeInitializationTest/
resources/bpel/2.0/TestCompensationHandlers/ resources/bpel/2.0...
Author: lwaterman
Date: Tue Oct 3 22:16:38 2006
New Revision: 452740
URL: http://svn.apache.org/viewvc?view=rev&rev=452740
Log:
Add new tests
Added:
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/NegativeCorrelationTest.bpel
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/NegativeCorrelationTest.wsdl
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/deploy.xml
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/test1.properties
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/NegativeInitializationTest.bpel
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/NegativeInitializationTest.wsdl
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/deploy.xml
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/test1.properties
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/TestStaticOnMessage.bpel
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/TestStaticOnMessage.wsdl
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/deploy.xml
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/test1.properties
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/test2.properties
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/test3.properties
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/test4.properties
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/test5.properties
Modified:
incubator/ode/trunk/bpel-test/src/test/java/org/apache/ode/test/BPELTest.java
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCompensationHandlers/deploy.xml
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCompensationHandlers/testCompensationHandlers.bpel
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCompensationHandlers/testCompensationHandlers.wsdl
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelation/deploy.xml
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelation/testCorrelation.bpel
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelation/testCorrelation.wsdl
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelationAsync/deploy.xml
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelationAsync/testCorrelation.bpel
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelationAsync/testCorrelation.wsdl
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFaultHandlers/deploy.xml
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFaultHandlers/testFaultHandlers.bpel
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFaultHandlers/testFaultHandlers.wsdl
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.bpel
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.wsdl
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/deploy.xml
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/TestActivityFlow.bpel
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/TestActivityFlow.wsdl
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/deploy.xml
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestInstantiatingPick/TestInstantiatingPick.bpel
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestInstantiatingPick/TestInstantiatingPick.wsdl
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestInstantiatingPick/deploy.xml
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticPick/TestStaticPick.bpel
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticPick/TestStaticPick.wsdl
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticPick/deploy.xml
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestTimer/TestTimer.bpel
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestTimer/TestTimer.wsdl
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestTimer/deploy.xml
Modified: incubator/ode/trunk/bpel-test/src/test/java/org/apache/ode/test/BPELTest.java
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/java/org/apache/ode/test/BPELTest.java?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/java/org/apache/ode/test/BPELTest.java (original)
+++ incubator/ode/trunk/bpel-test/src/test/java/org/apache/ode/test/BPELTest.java Tue Oct 3 22:16:38 2006
@@ -21,6 +21,7 @@
import junit.framework.TestCase;
import org.apache.ode.bpel.engine.BpelServerImpl;
import org.apache.ode.bpel.iapi.Message;
+import org.apache.ode.bpel.iapi.MessageExchange;
import org.apache.ode.bpel.iapi.MyRoleMessageExchange;
import org.apache.ode.bpel.iapi.MessageExchange.MessageExchangePattern;
import org.apache.ode.bpel.iapi.MessageExchange.Status;
@@ -96,7 +97,6 @@
MyRoleMessageExchange mex = server.getEngine().createMessageExchange("",serviceId,operation);
-
/**
* Each property file must contain at least one
* request/response property tuple.
@@ -214,6 +214,32 @@
public void testStaticPick() throws Exception {
go("target/test-classes/bpel/2.0/TestStaticPick");
}
+ public void testStaticOnMessage() throws Exception {
+ go("target/test-classes/bpel/2.0/TestStaticOnMessage");
+ }
+
+ public void testNegativeCorrelation() throws Exception {
+ /**
+ * This test contains invalid BPEL. There is an instantiating
+ * <receive> and a subsequent <pick> that does not define a correlation
+ * key. The BPEL compiler should throw an exception indicating
+ * the BPEL code error ( verify with spec.
+ *
+ */
+ go("target/test-classes/bpel/2.0/NegativeCorrelationTest");
+ }
+ public void testNegativeInitialization() throws Exception {
+ /**
+ * This test contains invalid BPEL. There is an instantiating
+ * <receive> within a <scope> that contains eventhandlers
+ * that use the correlation set found on the receive. The BPEL
+ * compiler should through an exception indicating
+ * the BPEL code error ( verify with spec ) or at runtime
+ * a clear initialization exception should be thrown.
+ *
+ */
+ go("target/test-classes/bpel/2.0/NegativeInitializationTest");
+ }
/** These tests compile however they fail at runtime */
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/NegativeCorrelationTest.bpel
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/NegativeCorrelationTest.bpel?view=auto&rev=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/NegativeCorrelationTest.bpel (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/NegativeCorrelationTest.bpel Tue Oct 3 22:16:38 2006
@@ -0,0 +1,215 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<process xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2004/03/business-process/ ../../../../../../../bpel-schemas/src/main/resources/wsbpel_main-draft-Apr-29-2006.xsd"
+ xmlns:tns="http://ode/bpel/unit-test/NegativeCorrelationTest"
+ xmlns:wns="http://ode/bpel/unit-test/NegativeCorrelationTest.wsdl"
+ xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
+ xmlns="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
+ name="NegativeCorrelationTest"
+ targetNamespace="http://ode/bpel/unit-test/NegativeCorrelationTest"
+ queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ suppressJoinFailure="yes">
+
+ <import location="NegativeCorrelationTest.wsdl"
+ namespace="http://ode/bpel/unit-test/NegativeCorrelationTest.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/" />
+ <import location="../ProbeService/probeService.wsdl"
+ namespace="http://ode/bpel/unit-test/ProbeService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"/>
+
+
+<!-- This is a negative unit test for the ODE compiler. The compiler should
+ throw an exception because the <pick> does not contain a correlation set. -->
+
+ <partnerLinks>
+ <partnerLink name="request1" partnerLinkType="wns:NegativeCorrelationTestRequest" myRole="NegativeCorrelationTestService"/>
+ <partnerLink name="probe" partnerLinkType="wns:probeRequest" partnerRole="probeService" initializePartnerRole="yes"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request"
+ messageType="wns:requestMessage"/>
+ <variable name="probeInput"
+ messageType="prb:probeMessage"/>
+ <variable name="reply"
+ messageType="wns:replyMessage"/>
+ </variables>
+
+ <correlationSets>
+ <correlationSet name="testCorr1" properties="wns:testProbeID"/>
+ </correlationSets>
+
+ <sequence>
+ <receive name="receive1" partnerLink="request1"
+ portType="wns:NegativeCorrelationTestPT"
+ operation="request" variable="request"
+ createInstance="yes">
+ <correlations>
+ <correlation set="testCorr1" initiate="yes"/>
+ </correlations>
+ </receive>
+
+ <assign name="assign1">
+ <copy>
+ <from variable="request" property="wns:testProbeID"/>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ <copy>
+ <from variable="request" part="requestText"/>
+ <to variable="probeInput" part="probeData"/>
+ </copy>
+ </assign>
+
+
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[block for next message]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+
+ <pick name="testPick">
+ <onMessage partnerLink="request1"
+ portType="wns:NegativeCorrelationTestPT" operation="continue1" variable="request">
+<!--
+ <correlations>
+ <correlation set="testCorr1"/>
+ </correlations>
+-->
+ <sequence>
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[pick branch one invoked]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[process complete]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+
+ <assign name="assign2">
+ <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="request1" portType="wns:NegativeCorrelationTestPT"
+ operation="continue1" variable="reply">
+ </reply>
+
+ </sequence>
+ </onMessage>
+ <onMessage partnerLink="request1"
+ portType="wns:NegativeCorrelationTestPT" operation="continue2" variable="request">
+<!--
+ <correlations>
+ <correlation set="testCorr1"/>
+ </correlations>
+-->
+ <sequence>
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[pick branch two invoked]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[process complete]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+ <assign name="assign2">
+ <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="request1" portType="wns:NegativeCorrelationTestPT"
+ operation="continue2" variable="reply">
+ </reply>
+
+ </sequence>
+ </onMessage>
+ </pick>
+ </sequence>
+</process>
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/NegativeCorrelationTest.wsdl
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/NegativeCorrelationTest.wsdl?view=auto&rev=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/NegativeCorrelationTest.wsdl (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/NegativeCorrelationTest.wsdl Tue Oct 3 22:16:38 2006
@@ -0,0 +1,81 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<wsdl:definitions
+ targetNamespace="http://ode/bpel/unit-test/NegativeCorrelationTest.wsdl"
+ xmlns:tns="http://ode/bpel/unit-test/NegativeCorrelationTest.wsdl"
+ xmlns="http://ode/bpel/unit-test/NegativeCorrelationTest.wsdl"
+ xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:plnk="http://schemas.xmlsoap.org/ws/2004/03/partner-link/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/">
+
+
+ <wsdl:message name="requestMessage">
+ <wsdl:part name="requestID" type="xsd:string"/>
+ <wsdl:part name="requestText" type="xsd:string"/>
+ </wsdl:message>
+
+ <wsdl:message name="replyMessage">
+ <wsdl:part name="replyID" type="xsd:string"/>
+ <wsdl:part name="replyText" type="xsd:string"/>
+ </wsdl:message>
+
+
+ <wsdl:portType name="NegativeCorrelationTestPT">
+ <wsdl:operation name="request">
+ <wsdl:input message="requestMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="continue1">
+ <wsdl:input message="requestMessage"/>
+ <wsdl:output message="replyMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="continue2">
+ <wsdl:input message="requestMessage"/>
+ <wsdl:output message="replyMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+
+ <wsdl:binding name="NegativeCorrelationTestBinding" type="tns:NegativeCorrelationTestPT">
+ <wsdl:operation name="request">
+ </wsdl:operation>
+ <wsdl:operation name="continue1">
+ </wsdl:operation>
+ <wsdl:operation name="continue2">
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="NegativeCorrelationTestService">
+ <wsdl:port name="NegativeCorrelationTestPort" binding="tns:NegativeCorrelationTestBinding">
+ </wsdl:port>
+ </wsdl:service>
+
+ <plnk:partnerLinkType name="NegativeCorrelationTestRequest">
+ <plnk:role name="NegativeCorrelationTestService" portType="NegativeCorrelationTestPT"/>
+ </plnk:partnerLinkType>
+
+ <plnk:partnerLinkType name="probeRequest">
+ <plnk:role name="probeService" portType="prb:probeMessagePT"/>
+ </plnk:partnerLinkType>
+
+ <bpws:property name="testProbeID" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:testProbeID" messageType="tns:requestMessage" part="requestID"/>
+
+</wsdl:definitions>
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/deploy.xml
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/deploy.xml?view=auto&rev=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/deploy.xml (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/deploy.xml Tue Oct 3 22:16:38 2006
@@ -0,0 +1,31 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<deploy xmlns="http://ode.fivesight.com/schemas/2006/06/27/dd"
+ xmlns:pns="http://ode/bpel/unit-test/NegativeCorrelationTest"
+ xmlns:wns="http://ode/bpel/unit-test/NegativeCorrelationTest.wsdl">
+
+
+ <process name="pns:NegativeCorrelationTest">
+ <active>true</active>
+ <provide partnerLink="request1">
+ <service name="wns:NegativeCorrelationTestService" port="wns:NegativeCorrelationTestPort"/>
+ </provide>
+ </process>
+</deploy>
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/test1.properties
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/test1.properties?view=auto&rev=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/test1.properties (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/test1.properties Tue Oct 3 22:16:38 2006
@@ -0,0 +1,5 @@
+namespace=http://ode/bpel/unit-test/NegativeCorrelationTest.wsdl
+service=NegativeCorrelationTestService
+operation=request
+request1=<message><requestID>NegativeCorrelationTest</requestID><requestText>NegativeCorrelationTest Request1</requestText></message>
+response1=Compile Exception
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/NegativeInitializationTest.bpel
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/NegativeInitializationTest.bpel?view=auto&rev=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/NegativeInitializationTest.bpel (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/NegativeInitializationTest.bpel Tue Oct 3 22:16:38 2006
@@ -0,0 +1,232 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<process xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2004/03/business-process/ ../../../../../../../bpel-schemas/src/main/resources/wsbpel_main-draft-Apr-29-2006.xsd"
+ xmlns:tns="http://ode/bpel/unit-test/NegativeInitializationTest"
+ xmlns:wns="http://ode/bpel/unit-test/NegativeInitializationTest.wsdl"
+ xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
+ xmlns="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
+ name="NegativeInitializationTestProcess"
+ targetNamespace="http://ode/bpel/unit-test/NegativeInitializationTest"
+ queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ suppressJoinFailure="yes">
+
+<!-- test onMessage with static correlation key -->
+
+ <import location="NegativeInitializationTest.wsdl"
+ namespace="http://ode/bpel/unit-test/NegativeInitializationTest.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/" />
+ <import location="../ProbeService/probeService.wsdl"
+ namespace="http://ode/bpel/unit-test/ProbeService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"/>
+
+
+ <partnerLinks>
+ <partnerLink name="request1" partnerLinkType="wns:NegativeInitializationTestRequest" myRole="NegativeInitializationTestService"/>
+ <partnerLink name="probe" partnerLinkType="wns:probeRequest" partnerRole="probeService" initializePartnerRole="yes"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request"
+ messageType="wns:requestMessage"/>
+ <variable name="probeInput"
+ messageType="prb:probeMessage"/>
+ <variable name="reply"
+ messageType="wns:replyMessage"/>
+ </variables>
+
+ <correlationSets>
+ <correlationSet name="testCorr1" properties="wns:testProbeID"/>
+ </correlationSets>
+
+ <sequence>
+
+ <scope name="scopeOne">
+ <eventHandlers>
+
+ <onEvent partnerLink="request1" messageType="wns:requestMessage"
+ portType="wns:NegativeInitializationTestPT" operation="event1" variable="request">
+
+ <correlations>
+ <correlation set="testCorr1"/>
+ </correlations>
+
+ <scope>
+ <sequence>
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[TestStaticOnMessage3PT]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+ </sequence>
+ </scope>
+ </onEvent>
+ <onEvent partnerLink="request1" messageType="wns:requestMessage"
+ portType="wns:NegativeInitializationTestPT" operation="event2" variable="request">
+
+ <correlations>
+ <correlation set="testCorr1"/>
+ </correlations>
+
+ <scope>
+ <sequence>
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[received event on TestStaticOnMessage4PT]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+ </sequence>
+ </scope>
+ </onEvent>
+
+
+ </eventHandlers>
+
+ <sequence>
+
+ <receive name="receive1" partnerLink="request1"
+ portType="wns:NegativeInitializationTestPT"
+ operation="request" variable="request"
+ createInstance="yes">
+ <correlations>
+ <correlation set="testCorr1" initiate="yes"/>
+ </correlations>
+ </receive>
+
+ <!-- Copy input variables to internal accumulators -->
+
+ <assign name="assign1">
+ <copy>
+ <from variable="request" property="wns:testProbeID"/>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ <copy>
+ <from variable="request" property="wns:testProbeData"/>
+ <to variable="probeInput" part="probeData"/>
+ </copy>
+ </assign>
+
+
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[block for next message]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+
+ <!-- block the process here while test messages are sent to the eventHandlers -->
+
+ <receive name="receive2" partnerLink="request1"
+ portType="wns:NegativeInitializationTestPT"
+ operation="continue1" variable="request">
+ <correlations>
+ <correlation set="testCorr1"/>
+ </correlations>
+ </receive>
+
+ </sequence>
+ </scope>
+
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[block for final message]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+
+ <receive name="receive3" partnerLink="request1"
+ portType="wns:NegativeInitializationTestPT"
+ operation="continue2" variable="request">
+ <correlations>
+ <correlation set="testCorr1"/>
+ </correlations>
+ </receive>
+
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[process complete]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+ <assign name="assign2">
+ <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="request1" portType="wns:NegativeInitializationTestPT"
+ operation="continue2" variable="reply">
+ </reply>
+
+ </sequence>
+</process>
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/NegativeInitializationTest.wsdl
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/NegativeInitializationTest.wsdl?view=auto&rev=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/NegativeInitializationTest.wsdl (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/NegativeInitializationTest.wsdl Tue Oct 3 22:16:38 2006
@@ -0,0 +1,116 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<wsdl:definitions
+ targetNamespace="http://ode/bpel/unit-test/NegativeInitializationTest.wsdl"
+ xmlns:tns="http://ode/bpel/unit-test/NegativeInitializationTest.wsdl"
+ xmlns:typens="http://ode/bpel/unit-test/NegativeInitializationTest.wsdl.types"
+ xmlns="http://ode/bpel/unit-test/NegativeInitializationTest.wsdl"
+ xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:plnk="http://schemas.xmlsoap.org/ws/2004/03/partner-link/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/">
+
+
+ <wsdl:types>
+ <xsd:schema
+ targetNamespace="http://ode/bpel/unit-test/NegativeInitializationTest.wsdl.types"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:complexType name="testMessage">
+ <xsd:sequence>
+ <xsd:element name="requestID" type="xsd:string"/>
+ <xsd:element name="requestText" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ </xsd:schema>
+ </wsdl:types>
+
+ <wsdl:message name="requestMessage">
+ <wsdl:part name="requestMessageData" type="typens:testMessage"/>
+ </wsdl:message>
+
+ <wsdl:message name="replyMessage">
+ <wsdl:part name="replyID" type="xsd:string"/>
+ <wsdl:part name="replyText" type="xsd:string"/>
+ </wsdl:message>
+
+
+ <wsdl:portType name="NegativeInitializationTestPT">
+ <wsdl:operation name="request">
+ <wsdl:input message="requestMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="event1">
+ <wsdl:input message="requestMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="event2">
+ <wsdl:input message="requestMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="continue1">
+ <wsdl:input message="requestMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="continue2">
+ <wsdl:input message="requestMessage"/>
+ <wsdl:output message="replyMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="NegativeInitializationTestBinding" type="tns:NegativeInitializationTestPT">
+ <wsdl:operation name="request">
+ </wsdl:operation>
+ <wsdl:operation name="event1">
+ </wsdl:operation>
+ <wsdl:operation name="event2">
+ </wsdl:operation>
+ <wsdl:operation name="continue1">
+ </wsdl:operation>
+ <wsdl:operation name="continue2">
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="NegativeInitializationTestService">
+ <wsdl:port name="NegativeInitializationTestPort" binding="tns:NegativeInitializationTestBinding">
+ </wsdl:port>
+ </wsdl:service>
+
+ <bpws:property name="testProbeID" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:testProbeID" messageType="tns:requestMessage" part="requestMessageData">
+ <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
+ testMessage/requestID
+ </bpws:query>
+ </bpws:propertyAlias>
+
+ <bpws:property name="testProbeData" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:testProbeData" messageType="tns:requestMessage" part="requestMessageData">
+ <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
+ testMessage/requestText
+ </bpws:query>
+ </bpws:propertyAlias>
+
+
+ <plnk:partnerLinkType name="NegativeInitializationTestRequest">
+ <plnk:role name="NegativeInitializationTestService" portType="NegativeInitializationTestPT"/>
+ </plnk:partnerLinkType>
+
+ <plnk:partnerLinkType name="probeRequest">
+ <plnk:role name="probeService" portType="prb:probeMessagePT"/>
+ </plnk:partnerLinkType>
+
+</wsdl:definitions>
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/deploy.xml
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/deploy.xml?view=auto&rev=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/deploy.xml (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/deploy.xml Tue Oct 3 22:16:38 2006
@@ -0,0 +1,31 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<deploy xmlns="http://ode.fivesight.com/schemas/2006/06/27/dd"
+ xmlns:pns="http://ode/bpel/unit-test/NegativeInitializationTest"
+ xmlns:wns="http://ode/bpel/unit-test/NegativeInitializationTest.wsdl">
+
+
+ <process name="pns:NegativeInitializationTestProcess">
+ <active>true</active>
+ <provide partnerLink="request1">
+ <service name="wns:NegativeInitializationTestService" port="wns:NegativeInitializationTestPort"/>
+ </provide>
+ </process>
+</deploy>
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/test1.properties
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/test1.properties?view=auto&rev=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/test1.properties (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/test1.properties Tue Oct 3 22:16:38 2006
@@ -0,0 +1,5 @@
+namespace=http://ode/bpel/unit-test/NegativeInitializationTest.wsdl
+service=NegativeInitializationTestService
+operation=request
+request1=<message><requestMessageData><testMessage><requestID>NegativeInitializationTest</requestID><requestText>NegativeInitializationTest</requestText></testMessage></requestMessageData></message>
+response1=Compile Exception
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCompensationHandlers/deploy.xml
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCompensationHandlers/deploy.xml?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCompensationHandlers/deploy.xml (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCompensationHandlers/deploy.xml Tue Oct 3 22:16:38 2006
@@ -1,3 +1,22 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
<deploy xmlns="http://ode.fivesight.com/schemas/2006/06/27/dd"
xmlns:pns="http://ode/bpel/unit-test/testCompensationHandlers"
xmlns:wns="http://ode/bpel/unit-test/testCompensationHandlers.wsdl">
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCompensationHandlers/testCompensationHandlers.bpel
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCompensationHandlers/testCompensationHandlers.bpel?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCompensationHandlers/testCompensationHandlers.bpel (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCompensationHandlers/testCompensationHandlers.bpel Tue Oct 3 22:16:38 2006
@@ -1,3 +1,22 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
<process xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2004/03/business-process/ ../../../../../../../bpel-schemas/src/main/resources/wsbpel_main-draft-Apr-29-2006.xsd"
xmlns:tns="http://ode/bpel/unit-test/testCompensationHandlers"
@@ -92,10 +111,6 @@
outputVariable="probeInput">
</invoke>
-
- <!-- Note: variables within a compensation handler are only visible to the handler. To validate -->
- <!-- the comp handler set logger com.sybase.bpe.action.external.ProbeAction.level = FINE -->
- <!-- Expected log msg: ""-->
</sequence>
</compensationHandler>
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCompensationHandlers/testCompensationHandlers.wsdl
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCompensationHandlers/testCompensationHandlers.wsdl?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCompensationHandlers/testCompensationHandlers.wsdl (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCompensationHandlers/testCompensationHandlers.wsdl Tue Oct 3 22:16:38 2006
@@ -1,4 +1,21 @@
-<!-- The public service interface for test3.bpel -->
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
<wsdl:definitions
targetNamespace="http://ode/bpel/unit-test/testCompensationHandlers.wsdl"
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelation/deploy.xml
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelation/deploy.xml?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelation/deploy.xml (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelation/deploy.xml Tue Oct 3 22:16:38 2006
@@ -1,3 +1,22 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
<deploy xmlns="http://ode.fivesight.com/schemas/2006/06/27/dd"
xmlns:pns="http://ode/bpel/unit-test/testCorrelation"
xmlns:wns="http://ode/bpel/unit-test/testCorrelation.wsdl">
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelation/testCorrelation.bpel
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelation/testCorrelation.bpel?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelation/testCorrelation.bpel (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelation/testCorrelation.bpel Tue Oct 3 22:16:38 2006
@@ -1,3 +1,22 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
<process xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2004/03/business-process/ ../../../../../../../bpel-schemas/src/main/resources/wsbpel_main-draft-Apr-29-2006.xsd"
xmlns:tns="http://ode/bpel/unit-test/testCorrelation"
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelation/testCorrelation.wsdl
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelation/testCorrelation.wsdl?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelation/testCorrelation.wsdl (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelation/testCorrelation.wsdl Tue Oct 3 22:16:38 2006
@@ -1,3 +1,21 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
<wsdl:definitions
targetNamespace="http://ode/bpel/unit-test/testCorrelation.wsdl"
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelationAsync/deploy.xml
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelationAsync/deploy.xml?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelationAsync/deploy.xml (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelationAsync/deploy.xml Tue Oct 3 22:16:38 2006
@@ -1,3 +1,22 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
<deploy xmlns="http://ode.fivesight.com/schemas/2006/06/27/dd"
xmlns:pns="http://ode/bpel/unit-test/testCorrelationAsync"
xmlns:wns="http://ode/bpel/unit-test/testCorrelationAsync.wsdl">
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelationAsync/testCorrelation.bpel
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelationAsync/testCorrelation.bpel?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelationAsync/testCorrelation.bpel (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelationAsync/testCorrelation.bpel Tue Oct 3 22:16:38 2006
@@ -1,3 +1,22 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
<process xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2004/03/business-process/ ../../../../../../../bpel-schemas/src/main/resources/wsbpel_main-draft-Apr-29-2006.xsd"
xmlns:tns="http://ode/bpel/unit-test/testCorrelationAsync"
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelationAsync/testCorrelation.wsdl
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelationAsync/testCorrelation.wsdl?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelationAsync/testCorrelation.wsdl (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestCorrelationAsync/testCorrelation.wsdl Tue Oct 3 22:16:38 2006
@@ -1,3 +1,21 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
<wsdl:definitions
targetNamespace="http://ode/bpel/unit-test/testCorrelationAsync.wsdl"
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFaultHandlers/deploy.xml
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFaultHandlers/deploy.xml?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFaultHandlers/deploy.xml (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFaultHandlers/deploy.xml Tue Oct 3 22:16:38 2006
@@ -1,3 +1,22 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
<deploy xmlns="http://ode.fivesight.com/schemas/2006/06/27/dd"
xmlns:pns="http://ode/bpel/unit-test/testFaultHandlers"
xmlns:wns="http://ode/bpel/unit-test/testFaultHandlers.wsdl">
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFaultHandlers/testFaultHandlers.bpel
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFaultHandlers/testFaultHandlers.bpel?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFaultHandlers/testFaultHandlers.bpel (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFaultHandlers/testFaultHandlers.bpel Tue Oct 3 22:16:38 2006
@@ -1,3 +1,22 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
<process xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2004/03/business-process/ ../../../../../../../bpel-schemas/src/main/resources/wsbpel_main-draft-Apr-29-2006.xsd"
xmlns:tns="http://ode/bpel/unit-test/testFaultHandlers"
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFaultHandlers/testFaultHandlers.wsdl
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFaultHandlers/testFaultHandlers.wsdl?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFaultHandlers/testFaultHandlers.wsdl (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFaultHandlers/testFaultHandlers.wsdl Tue Oct 3 22:16:38 2006
@@ -1,3 +1,21 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
<wsdl:definitions
targetNamespace="http://ode/bpel/unit-test/testFaultHandlers.wsdl"
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.bpel
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.bpel?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.bpel (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.bpel Tue Oct 3 22:16:38 2006
@@ -1,3 +1,22 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
<process xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2004/03/business-process/ ../../../../../../../bpel-schemas/src/main/resources/wsbpel_main-draft-Apr-29-2006.xsd"
xmlns:tns="http://ode/bpel/unit-test/testFlowActivity1"
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.wsdl
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.wsdl?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.wsdl (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.wsdl Tue Oct 3 22:16:38 2006
@@ -1,3 +1,21 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
<wsdl:definitions
targetNamespace="http://ode/bpel/unit-test/testFlowActivity1.wsdl"
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/deploy.xml
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/deploy.xml?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/deploy.xml (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/deploy.xml Tue Oct 3 22:16:38 2006
@@ -1,3 +1,22 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
<deploy xmlns="http://ode.fivesight.com/schemas/2006/06/27/dd"
xmlns:pns="http://ode/bpel/unit-test/testFlowActivity1"
xmlns:wns="http://ode/bpel/unit-test/testFlowActivity1.wsdl">
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/TestActivityFlow.bpel
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/TestActivityFlow.bpel?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/TestActivityFlow.bpel (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/TestActivityFlow.bpel Tue Oct 3 22:16:38 2006
@@ -1,3 +1,22 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
<process xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2004/03/business-process/ ../../../../../../../bpel-schemas/src/main/resources/wsbpel_main-draft-Apr-29-2006.xsd"
xmlns:tns="http://ode/bpel/unit-test/testFlowActivity2"
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/TestActivityFlow.wsdl
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/TestActivityFlow.wsdl?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/TestActivityFlow.wsdl (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/TestActivityFlow.wsdl Tue Oct 3 22:16:38 2006
@@ -1,3 +1,21 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
<wsdl:definitions
targetNamespace="http://ode/bpel/unit-test/testFlowActivity2.wsdl"
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/deploy.xml
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/deploy.xml?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/deploy.xml (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/deploy.xml Tue Oct 3 22:16:38 2006
@@ -1,3 +1,22 @@
+
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
<deploy xmlns="http://ode.fivesight.com/schemas/2006/06/27/dd"
xmlns:pns="http://ode/bpel/unit-test/testFlowActivity2"
xmlns:wns="http://ode/bpel/unit-test/testFlowActivity2.wsdl">
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestInstantiatingPick/TestInstantiatingPick.bpel
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestInstantiatingPick/TestInstantiatingPick.bpel?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestInstantiatingPick/TestInstantiatingPick.bpel (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestInstantiatingPick/TestInstantiatingPick.bpel Tue Oct 3 22:16:38 2006
@@ -1,3 +1,22 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
<process xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2004/03/business-process/ ../../../../../../../bpel-schemas/src/main/resources/wsbpel_main-draft-Apr-29-2006.xsd"
xmlns:tns="http://ode/bpel/unit-test/TestInstantiatingPick"
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestInstantiatingPick/TestInstantiatingPick.wsdl
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestInstantiatingPick/TestInstantiatingPick.wsdl?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestInstantiatingPick/TestInstantiatingPick.wsdl (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestInstantiatingPick/TestInstantiatingPick.wsdl Tue Oct 3 22:16:38 2006
@@ -1,3 +1,21 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
<wsdl:definitions
targetNamespace="http://ode/bpel/unit-test/TestInstantiatingPick.wsdl"
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestInstantiatingPick/deploy.xml
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestInstantiatingPick/deploy.xml?view=diff&rev=452740&r1=452739&r2=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestInstantiatingPick/deploy.xml (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestInstantiatingPick/deploy.xml Tue Oct 3 22:16:38 2006
@@ -1,3 +1,22 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
<deploy xmlns="http://ode.fivesight.com/schemas/2006/06/27/dd"
xmlns:pns="http://ode/bpel/unit-test/TestInstantiatingPick"
xmlns:wns="http://ode/bpel/unit-test/TestInstantiatingPick.wsdl">
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/TestStaticOnMessage.bpel
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/TestStaticOnMessage.bpel?view=auto&rev=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/TestStaticOnMessage.bpel (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/TestStaticOnMessage.bpel Tue Oct 3 22:16:38 2006
@@ -0,0 +1,234 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<process xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2004/03/business-process/ ../../../../../../../bpel-schemas/src/main/resources/wsbpel_main-draft-Apr-29-2006.xsd"
+ xmlns:tns="http://ode/bpel/unit-test/TestStaticOnMessage"
+ xmlns:wns="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl"
+ xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
+ xmlns="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
+ name="TestStaticOnMessageProcess"
+ targetNamespace="http://ode/bpel/unit-test/TestStaticOnMessage"
+ queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ suppressJoinFailure="yes">
+
+<!-- test onMessage with static correlation key -->
+
+ <import location="TestStaticOnMessage.wsdl"
+ namespace="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/" />
+ <import location="../ProbeService/probeService.wsdl"
+ namespace="http://ode/bpel/unit-test/ProbeService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"/>
+
+
+ <partnerLinks>
+ <partnerLink name="request1" partnerLinkType="wns:TestStaticOnMessage1Request" myRole="TestStaticOnMessage1Service"/>
+ <partnerLink name="probe" partnerLinkType="wns:probeRequest" partnerRole="probeService" initializePartnerRole="yes"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request"
+ messageType="wns:requestMessage"/>
+ <variable name="probeInput"
+ messageType="prb:probeMessage"/>
+ <variable name="reply"
+ messageType="wns:replyMessage"/>
+ </variables>
+
+ <correlationSets>
+ <correlationSet name="testCorr1" properties="wns:testProbeID"/>
+ </correlationSets>
+
+ <sequence>
+
+ <receive name="receive1" partnerLink="request1"
+ portType="wns:TestStaticOnMessage1PT"
+ operation="request" variable="request"
+ createInstance="yes">
+ <correlations>
+ <correlation set="testCorr1" initiate="yes"/>
+ </correlations>
+ </receive>
+
+ <scope name="scopeOne">
+ <eventHandlers>
+
+ <onEvent partnerLink="request1" messageType="wns:requestMessage"
+ portType="wns:TestStaticOnMessage1PT" operation="event1" variable="request">
+
+ <correlations>
+ <correlation set="testCorr1"/>
+ </correlations>
+
+ <scope>
+ <sequence>
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[TestStaticOnMessage3PT]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+ </sequence>
+ </scope>
+ </onEvent>
+ <onEvent partnerLink="request1" messageType="wns:requestMessage"
+ portType="wns:TestStaticOnMessage1PT" operation="event2" variable="request">
+
+ <correlations>
+ <correlation set="testCorr1"/>
+ </correlations>
+
+ <scope>
+ <sequence>
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[received event on TestStaticOnMessage4PT]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+ </sequence>
+ </scope>
+ </onEvent>
+
+
+ </eventHandlers>
+
+ <sequence>
+
+
+
+ <!-- Copy input variables to internal accumulators -->
+
+ <assign name="assign1">
+ <copy>
+ <from variable="request" property="wns:testProbeID"/>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ <copy>
+ <from variable="request" property="wns:testProbeData"/>
+ <to variable="probeInput" part="probeData"/>
+ </copy>
+ </assign>
+
+
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[block for next message]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+
+ <!-- block the process here while test messages are sent to the eventHandlers -->
+
+ <receive name="receive2" partnerLink="request1"
+ portType="wns:TestStaticOnMessage1PT"
+ operation="continue1" variable="request">
+ <correlations>
+ <correlation set="testCorr1"/>
+ </correlations>
+ </receive>
+
+ </sequence>
+ </scope>
+
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[block for final message]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+
+ <receive name="receive3" partnerLink="request1"
+ portType="wns:TestStaticOnMessage1PT"
+ operation="continue2" variable="request">
+ <correlations>
+ <correlation set="testCorr1"/>
+ </correlations>
+ </receive>
+
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[process complete]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+ <assign name="assign2">
+ <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="request1" portType="wns:TestStaticOnMessage1PT"
+ operation="continue2" variable="reply">
+ </reply>
+
+ </sequence>
+</process>
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/TestStaticOnMessage.wsdl
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/TestStaticOnMessage.wsdl?view=auto&rev=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/TestStaticOnMessage.wsdl (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/TestStaticOnMessage.wsdl Tue Oct 3 22:16:38 2006
@@ -0,0 +1,116 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<wsdl:definitions
+ targetNamespace="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl"
+ xmlns:tns="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl"
+ xmlns:typens="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl.types"
+ xmlns="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl"
+ xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:plnk="http://schemas.xmlsoap.org/ws/2004/03/partner-link/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/">
+
+
+ <wsdl:types>
+ <xsd:schema
+ targetNamespace="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl.types"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:complexType name="testMessage">
+ <xsd:sequence>
+ <xsd:element name="requestID" type="xsd:string"/>
+ <xsd:element name="requestText" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ </xsd:schema>
+ </wsdl:types>
+
+ <wsdl:message name="requestMessage">
+ <wsdl:part name="requestMessageData" type="typens:testMessage"/>
+ </wsdl:message>
+
+ <wsdl:message name="replyMessage">
+ <wsdl:part name="replyID" type="xsd:string"/>
+ <wsdl:part name="replyText" type="xsd:string"/>
+ </wsdl:message>
+
+
+ <wsdl:portType name="TestStaticOnMessage1PT">
+ <wsdl:operation name="request">
+ <wsdl:input message="requestMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="event1">
+ <wsdl:input message="requestMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="event2">
+ <wsdl:input message="requestMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="continue1">
+ <wsdl:input message="requestMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="continue2">
+ <wsdl:input message="requestMessage"/>
+ <wsdl:output message="replyMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="TestStaticOnMessage1Binding" type="tns:TestStaticOnMessage1PT">
+ <wsdl:operation name="request">
+ </wsdl:operation>
+ <wsdl:operation name="event1">
+ </wsdl:operation>
+ <wsdl:operation name="event2">
+ </wsdl:operation>
+ <wsdl:operation name="continue1">
+ </wsdl:operation>
+ <wsdl:operation name="continue2">
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="TestStaticOnMessage1Service">
+ <wsdl:port name="TestStaticOnMessage1Port" binding="tns:TestStaticOnMessage1Binding">
+ </wsdl:port>
+ </wsdl:service>
+
+ <bpws:property name="testProbeID" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:testProbeID" messageType="tns:requestMessage" part="requestMessageData">
+ <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
+ testMessage/requestID
+ </bpws:query>
+ </bpws:propertyAlias>
+
+ <bpws:property name="testProbeData" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:testProbeData" messageType="tns:requestMessage" part="requestMessageData">
+ <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
+ testMessage/requestText
+ </bpws:query>
+ </bpws:propertyAlias>
+
+
+ <plnk:partnerLinkType name="TestStaticOnMessage1Request">
+ <plnk:role name="TestStaticOnMessage1Service" portType="TestStaticOnMessage1PT"/>
+ </plnk:partnerLinkType>
+
+ <plnk:partnerLinkType name="probeRequest">
+ <plnk:role name="probeService" portType="prb:probeMessagePT"/>
+ </plnk:partnerLinkType>
+
+</wsdl:definitions>
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/deploy.xml
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/deploy.xml?view=auto&rev=452740
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/deploy.xml (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/deploy.xml Tue Oct 3 22:16:38 2006
@@ -0,0 +1,31 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<deploy xmlns="http://ode.fivesight.com/schemas/2006/06/27/dd"
+ xmlns:pns="http://ode/bpel/unit-test/TestStaticOnMessage"
+ xmlns:wns="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl">
+
+
+ <process name="pns:TestStaticOnMessageProcess">
+ <active>true</active>
+ <provide partnerLink="request1">
+ <service name="wns:TestStaticOnMessage1Service" port="wns:TestStaticOnMessage1Port"/>
+ </provide>
+ </process>
+</deploy>