Added: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScope/HelloWorldAtomic.wsdl URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScope/HelloWorldAtomic.wsdl?rev=956870&view=auto ============================================================================== --- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScope/HelloWorldAtomic.wsdl (added) +++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScope/HelloWorldAtomic.wsdl Tue Jun 22 12:57:41 2010 @@ -0,0 +1,44 @@ +<?xml version='1.0' encoding='utf-8'?> +<!-- + ~ 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 + xmlns:bpdm="http://www.intalio/designer/business-process-data-modeling" + xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable" + xmlns:diag="http://ode/bpel/unit-test.wsdl" + xmlns:Start="http://ode/bpel/unit-test.wsdl/Start" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:tns="http://ode/bpel/unit-test.wsdl" + xmlns:Pool="http://example.com/diagram/Pool" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop" + xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" + xmlns:pnlk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + targetNamespace="http://ode/bpel/unit-test.wsdl"> + <wsdl:import namespace="http://ode/bpel/unit-test.wsdl" + location="HelloWorld.wsdl"/> + <wsdl:import namespace="http://ode/bpel/unit-test.wsdl" + location="HelloWorldExternal.wsdl"/> + <pnlk:partnerLinkType name="HelloWorldAndPoolForHelloPortPlk"> + <pnlk:role name="HelloWorld_for_Pool" portType="tns:HelloPortType"/> + </pnlk:partnerLinkType> + <pnlk:partnerLinkType name="PoolAndStartForHelloPortPlk"> + <pnlk:role name="Pool_for_Start" portType="tns:HelloPortType"/> + </pnlk:partnerLinkType> +</wsdl:definitions>
Added: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScope/HelloWorldExternal.wsdl URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScope/HelloWorldExternal.wsdl?rev=956870&view=auto ============================================================================== --- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScope/HelloWorldExternal.wsdl (added) +++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScope/HelloWorldExternal.wsdl Tue Jun 22 12:57:41 2010 @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- + ~ 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.wsdl" + xmlns="http://schemas.xmlsoap.org/wsdl/" + xmlns:tns="http://ode/bpel/unit-test.wsdl" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" + xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"> + + <wsdl:message name="HelloMessage"> + <wsdl:part name="TestPart" type="xsd:string"/> + </wsdl:message> + + <wsdl:portType name="HelloPortType"> + <wsdl:operation name="hello"> + <wsdl:input message="tns:HelloMessage" name="TestIn"/> + <wsdl:output message="tns:HelloMessage" name="TestOut"/> + </wsdl:operation> + </wsdl:portType> + + <wsdl:binding name="HelloSoapBinding" type="tns:HelloPortType"> + <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="hello"> + <soap:operation soapAction="" style="rpc"/> + <wsdl:input> + <soap:body + namespace="http://ode/bpel/unit-test.wsdl" + use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body + namespace="http://ode/bpel/unit-test.wsdl" + use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="AtomicHelloService"> + <wsdl:port name="AtomicHelloPort" binding="tns:HelloSoapBinding"> + <soap:address location="http://localhost:8080/ode/processes/AtomicHelloWorld"/> + </wsdl:port> + </wsdl:service> + + <plnk:partnerLinkType name="HelloPartnerLinkType"> + <plnk:role name="me" portType="tns:HelloPortType"/> + <plnk:role name="you" portType="tns:HelloPortType"/> + </plnk:partnerLinkType> +</wsdl:definitions> + Added: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScope/deploy.xml URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScope/deploy.xml?rev=956870&view=auto ============================================================================== --- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScope/deploy.xml (added) +++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScope/deploy.xml Tue Jun 22 12:57:41 2010 @@ -0,0 +1,40 @@ +<!-- + ~ 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://www.apache.org/ode/schemas/dd/2007/03" + xmlns:pns="http://ode/bpel/unit-test" + xmlns:wns="http://ode/bpel/unit-test.wsdl"> + + <process name="pns:HelloWorld"> + <active>true</active> + <provide partnerLink="helloPartnerLink"> + <service name="wns:HelloService" port="HelloPort"/> + </provide> + </process> + + <process name="pns:HelloWorldAtomic"> + <active>true</active> + <provide partnerLink="poolAndStartForHelloPortPlkVar"> + <service name="wns:AtomicHelloService" port="AtomicHelloPort"/> + </provide> + <invoke partnerLink="helloWorldAndPoolForHelloPortPlkVar"> + <service name="wns:HelloService" port="HelloPort"/> + </invoke> + </process> + +</deploy> Added: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScope/test.properties URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScope/test.properties?rev=956870&view=auto ============================================================================== --- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScope/test.properties (added) +++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScope/test.properties Tue Jun 22 12:57:41 2010 @@ -0,0 +1,23 @@ +# +# 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. +# + +namespace=http://ode/bpel/unit-test.wsdl +service=AtomicHelloService +operation=hello +request1=<message><TestPart><content>Hello</content></TestPart></message> +response1=FAILURE + Added: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorld.bpel URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorld.bpel?rev=956870&view=auto ============================================================================== --- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorld.bpel (added) +++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorld.bpel Tue Jun 22 12:57:41 2010 @@ -0,0 +1,74 @@ +<!-- + ~ 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 name="HelloWorld" + targetNamespace="http://ode/bpel/unit-test" + xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable" + xmlns:tns="http://ode/bpel/unit-test" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:test="http://ode/bpel/unit-test.wsdl" + queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0" + expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"> + + <import location="HelloWorld.wsdl" + namespace="http://ode/bpel/unit-test.wsdl" + importType="http://schemas.xmlsoap.org/wsdl/" /> + + <partnerLinks> + <partnerLink name="helloPartnerLink" + partnerLinkType="test:HelloPartnerLinkType" + myRole="me" /> + </partnerLinks> + + <variables> + <variable name="myVar" messageType="test:HelloMessage"/> + <variable name="tmpVar" type="xsd:string"/> + </variables> + + <sequence> + <receive + name="start" + partnerLink="helloPartnerLink" + portType="test:HelloPortType" + operation="hello" + variable="myVar" + createInstance="yes"/> + + <assign name="assign1"> + <copy> + <from variable="myVar" part="TestPart"/> + <to variable="tmpVar"/> + </copy> + <copy> + <from>concat($tmpVar,' World')</from> + <to variable="myVar" part="TestPart"/> + </copy> + </assign> + <!--<reply name="end" + partnerLink="helloPartnerLink" + portType="test:HelloPortType" + operation="hello" + variable="myVar"/>--> + <reply name="end" + partnerLink="helloPartnerLink" + portType="test:HelloPortType" + operation="hello" + faultName="test:TestFault" + variable="myVar"/> + </sequence> +</process> Added: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorld.wsdl URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorld.wsdl?rev=956870&view=auto ============================================================================== --- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorld.wsdl (added) +++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorld.wsdl Tue Jun 22 12:57:41 2010 @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- + ~ 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.wsdl" + xmlns="http://schemas.xmlsoap.org/wsdl/" + xmlns:tns="http://ode/bpel/unit-test.wsdl" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" + xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"> + + <wsdl:message name="HelloMessage"> + <wsdl:part name="TestPart" type="xsd:string"/> + </wsdl:message> + + <wsdl:portType name="HelloPortType"> + <wsdl:operation name="hello"> + <wsdl:input message="tns:HelloMessage" name="TestIn"/> + <wsdl:output message="tns:HelloMessage" name="TestOut"/> + <wsdl:fault message="tns:HelloMessage" name="TestFault"/> + </wsdl:operation> + </wsdl:portType> + + <wsdl:binding name="HelloSoapBinding" type="tns:HelloPortType"> + <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="hello"> + <soap:operation soapAction="" style="rpc"/> + <wsdl:input> + <soap:body + namespace="http://ode/bpel/unit-test.wsdl" + use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body + namespace="http://ode/bpel/unit-test.wsdl" + use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="HelloService"> + <wsdl:port name="HelloPort" binding="tns:HelloSoapBinding"> + <soap:address location="http://localhost:8080/ode/processes/helloWorld"/> + </wsdl:port> + </wsdl:service> + + <plnk:partnerLinkType name="HelloPartnerLinkType"> + <plnk:role name="me" portType="tns:HelloPortType"/> + <plnk:role name="you" portType="tns:HelloPortType"/> + </plnk:partnerLinkType> +</wsdl:definitions> + Added: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorldAtomic.bpel URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorldAtomic.bpel?rev=956870&view=auto ============================================================================== --- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorldAtomic.bpel (added) +++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorldAtomic.bpel Tue Jun 22 12:57:41 2010 @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ 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. +--> +<bpel:process + xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop" + xmlns:pnlk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:Start="http://ode/bpel/unit-test/Start" + xmlns:HelloWorld="http://ode/bpel/unit-test/HelloWorld" + xmlns:this="http://ode/bpel/unit-test" + xmlns:diag="http://ode/bpel/unit-test.wsdl" + xmlns:tns="http://ode/bpel/unit-test.wsdl" + xmlns:xml="http://www.w3.org/XML/1998/namespace" + xmlns:atomic="http://ode.apache.org/atomicScope" + queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0" + expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0" + name="HelloWorldAtomic" targetNamespace="http://ode/bpel/unit-test"> + <bpel:import namespace="http://ode/bpel/unit-test.wsdl" + location="HelloWorld.wsdl" + importType="http://schemas.xmlsoap.org/wsdl/"/> + <bpel:import namespace="http://ode/bpel/unit-test.wsdl" + location="HelloWorldAtomic.wsdl" + importType="http://schemas.xmlsoap.org/wsdl/"/> + <bpel:partnerLinks> + <bpel:partnerLink name="helloWorldAndPoolForHelloPortPlkVar" + partnerLinkType="diag:HelloWorldAndPoolForHelloPortPlk" + initializePartnerRole="true" partnerRole="HelloWorld_for_Pool"/> + <bpel:partnerLink name="poolAndStartForHelloPortPlkVar" + partnerLinkType="diag:PoolAndStartForHelloPortPlk" + myRole="Pool_for_Start"/> + </bpel:partnerLinks> + <bpel:variables> + <bpel:variable name="tnsHelloRequestMsg" messageType="tns:HelloMessage"/> + <bpel:variable name="tnsHelloResponseMsg" messageType="tns:HelloMessage"/> + </bpel:variables> + <bpel:sequence> + <bpel:receive partnerLink="poolAndStartForHelloPortPlkVar" + portType="tns:HelloPortType" operation="hello" + variable="tnsHelloRequestMsg" createInstance="yes"/> + <bpel:scope atomic="yes"> + <bpel:assign> + <bpel:copy> + <bpel:from variable="tnsHelloRequestMsg"/> + <bpel:to variable="tnsHelloResponseMsg"/> + </bpel:copy> + </bpel:assign> + </bpel:scope> + <bpel:reply partnerLink="poolAndStartForHelloPortPlkVar" + portType="tns:HelloPortType" operation="hello" + variable="tnsHelloResponseMsg"/> + </bpel:sequence> +</bpel:process> Added: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorldAtomic.wsdl URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorldAtomic.wsdl?rev=956870&view=auto ============================================================================== --- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorldAtomic.wsdl (added) +++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorldAtomic.wsdl Tue Jun 22 12:57:41 2010 @@ -0,0 +1,44 @@ +<?xml version='1.0' encoding='utf-8'?> +<!-- + ~ 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 + xmlns:bpdm="http://www.intalio/designer/business-process-data-modeling" + xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable" + xmlns:diag="http://ode/bpel/unit-test.wsdl" + xmlns:Start="http://ode/bpel/unit-test.wsdl/Start" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:tns="http://ode/bpel/unit-test.wsdl" + xmlns:Pool="http://example.com/diagram/Pool" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop" + xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" + xmlns:pnlk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + targetNamespace="http://ode/bpel/unit-test.wsdl"> + <wsdl:import namespace="http://ode/bpel/unit-test.wsdl" + location="HelloWorld.wsdl"/> + <wsdl:import namespace="http://ode/bpel/unit-test.wsdl" + location="HelloWorldExternal.wsdl"/> + <pnlk:partnerLinkType name="HelloWorldAndPoolForHelloPortPlk"> + <pnlk:role name="HelloWorld_for_Pool" portType="tns:HelloPortType"/> + </pnlk:partnerLinkType> + <pnlk:partnerLinkType name="PoolAndStartForHelloPortPlk"> + <pnlk:role name="Pool_for_Start" portType="tns:HelloPortType"/> + </pnlk:partnerLinkType> +</wsdl:definitions> Added: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorldExternal.wsdl URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorldExternal.wsdl?rev=956870&view=auto ============================================================================== --- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorldExternal.wsdl (added) +++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/HelloWorldExternal.wsdl Tue Jun 22 12:57:41 2010 @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- + ~ 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.wsdl" + xmlns="http://schemas.xmlsoap.org/wsdl/" + xmlns:tns="http://ode/bpel/unit-test.wsdl" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" + xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"> + + <wsdl:message name="HelloMessage"> + <wsdl:part name="TestPart" type="xsd:string"/> + </wsdl:message> + + <wsdl:portType name="HelloPortType"> + <wsdl:operation name="hello"> + <wsdl:input message="tns:HelloMessage" name="TestIn"/> + <wsdl:output message="tns:HelloMessage" name="TestOut"/> + </wsdl:operation> + </wsdl:portType> + + <wsdl:binding name="HelloSoapBinding" type="tns:HelloPortType"> + <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="hello"> + <soap:operation soapAction="" style="rpc"/> + <wsdl:input> + <soap:body + namespace="http://ode/bpel/unit-test.wsdl" + use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body + namespace="http://ode/bpel/unit-test.wsdl" + use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="AtomicHelloService"> + <wsdl:port name="AtomicHelloPort" binding="tns:HelloSoapBinding"> + <soap:address location="http://localhost:8080/ode/processes/AtomicHelloWorld"/> + </wsdl:port> + </wsdl:service> + + <plnk:partnerLinkType name="HelloPartnerLinkType"> + <plnk:role name="me" portType="tns:HelloPortType"/> + <plnk:role name="you" portType="tns:HelloPortType"/> + </plnk:partnerLinkType> +</wsdl:definitions> + Added: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/deploy.xml URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/deploy.xml?rev=956870&view=auto ============================================================================== --- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/deploy.xml (added) +++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/deploy.xml Tue Jun 22 12:57:41 2010 @@ -0,0 +1,40 @@ +<!-- + ~ 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://www.apache.org/ode/schemas/dd/2007/03" + xmlns:pns="http://ode/bpel/unit-test" + xmlns:wns="http://ode/bpel/unit-test.wsdl"> + + <process name="pns:HelloWorld"> + <active>true</active> + <provide partnerLink="helloPartnerLink"> + <service name="wns:HelloService" port="HelloPort"/> + </provide> + </process> + + <process name="pns:HelloWorldAtomic"> + <active>true</active> + <provide partnerLink="poolAndStartForHelloPortPlkVar"> + <service name="wns:AtomicHelloService" port="AtomicHelloPort"/> + </provide> + <invoke partnerLink="helloWorldAndPoolForHelloPortPlkVar"> + <service name="wns:HelloService" port="HelloPort"/> + </invoke> + </process> + +</deploy> Added: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/test.properties URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/test.properties?rev=956870&view=auto ============================================================================== --- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/test.properties (added) +++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAtomicScopeBasic/test.properties Tue Jun 22 12:57:41 2010 @@ -0,0 +1,23 @@ +# +# 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. +# + +namespace=http://ode/bpel/unit-test.wsdl +service=AtomicHelloService +operation=hello +request1=<message><TestPart><content>Hello</content></TestPart></message> +response1=.*Hello.* + Added: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIsolatedScopes1/TestActivityFlow.bpel URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIsolatedScopes1/TestActivityFlow.bpel?rev=956870&view=auto ============================================================================== --- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIsolatedScopes1/TestActivityFlow.bpel (added) +++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIsolatedScopes1/TestActivityFlow.bpel Tue Jun 22 12:57:41 2010 @@ -0,0 +1,314 @@ +<!-- + ~ 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://docs.oasis-open.org/wsbpel/2.0/process/executable ../../../../../../../bpel-schemas/src/main/resources/wsbpel_executable.xsd" + xmlns:tns="http://ode/bpel/unit-test/testFlowActivity2" + xmlns:wns="http://ode/bpel/unit-test/testFlowActivity2.wsdl" + xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl" + xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable" + xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable" + name="TestActivityFlow" + targetNamespace="http://ode/bpel/unit-test/testFlowActivity2" + suppressJoinFailure="yes"> + + <!-- Test Flow using XPath 10 --> + + <import location="TestActivityFlow.wsdl" + namespace="http://ode/bpel/unit-test/testFlowActivity2.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/"/> + + <!-- test control flow elements --> + <!-- sequence --> + <!-- flow ( links ) --> + <!-- swith --> + <!-- while --> + <partnerLinks> + <partnerLink name="request" partnerLinkType="wns:testFlowActivityRequest" myRole="testFlowActivityService"/> + <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"/> + <variable name="internalState" messageType="wns:internalProcessData"/> + </variables> + <sequence> + <flow> + <links> + <link name="receive-to-assign1"/> + <link name="assign1-to-probe1"/> + <link name="assign1-to-probe2"/> + <link name="probe1-to-probe3"/> + <link name="probe2-to-probe3"/> + </links> + + <!-- Basic sanity check for isolated scopes, make sure we can acquire our locks and that the outgoing links + get propagated correctly. --> + <scope isolated="yes"> + <receive name="receive1" partnerLink="request" portType="wns:testFlowActivityPT" + operation="request" variable="request" createInstance="yes"> + <sources> + <source linkName="receive-to-assign1"/> + </sources> + </receive> + </scope> + + <!-- Copy input variables to internal accumulators --> + <!-- After the copy the process splits into two execution paths --> + <sequence> + <targets> + <target linkName="receive-to-assign1"/> + </targets> + <sources> + <source linkName="assign1-to-probe1"/> + <source linkName="assign1-to-probe2"/> + </sources> + <assign name="assign1"> + <copy> + <from>$request.requestMessageData/requestID</from> + <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[root process splits into A and B]]></literal> + </from> + <to variable="probeInput" part="probeName"/> + </copy> + </assign> + <invoke name="probe2" partnerLink="probe" portType="prb:probeMessagePT" + operation="probe" inputVariable="probeInput" outputVariable="probeInput" + > </invoke> + </sequence> + <!-- probe1 outbound status is dependent on the request input testFlow1 --> + <sequence> + <targets> + <target linkName="assign1-to-probe1"/> + </targets> + <sources> + <source linkName="probe1-to-probe3"> + <transitionCondition>bpws:getVariableProperty("request", "wns:testFlow1") = + 'yes'</transitionCondition> + </source> + </sources> + <assign> + <copy> + <from> + <literal><![CDATA[process A completes]]></literal> + </from> + <to variable="probeInput" part="probeName"/> + </copy> + </assign> + <invoke name="probe3" partnerLink="probe" portType="prb:probeMessagePT" + operation="probe" inputVariable="probeInput" outputVariable="probeInput" + > </invoke> + </sequence> + <!-- probe2 outbound status is dependent on the request input testFlow2 --> + <sequence> + <targets> + <target linkName="assign1-to-probe2"/> + </targets> + <sources> + <source linkName="probe2-to-probe3"> + <transitionCondition>$request.requestMessageData/flowIndicators/indicatorTwo = + 'yes'</transitionCondition> + </source> + </sources> + <assign> + <copy> + <from> + <literal><![CDATA[process B completes]]></literal> + </from> + <to variable="probeInput" part="probeName"/> + </copy> + </assign> + <invoke name="probe4" partnerLink="probe" portType="prb:probeMessagePT" + operation="probe" inputVariable="probeInput" outputVariable="probeInput" + > </invoke> + </sequence> + <!-- The split execution path from assign1 joins on probe3 --> + <!-- Probe3 will only fire if the transition condition from probe1 and probe2 both evaluate to true --> + <sequence> + <targets> + <joinCondition>$probe1-to-probe3 and $probe2-to-probe3</joinCondition> + <target linkName="probe1-to-probe3"/> + <target linkName="probe2-to-probe3"/> + </targets> + <assign> + <copy> + <from> + <literal><![CDATA[processes A and B merge on process C]]></literal> + </from> + <to variable="probeInput" part="probeName"/> + </copy> + </assign> + <invoke name="probe5" partnerLink="probe" portType="prb:probeMessagePT" + operation="probe" inputVariable="probeInput" outputVariable="probeInput" + > </invoke> + </sequence> + </flow> + <assign> + <copy> + <from> + <literal><![CDATA[merge into root process]]></literal> + </from> + <to variable="probeInput" part="probeName"/> + </copy> + </assign> + <invoke name="probe6" partnerLink="probe" portType="prb:probeMessagePT" operation="probe" + inputVariable="probeInput" outputVariable="probeInput"> </invoke> + <!-- from the input data loopIndicator set the number of loop interations --> + <assign> + <copy> + <from> + <literal><![CDATA[test switch statement]]></literal> + </from> + <to variable="probeInput" part="probeName"/> + </copy> + </assign> + <invoke name="probe7" partnerLink="probe" portType="prb:probeMessagePT" operation="probe" + inputVariable="probeInput" outputVariable="probeInput"> </invoke> + <if> + <condition>bpws:getVariableProperty("request", "wns:loopInd") = 'min'</condition> + <then> + <sequence> + <assign name="flow1-min-assign"> + <copy> + <from>5</from> + <to variable="internalState" part="loop1"/> + </copy> + <copy> + <from> + <literal><![CDATA[case min: set loop iterations = 5]]></literal> + </from> + <to variable="probeInput" part="probeName"/> + </copy> + </assign> + <invoke name="probe8" partnerLink="probe" portType="prb:probeMessagePT" + operation="probe" inputVariable="probeInput" outputVariable="probeInput" + > </invoke> + </sequence> + </then> + <elseif> + <condition>$request.requestMessageData/loopIndicator = 'max'</condition> + <sequence> + <assign name="flow1-max-assign"> + <copy> + <from>10</from> + <to variable="internalState" part="loop1"/> + </copy> + <copy> + <from> + <literal><![CDATA[case max: set loop iterations = 10]]></literal> + </from> + <to variable="probeInput" part="probeName"/> + </copy> + </assign> + <invoke name="probe9" partnerLink="probe" portType="prb:probeMessagePT" + operation="probe" inputVariable="probeInput" outputVariable="probeInput" + > </invoke> + </sequence> + </elseif> + <else> + <sequence> + <assign name="flow1-default-assign"> + <copy> + <from>0</from> + <to variable="internalState" part="loop1"/> + </copy> + <copy> + <from> + <literal><![CDATA[otherwise: set loop iterations = 0]]></literal> + </from> + <to variable="probeInput" part="probeName"/> + </copy> + </assign> + <invoke name="probe10" partnerLink="probe" portType="prb:probeMessagePT" + operation="probe" inputVariable="probeInput" outputVariable="probeInput" + > </invoke> + </sequence> + </else> + </if> + + <assign name="while-increment-initialize"> + <copy> + <from>0</from> + <to variable="internalState" part="loop1Counter"></to> + </copy> + <copy> + <from> + <literal><![CDATA[test loop iterations]]></literal> + </from> + <to variable="probeInput" part="probeName"/> + </copy> + </assign> + <invoke name="probe10" partnerLink="probe" portType="prb:probeMessagePT" operation="probe" + inputVariable="probeInput" outputVariable="probeInput"> </invoke> + <while> + <condition>$internalState.loop1Counter < $internalState.loop1</condition> + <sequence> + <assign name="while-increment"> + <copy> + <from>$internalState.loop1Counter + 1</from> + <to variable="internalState" part="loop1Counter"/> + </copy> + <copy> + <from>$internalState.loop1Counter + 1</from> + <to variable="probeInput" part="probeName"/> + </copy> + </assign> + <invoke name="probe11" partnerLink="probe" portType="prb:probeMessagePT" + operation="probe" inputVariable="probeInput" outputVariable="probeInput"/> + + </sequence> + </while> + <!-- copy internal accumulators to the reply message --> + <assign> + <copy> + <from> + <literal><![CDATA[test1Process complete]]></literal> + </from> + <to variable="probeInput" part="probeName"/> + </copy> + </assign> + <invoke name="probe12" 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="request" portType="wns:testFlowActivityPT" operation="request" + variable="reply"> </reply> + </sequence> +</process> Added: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIsolatedScopes1/TestActivityFlow.wsdl URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIsolatedScopes1/TestActivityFlow.wsdl?rev=956870&view=auto ============================================================================== --- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIsolatedScopes1/TestActivityFlow.wsdl (added) +++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIsolatedScopes1/TestActivityFlow.wsdl Tue Jun 22 12:57:41 2010 @@ -0,0 +1,123 @@ +<!-- + ~ 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" + xmlns:tns="http://ode/bpel/unit-test/testFlowActivity2.wsdl" + xmlns="http://ode/bpel/unit-test/testFlowActivity2.wsdl" + xmlns:typens="http://ode/bpel/unit-test/testFlowActivity2.wsdl.types" + xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"> + + <!-- type defs --> + <wsdl:types> + <xsd:schema + targetNamespace="http://ode/bpel/unit-test/testFlowActivity2.wsdl.types" + xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + <xsd:complexType name="flowIndicator"> + <xsd:sequence> + <xsd:element name="indicatorOne" type="xsd:boolean"/> + <xsd:element name="indicatorTwo" type="xsd:boolean"/> + </xsd:sequence> + </xsd:complexType> + + <xsd:complexType name="testMessage"> + <xsd:sequence> + <xsd:element name="requestID" type="xsd:string"/> + <xsd:element name="requestText" type="xsd:string"/> + <xsd:element name="flowIndicators" type="typens:flowIndicator"/> + <xsd:element name="loopIndicator" 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:message name="internalProcessData"> + <wsdl:part name="loop1Counter" type="xsd:int"/> + <wsdl:part name="loop1" type="xsd:int"/> + </wsdl:message> + + <!-- portType supported by the test process --> + + <wsdl:portType name="testFlowActivityPT"> + <wsdl:operation name="request"> + <wsdl:input message="requestMessage"/> + <wsdl:output message="replyMessage"/> + </wsdl:operation> + </wsdl:portType> + + <wsdl:binding name="TestFlowActivityBinding" type="tns:testFlowActivityPT"> + <wsdl:operation name="request"> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="TestFlowActivityService"> + <wsdl:port name="TestFlowActivityPort" binding="tns:TestFlowActivityBinding"> + </wsdl:port> + </wsdl:service> + + <plnk:partnerLinkType name="testFlowActivityRequest"> + <plnk:role name="testFlowActivityService" portType="tns:testFlowActivityPT"/> + </plnk:partnerLinkType> + + <plnk:partnerLinkType name="probeRequest"> + <plnk:role name="probeService" portType="prb:probeMessagePT"/> + </plnk:partnerLinkType> + + <vprop:property name="testProbeData" type="xsd:string"/> + <vprop:propertyAlias propertyName="tns:testProbeData" messageType="tns:requestMessage" part="requestMessageData"> + <vprop:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"> + requestText + </vprop:query> + </vprop:propertyAlias> + + <vprop:property name="testFlow1" type="xsd:boolean"/> + <vprop:propertyAlias propertyName="tns:testFlow1" messageType="tns:requestMessage" part="requestMessageData"> + + <vprop:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"> + flowIndicators/indicatorOne + </vprop:query> + + </vprop:propertyAlias> + + + <vprop:property name="loopInd" type="xsd:string"/> + <vprop:propertyAlias propertyName="tns:loopInd" messageType="tns:requestMessage" part="requestMessageData"> + + <vprop:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"> + loopIndicator + </vprop:query> + + </vprop:propertyAlias> + + + +</wsdl:definitions> Added: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIsolatedScopes1/deploy.xml URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIsolatedScopes1/deploy.xml?rev=956870&view=auto ============================================================================== --- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIsolatedScopes1/deploy.xml (added) +++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIsolatedScopes1/deploy.xml Tue Jun 22 12:57:41 2010 @@ -0,0 +1,34 @@ + +<!-- + ~ 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://www.apache.org/ode/schemas/dd/2007/03" + xmlns:pns="http://ode/bpel/unit-test/testFlowActivity2" + xmlns:wns="http://ode/bpel/unit-test/testFlowActivity2.wsdl"> + + + <process name="pns:TestActivityFlow"> + <active>true</active> + <provide partnerLink="request"> + <service name="wns:TestFlowActivityService" port="wns:TestFlowActivityPort"/> + </provide> + <invoke partnerLink="probe"> + <service name="ignore" port="ignore"/> + </invoke> + </process> +</deploy> Added: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIsolatedScopes1/test.properties URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIsolatedScopes1/test.properties?rev=956870&view=auto ============================================================================== --- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIsolatedScopes1/test.properties (added) +++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIsolatedScopes1/test.properties Tue Jun 22 12:57:41 2010 @@ -0,0 +1,32 @@ +# +# 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. +# + +namespace=http://ode/bpel/unit-test/testFlowActivity2.wsdl +service=TestFlowActivityService +operation=request +request1=<message><requestMessageData><requestID>Start Test1.1</requestID><requestText>Event Start Test1.1</requestText><flowIndicators><indicatorOne>yes</indicatorOne><indicatorTwo>yes</indicatorTwo></flowIndicators><loopIndicator>min</loopIndicator></requestMessageData></message> +response1=.*processes A and B merge on process C -> merge into root process -> test switch statement -> case min: set loop iterations = 5 -> test loop iterations -> 2\.0 -> 3\.0 -> 4\.0 -> 5\.0 -> 6\.0 -> test1Process complete.* +request2=<message><requestMessageData><requestID>Start Test1.2</requestID><requestText>Event Start Test1.2</requestText><flowIndicators><indicatorOne>yes</indicatorOne><indicatorTwo>no</indicatorTwo></flowIndicators><loopIndicator>min</loopIndicator></requestMessageData></message> +response2=.*merge into root process -> test switch statement -> case min: set loop iterations = 5 -> test loop iterations -> 2\.0 -> 3\.0 -> 4\.0 -> 5\.0 -> 6\.0 -> test1Process complete.* +request3=<message><requestMessageData><requestID>Start Test1.3</requestID><requestText>Event Start Test1.3</requestText><flowIndicators><indicatorOne>no</indicatorOne><indicatorTwo>yes</indicatorTwo></flowIndicators><loopIndicator>min</loopIndicator></requestMessageData></message> +response3=.*merge into root process -> test switch statement -> case min: set loop iterations = 5 -> test loop iterations -> 2\.0 -> 3\.0 -> 4\.0 -> 5\.0 -> 6\.0 -> test1Process complete.* +request4=<message><requestMessageData><requestID>Start Test1.4</requestID><requestText>Event Start Test1.4</requestText><flowIndicators><indicatorOne>no</indicatorOne><indicatorTwo>no</indicatorTwo></flowIndicators><loopIndicator>min</loopIndicator></requestMessageData></message> +response4=.*merge into root process -> test switch statement -> case min: set loop iterations = 5 -> test loop iterations -> 2\.0 -> 3\.0 -> 4\.0 -> 5\.0 -> 6\.0 -> test1Process complete.* +request5=<message><requestMessageData><requestID>Start Test1.5</requestID><requestText>Event Start Test1.5</requestText><flowIndicators><indicatorOne>yes</indicatorOne><indicatorTwo>yes</indicatorTwo></flowIndicators><loopIndicator>max</loopIndicator></requestMessageData></message> +response5=.*processes A and B merge on process C -> merge into root process -> test switch statement -> case max: set loop iterations = 10 -> test loop iterations -> 2\.0 -> 3\.0 -> 4\.0 -> 5\.0 -> 6\.0 -> 7\.0 -> 8\.0 -> 9\.0 -> 10\.0 -> 11\.0 -> test1Process complete.* +request6=<message><requestMessageData><requestID>Start Test1.6</requestID><requestText>Event Start Test1.6</requestText><flowIndicators><indicatorOne>yes</indicatorOne><indicatorTwo>yes</indicatorTwo></flowIndicators><loopIndicator>default</loopIndicator></requestMessageData></message> +response6=.*processes A and B merge on process C -> merge into root process -> test switch statement -> otherwise: set loop iterations = 0 -> test loop iterations -> test1Process complete.*
