You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by va...@apache.org on 2010/05/27 17:52:38 UTC
svn commit: r948869 [14/20] - in /ode/trunk: ./
agents/src/main/java/org/apache/ode/agents/memory/ axis2-war/
axis2-war/src/main/assembly/ axis2-war/src/main/webapp/WEB-INF/conf/
axis2-war/src/main/webapp/js/ axis2-war/src/test/java/org/apache/ode/axis...
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.bpel
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.bpel?rev=948869&r1=948868&r2=948869&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.bpel (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.bpel Thu May 27 15:52:24 2010
@@ -1,196 +1,196 @@
<!--
- ~ 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.
+ ~ 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/testFlowActivity1"
- xmlns:wns="http://ode/bpel/unit-test/testFlowActivity1.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/testFlowActivity1"
- suppressJoinFailure="yes"
- queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
- expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
+ xmlns:tns="http://ode/bpel/unit-test/testFlowActivity1"
+ xmlns:wns="http://ode/bpel/unit-test/testFlowActivity1.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/testFlowActivity1"
+ suppressJoinFailure="yes"
+ queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
- <!-- Test Flow using XPath 20 -->
+ <!-- Test Flow using XPath 20 -->
- <import location="TestActivityFlow.wsdl"
- namespace="http://ode/bpel/unit-test/testFlowActivity1.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>
- <receive name="receive1" partnerLink="request" portType="wns:testFlowActivityPT"
- operation="request" variable="request" createInstance="yes">
- <sources>
- <source linkName="receive-to-assign1"/>
- </sources>
- </receive>
- <!-- 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>
+ <import location="TestActivityFlow.wsdl"
+ namespace="http://ode/bpel/unit-test/testFlowActivity1.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>
+ <receive name="receive1" partnerLink="request" portType="wns:testFlowActivityPT"
+ operation="request" variable="request" createInstance="yes">
+ <sources>
+ <source linkName="receive-to-assign1"/>
+ </sources>
+ </receive>
+ <!-- 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>
<sequence>
<assign name="flow1-min-assign">
<copy>
@@ -208,101 +208,101 @@
operation="probe" inputVariable="probeInput" outputVariable="probeInput"
> </invoke>
</sequence>
- <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"/>
+ <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>
+ </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>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.wsdl
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.wsdl?rev=948869&r1=948868&r2=948869&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.wsdl (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.wsdl Thu May 27 15:52:24 2010
@@ -34,18 +34,18 @@
targetNamespace="http://ode/bpel/unit-test/testFlowActivity1.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:element name="indicatorOne" type="xsd:boolean"/>
+ <xsd:element name="indicatorTwo" type="xsd:boolean"/>
</xsd:sequence>
- </xsd:complexType>
+ </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:element name="loopIndicator" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
@@ -85,11 +85,11 @@
</wsdl:service>
<plnk:partnerLinkType name="testFlowActivityRequest">
- <plnk:role name="testFlowActivityService" portType="tns:testFlowActivityPT"/>
+ <plnk:role name="testFlowActivityService" portType="tns:testFlowActivityPT"/>
</plnk:partnerLinkType>
<plnk:partnerLinkType name="probeRequest">
- <plnk:role name="probeService" portType="prb:probeMessagePT"/>
+ <plnk:role name="probeService" portType="prb:probeMessagePT"/>
</plnk:partnerLinkType>
<vprop:property name="testProbeData" type="xsd:string"/>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/deploy.xml
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/deploy.xml?rev=948869&r1=948868&r2=948869&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/deploy.xml (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/deploy.xml Thu May 27 15:52:24 2010
@@ -1,34 +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.
+ ~ 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/testFlowActivity1"
- xmlns:wns="http://ode/bpel/unit-test/testFlowActivity1.wsdl">
+ xmlns:pns="http://ode/bpel/unit-test/testFlowActivity1"
+ xmlns:wns="http://ode/bpel/unit-test/testFlowActivity1.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>
+ <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>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/TestActivityFlow.bpel
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/TestActivityFlow.bpel?rev=948869&r1=948868&r2=948869&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/TestActivityFlow.bpel (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/TestActivityFlow.bpel Thu May 27 15:52:24 2010
@@ -1,194 +1,194 @@
<!--
- ~ 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.
+ ~ 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: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"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
name="TestActivityFlow"
- targetNamespace="http://ode/bpel/unit-test/testFlowActivity2"
+ 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>
- <receive name="receive1" partnerLink="request" portType="wns:testFlowActivityPT"
- operation="request" variable="request" createInstance="yes">
- <sources>
- <source linkName="receive-to-assign1"/>
- </sources>
- </receive>
- <!-- 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>
+ <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>
+ <receive name="receive1" partnerLink="request" portType="wns:testFlowActivityPT"
+ operation="request" variable="request" createInstance="yes">
+ <sources>
+ <source linkName="receive-to-assign1"/>
+ </sources>
+ </receive>
+ <!-- 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>
<sequence>
<assign name="flow1-min-assign">
<copy>
@@ -206,101 +206,101 @@
operation="probe" inputVariable="probeInput" outputVariable="probeInput"
> </invoke>
</sequence>
- <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"/>
+ <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>
+ </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>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/TestActivityFlow.wsdl
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/TestActivityFlow.wsdl?rev=948869&r1=948868&r2=948869&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/TestActivityFlow.wsdl (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/TestActivityFlow.wsdl Thu May 27 15:52:24 2010
@@ -34,18 +34,18 @@
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:element name="indicatorOne" type="xsd:boolean"/>
+ <xsd:element name="indicatorTwo" type="xsd:boolean"/>
</xsd:sequence>
- </xsd:complexType>
+ </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:element name="loopIndicator" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
@@ -85,11 +85,11 @@
</wsdl:service>
<plnk:partnerLinkType name="testFlowActivityRequest">
- <plnk:role name="testFlowActivityService" portType="tns:testFlowActivityPT"/>
+ <plnk:role name="testFlowActivityService" portType="tns:testFlowActivityPT"/>
</plnk:partnerLinkType>
<plnk:partnerLinkType name="probeRequest">
- <plnk:role name="probeService" portType="prb:probeMessagePT"/>
+ <plnk:role name="probeService" portType="prb:probeMessagePT"/>
</plnk:partnerLinkType>
<vprop:property name="testProbeData" type="xsd:string"/>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/deploy.xml
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/deploy.xml?rev=948869&r1=948868&r2=948869&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/deploy.xml (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity2/deploy.xml Thu May 27 15:52:24 2010
@@ -1,34 +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.
+ ~ 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">
+ 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>
+ <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>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowLinks/TestCase.wsdl
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowLinks/TestCase.wsdl?rev=948869&r1=948868&r2=948869&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowLinks/TestCase.wsdl (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowLinks/TestCase.wsdl Thu May 27 15:52:24 2010
@@ -18,12 +18,12 @@
~ under the License.
-->
<wsdl:definitions name="TestCase"
- xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
- xmlns:saw="workflowns"
- xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns="http://schemas.xmlsoap.org/wsdl/"
- targetNamespace="workflowns"
+ xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:saw="workflowns"
+ xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ targetNamespace="workflowns"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
@@ -31,23 +31,23 @@
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- targetNamespace="workflowns">
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="workflowns">
<xsd:element name="ExecuteWorkflow">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ExecuteWorkflowResponse">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ExecuteWorkflowResponse">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
</wsdl:types>
<wsdl:message name="ExecuteWorkflowSoapIn">
<wsdl:part name="parameters" element="saw:ExecuteWorkflow"/>
@@ -74,11 +74,11 @@
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="TestCase">
- <wsdl:port name="Workflow" binding="saw:WorkflowSOAP">
- <soap:address location="http://localhost:8080/ode/processes/TestCase"/>
- </wsdl:port>
+ <wsdl:port name="Workflow" binding="saw:WorkflowSOAP">
+ <soap:address location="http://localhost:8080/ode/processes/TestCase"/>
+ </wsdl:port>
</wsdl:service>
<plnk:partnerLinkType name="TestCase">
- <plnk:role name="WorkflowRole" portType="saw:Workflow"/>
+ <plnk:role name="WorkflowRole" portType="saw:Workflow"/>
</plnk:partnerLinkType>
</wsdl:definitions>
\ No newline at end of file
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowLinks/deploy.xml
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowLinks/deploy.xml?rev=948869&r1=948868&r2=948869&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowLinks/deploy.xml (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowLinks/deploy.xml Thu May 27 15:52:24 2010
@@ -18,7 +18,7 @@
~ under the License.
-->
<deploy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.apache.org/ode/schemas/dd/2007/03">
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.apache.org/ode/schemas/dd/2007/03">
<process xmlns:q1="workflowns" name="q1:TestCase">
<provide partnerLink="TestCase">
<service name="q1:TestCase" port="Workflow" />
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestForEach/foreach.xsd
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestForEach/foreach.xsd?rev=948869&r1=948868&r2=948869&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestForEach/foreach.xsd (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestForEach/foreach.xsd Thu May 27 15:52:24 2010
@@ -18,9 +18,9 @@
~ under the License.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://www.example.org/jms"
- xmlns:tns="http://www.example.org/foreach"
- elementFormDefault="qualified">
+ targetNamespace="http://www.example.org/jms"
+ xmlns:tns="http://www.example.org/foreach"
+ elementFormDefault="qualified">
<xs:element name="input" type="xs:string" />
</xs:schema>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIMA/TestIMA.wsdl
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIMA/TestIMA.wsdl?rev=948869&r1=948868&r2=948869&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIMA/TestIMA.wsdl (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIMA/TestIMA.wsdl Thu May 27 15:52:24 2010
@@ -1,70 +1,70 @@
-<?xml version="1.0"?>
-<!--
- ~ 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.
--->
-<definitions name="TestIMA"
- targetNamespace="http://ode/bpel/unit-test/TestIMA.wsdl"
- xmlns:tns="http://ode/bpel/unit-test/TestIMA.wsdl"
- xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
- xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
- >
-
- <message name="TestIMAMessage">
- <part name="payload" type="xsd:string"/>
+<?xml version="1.0"?>
+<!--
+ ~ 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.
+-->
+<definitions name="TestIMA"
+ targetNamespace="http://ode/bpel/unit-test/TestIMA.wsdl"
+ xmlns:tns="http://ode/bpel/unit-test/TestIMA.wsdl"
+ xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
+ >
+
+ <message name="TestIMAMessage">
+ <part name="payload" type="xsd:string"/>
<part name="value" type="xsd:string"/>
- </message>
-
- <portType name="TestIMA">
- <operation name="process">
- <input message="tns:TestIMAMessage" />
- <output message="tns:TestIMAMessage"/>
- </operation>
+ </message>
+
+ <portType name="TestIMA">
+ <operation name="process">
+ <input message="tns:TestIMAMessage" />
+ <output message="tns:TestIMAMessage"/>
+ </operation>
<operation name="complete">
<input message="tns:TestIMAMessage" />
<output message="tns:TestIMAMessage"/>
</operation>
- <operation name="inOnly">
- <input message="tns:TestIMAMessage"></input>
- </operation>
- <operation name="inOut">
- <input message="tns:TestIMAMessage"></input>
- <output message="tns:TestIMAMessage"></output>
- </operation>
- <operation name="inOut2">
- <input message="tns:TestIMAMessage"></input>
- <output message="tns:TestIMAMessage"></output>
- </operation>
- <operation name="inOut3">
- <input message="tns:TestIMAMessage"></input>
- <output message="tns:TestIMAMessage"></output>
- </operation>
- <operation name="inOut4">
+ <operation name="inOnly">
<input message="tns:TestIMAMessage"></input>
- <output message="tns:TestIMAMessage"></output>
- </operation>
- </portType>
-
- <plnk:partnerLinkType name="TestIMAPL">
- <plnk:role name="TestIMAProvider" portType="tns:TestIMA"/>
- </plnk:partnerLinkType>
- <vprop:property name="input" type="xsd:string"/>
- <vprop:propertyAlias propertyName="tns:input" messageType="tns:TestIMAMessage" part="payload" type="xsd:string"/>
-</definitions>
+ </operation>
+ <operation name="inOut">
+ <input message="tns:TestIMAMessage"></input>
+ <output message="tns:TestIMAMessage"></output>
+ </operation>
+ <operation name="inOut2">
+ <input message="tns:TestIMAMessage"></input>
+ <output message="tns:TestIMAMessage"></output>
+ </operation>
+ <operation name="inOut3">
+ <input message="tns:TestIMAMessage"></input>
+ <output message="tns:TestIMAMessage"></output>
+ </operation>
+ <operation name="inOut4">
+ <input message="tns:TestIMAMessage"></input>
+ <output message="tns:TestIMAMessage"></output>
+ </operation>
+ </portType>
+
+ <plnk:partnerLinkType name="TestIMAPL">
+ <plnk:role name="TestIMAProvider" portType="tns:TestIMA"/>
+ </plnk:partnerLinkType>
+ <vprop:property name="input" type="xsd:string"/>
+ <vprop:propertyAlias propertyName="tns:input" messageType="tns:TestIMAMessage" part="payload" type="xsd:string"/>
+</definitions>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIMA/deploy.xml
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIMA/deploy.xml?rev=948869&r1=948868&r2=948869&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIMA/deploy.xml (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIMA/deploy.xml Thu May 27 15:52:24 2010
@@ -1,33 +1,33 @@
<!--
- ~ 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.
+ ~ 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/TestIMA"
- xmlns:wns="http://ode/bpel/unit-test/TestIMA.wsdl">
+ xmlns:pns="http://ode/bpel/unit-test/TestIMA"
+ xmlns:wns="http://ode/bpel/unit-test/TestIMA.wsdl">
- <process name="pns:TestIMAProcess">
- <active>true</active>
- <provide partnerLink="client">
- <service name="wns:TestIMAService" port="wns:TestIMAPort"/>
- </provide>
+ <process name="pns:TestIMAProcess">
+ <active>true</active>
+ <provide partnerLink="client">
+ <service name="wns:TestIMAService" port="wns:TestIMAPort"/>
+ </provide>
<invoke partnerLink="client">
<service name="wns:TestIMAService" port="wns:TestIMAPort"/>
</invoke>
- </process>
+ </process>
</deploy>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIf/TestIf.wsdl
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIf/TestIf.wsdl?rev=948869&r1=948868&r2=948869&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIf/TestIf.wsdl (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIf/TestIf.wsdl Thu May 27 15:52:24 2010
@@ -55,9 +55,9 @@
</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:port name="HelloPort" binding="tns:HelloSoapBinding">
+ <soap:address location="http://localhost:8080/ode/processes/helloWorld"/>
+ </wsdl:port>
</wsdl:service>
<plnk:partnerLinkType name="HelloPartnerLinkType">
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIf/deploy.xml
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIf/deploy.xml?rev=948869&r1=948868&r2=948869&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIf/deploy.xml (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestIf/deploy.xml Thu May 27 15:52:24 2010
@@ -17,14 +17,14 @@
~ 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">
+ xmlns:pns="http://ode/bpel/unit-test"
+ xmlns:wns="http://ode/bpel/unit-test.wsdl">
- <process name="pns:TestIf">
- <active>true</active>
- <provide partnerLink="helloPartnerLink">
- <service name="wns:HelloService" port="HelloPort"/>
- </provide>
- </process>
+ <process name="pns:TestIf">
+ <active>true</active>
+ <provide partnerLink="helloPartnerLink">
+ <service name="wns:HelloService" port="HelloPort"/>
+ </provide>
+ </process>
</deploy>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestImplicitFaultHandler/TestImplicitFaultHandler.bpel
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestImplicitFaultHandler/TestImplicitFaultHandler.bpel?rev=948869&r1=948868&r2=948869&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestImplicitFaultHandler/TestImplicitFaultHandler.bpel (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestImplicitFaultHandler/TestImplicitFaultHandler.bpel Thu May 27 15:52:24 2010
@@ -1,112 +1,112 @@
<!--
- ~ 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.
+ ~ 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:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable" xmlns:tns="http://ode/bpel/unit-test/testImplicitFaultHandler" xmlns:flt="http://ode/bpel/unit-test/FaultService.wsdl"
- xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl" xmlns:wns="http://ode/bpel/unit-test/testImplicitFaultHandler.wsdl" xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
- targetNamespace="http://ode/bpel/unit-test/testImplicitFaultHandler" name="testImplicitFaultHandler" suppressJoinFailure="yes" queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
- expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
-
- <!-- test embeded fault and comp handlers in invokes -->
- <!-- the first no op invoke will install a comp handler -->
- <!-- the second invoke will generated an error and handle it -->
- <!-- the error hanndling will throw and error which is not handled -->
- <!-- this will cause implicit compensation on the installed comp handler -->
- <!-- that comp handler will throw an error out of the process -->
-
- <import location="TestImplicitFaultHandler.wsdl" namespace="http://ode/bpel/unit-test/testImplicitFaultHandler.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/"/>
- <import location="../FaultService/faultService.wsdl" namespace="http://ode/bpel/unit-test/FaultService.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
-
- <partnerLinks>
- <partnerLink name="request" partnerLinkType="wns:testImplicitFaultHandlerRequest" myRole="testImplicitFaultHandlerService"/>
- <partnerLink name="probe" partnerLinkType="wns:probeRequest" partnerRole="probeService" initializePartnerRole="yes"/>
- <partnerLink name="fault" partnerLinkType="wns:faultRequest" partnerRole="faultService" initializePartnerRole="yes"/>
- </partnerLinks>
-
- <variables>
- <variable name="request" messageType="wns:requestMessage"/>
- <variable name="reply1" messageType="wns:replyMessage"/>
- <variable name="reply2" messageType="wns:replyMessage"/>
- <variable name="fault" messageType="flt:faultMessage"/>
- <variable name="faultResponse" messageType="flt:faultMessage"/>
- <variable name="probeInput" messageType="prb:probeMessage"/>
- </variables>
- <faultHandlers>
- <catch faultName="tns:fault">
- <compensate/>
- </catch>
- </faultHandlers>
- <sequence>
- <receive name="receive1" partnerLink="request" portType="wns:testImplicitFaultHandlerPT" operation="request" variable="request" createInstance="yes"> </receive>
- <assign>
- <copy>
- <from variable="request" part="requestID"/>
- <to variable="probeInput" part="probeName"/>
- </copy>
- <copy>
- <from variable="request" part="requestText"/>
- <to variable="probeInput" part="probeData"/>
- </copy>
- </assign>
- <invoke name="probe" partnerLink="probe" portType="prb:probeMessagePT" operation="probe" inputVariable="probeInput" outputVariable="probeInput">
- <compensationHandler>
- <sequence>
- <throw faultName="tns:faultFromCompensationHandlerInInvoke"/>
- </sequence>
- </compensationHandler>
- </invoke>
-
- <assign>
- <copy>
- <from>$request.requestID</from>
- <to variable="fault" part="faultName"/>
- </copy>
- <copy>
- <from>$request.requestText</from>
- <to variable="fault" part="faultData"/>
- </copy>
- <copy>
- <from>$request.faultIndicator1</from>
- <to>$fault.faultIndicator1</to>
- </copy>
- <copy>
- <from>$request.faultIndicator2</from>
- <to>$fault.faultIndicator2</to>
- </copy>
- </assign>
-
- <invoke name="throwTestFault" partnerLink="fault" portType="flt:faultMessagePT" operation="throwFault" inputVariable="fault" outputVariable="faultResponse">
- <catch faultName="flt:FaultMessage1" faultVariable="testError" faultMessageType="flt:errorMessage">
- <sequence>
- <assign>
- <copy>
- <from>'caught FaultMessage1'</from>
- <to variable="reply2" part="replyText"/>
- </copy>
- </assign>
- <throw faultName="tns:fault"/>
- </sequence>
- </catch>
- </invoke>
- <reply name="reply" partnerLink="request" portType="wns:testImplicitFaultHandlerPT" operation="request" variable="reply2"> </reply>
- </sequence>
+ xsi:schemaLocation="http://docs.oasis-open.org/wsbpel/2.0/process/executable ../../../../../../../bpel-schemas/src/main/resources/wsbpel_executable.xsd"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable" xmlns:tns="http://ode/bpel/unit-test/testImplicitFaultHandler" xmlns:flt="http://ode/bpel/unit-test/FaultService.wsdl"
+ xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl" xmlns:wns="http://ode/bpel/unit-test/testImplicitFaultHandler.wsdl" xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ targetNamespace="http://ode/bpel/unit-test/testImplicitFaultHandler" name="testImplicitFaultHandler" suppressJoinFailure="yes" queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
+
+ <!-- test embeded fault and comp handlers in invokes -->
+ <!-- the first no op invoke will install a comp handler -->
+ <!-- the second invoke will generated an error and handle it -->
+ <!-- the error hanndling will throw and error which is not handled -->
+ <!-- this will cause implicit compensation on the installed comp handler -->
+ <!-- that comp handler will throw an error out of the process -->
+
+ <import location="TestImplicitFaultHandler.wsdl" namespace="http://ode/bpel/unit-test/testImplicitFaultHandler.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/"/>
+ <import location="../FaultService/faultService.wsdl" namespace="http://ode/bpel/unit-test/FaultService.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
+
+ <partnerLinks>
+ <partnerLink name="request" partnerLinkType="wns:testImplicitFaultHandlerRequest" myRole="testImplicitFaultHandlerService"/>
+ <partnerLink name="probe" partnerLinkType="wns:probeRequest" partnerRole="probeService" initializePartnerRole="yes"/>
+ <partnerLink name="fault" partnerLinkType="wns:faultRequest" partnerRole="faultService" initializePartnerRole="yes"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request" messageType="wns:requestMessage"/>
+ <variable name="reply1" messageType="wns:replyMessage"/>
+ <variable name="reply2" messageType="wns:replyMessage"/>
+ <variable name="fault" messageType="flt:faultMessage"/>
+ <variable name="faultResponse" messageType="flt:faultMessage"/>
+ <variable name="probeInput" messageType="prb:probeMessage"/>
+ </variables>
+ <faultHandlers>
+ <catch faultName="tns:fault">
+ <compensate/>
+ </catch>
+ </faultHandlers>
+ <sequence>
+ <receive name="receive1" partnerLink="request" portType="wns:testImplicitFaultHandlerPT" operation="request" variable="request" createInstance="yes"> </receive>
+ <assign>
+ <copy>
+ <from variable="request" part="requestID"/>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ <copy>
+ <from variable="request" part="requestText"/>
+ <to variable="probeInput" part="probeData"/>
+ </copy>
+ </assign>
+ <invoke name="probe" partnerLink="probe" portType="prb:probeMessagePT" operation="probe" inputVariable="probeInput" outputVariable="probeInput">
+ <compensationHandler>
+ <sequence>
+ <throw faultName="tns:faultFromCompensationHandlerInInvoke"/>
+ </sequence>
+ </compensationHandler>
+ </invoke>
+
+ <assign>
+ <copy>
+ <from>$request.requestID</from>
+ <to variable="fault" part="faultName"/>
+ </copy>
+ <copy>
+ <from>$request.requestText</from>
+ <to variable="fault" part="faultData"/>
+ </copy>
+ <copy>
+ <from>$request.faultIndicator1</from>
+ <to>$fault.faultIndicator1</to>
+ </copy>
+ <copy>
+ <from>$request.faultIndicator2</from>
+ <to>$fault.faultIndicator2</to>
+ </copy>
+ </assign>
+
+ <invoke name="throwTestFault" partnerLink="fault" portType="flt:faultMessagePT" operation="throwFault" inputVariable="fault" outputVariable="faultResponse">
+ <catch faultName="flt:FaultMessage1" faultVariable="testError" faultMessageType="flt:errorMessage">
+ <sequence>
+ <assign>
+ <copy>
+ <from>'caught FaultMessage1'</from>
+ <to variable="reply2" part="replyText"/>
+ </copy>
+ </assign>
+ <throw faultName="tns:fault"/>
+ </sequence>
+ </catch>
+ </invoke>
+ <reply name="reply" partnerLink="request" portType="wns:testImplicitFaultHandlerPT" operation="request" variable="reply2"> </reply>
+ </sequence>
</process>