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 2008/05/23 01:26:18 UTC
svn commit: r659307 [18/24] - in /ode/trunk:
axis2-war/src/main/webapp/WEB-INF/ axis2-war/src/main/webapp/WEB-INF/classes/
axis2-war/src/test/resources/XSDReferences/
axis2-war/src/test/resources/XSDReferences/BPMN/
axis2-war/src/test/resources/XSDRefe...
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/TestSimpleTypeParts.bpel
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/TestSimpleTypeParts.bpel?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/TestSimpleTypeParts.bpel (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/TestSimpleTypeParts.bpel Thu May 22 16:25:57 2008
@@ -1,75 +1,75 @@
-<!--
- ~ 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/TestSimpleTypeParts"
- xmlns:wns="http://ode/bpel/unit-test/TestSimpleTypeParts.wsdl"
- targetNamespace="http://ode/bpel/unit-test/TestSimpleTypeParts"
- xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
- xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
- name="TestSimpleTypeParts"
- queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
- expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
- suppressJoinFailure="yes">
-
- <import location="TestSimpleTypeParts.wsdl"
- namespace="http://ode/bpel/unit-test/TestSimpleTypeParts.wsdl"
- importType="http://schemas.xmlsoap.org/wsdl/" />
- <import location="../ProbeService/probeService.wsdl"
- namespace="http://ode/bpel/unit-test/ProbeService.wsdl"
- importType="http://schemas.xmlsoap.org/wsdl/"/>
-
-
- <partnerLinks>
- <partnerLink name="request" partnerLinkType="wns:TestSimpleTypePartsRequest" myRole="TestSimpleTypePartsService"/>
- </partnerLinks>
-
- <variables>
- <variable name="request"
- messageType="wns:requestMessage"/>
- <variable name="reply"
- messageType="wns:replyMessage"/>
- </variables>
-
- <sequence>
- <receive name="receive1" partnerLink="request"
- portType="wns:TestSimpleTypePartsPT"
- operation="request" variable="request"
- createInstance="yes">
- </receive>
-
- <assign name="assign1">
- <copy>
- <from variable="request" property="wns:testProbeID"/>
- <to variable="reply" part="replyID"/>
- </copy>
- <copy>
- <from variable="request" part="requestText"/>
- <to variable="reply" part="replyText"/>
- </copy>
- </assign>
-
- <reply name="reply" partnerLink="request" portType="wns:TestSimpleTypePartsPT"
- operation="request" variable="reply">
- </reply>
-
-
- </sequence>
-</process>
+<!--
+ ~ 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/TestSimpleTypeParts"
+ xmlns:wns="http://ode/bpel/unit-test/TestSimpleTypeParts.wsdl"
+ targetNamespace="http://ode/bpel/unit-test/TestSimpleTypeParts"
+ xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ name="TestSimpleTypeParts"
+ queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ suppressJoinFailure="yes">
+
+ <import location="TestSimpleTypeParts.wsdl"
+ namespace="http://ode/bpel/unit-test/TestSimpleTypeParts.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/" />
+ <import location="../ProbeService/probeService.wsdl"
+ namespace="http://ode/bpel/unit-test/ProbeService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"/>
+
+
+ <partnerLinks>
+ <partnerLink name="request" partnerLinkType="wns:TestSimpleTypePartsRequest" myRole="TestSimpleTypePartsService"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request"
+ messageType="wns:requestMessage"/>
+ <variable name="reply"
+ messageType="wns:replyMessage"/>
+ </variables>
+
+ <sequence>
+ <receive name="receive1" partnerLink="request"
+ portType="wns:TestSimpleTypePartsPT"
+ operation="request" variable="request"
+ createInstance="yes">
+ </receive>
+
+ <assign name="assign1">
+ <copy>
+ <from variable="request" property="wns:testProbeID"/>
+ <to variable="reply" part="replyID"/>
+ </copy>
+ <copy>
+ <from variable="request" part="requestText"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+
+ <reply name="reply" partnerLink="request" portType="wns:TestSimpleTypePartsPT"
+ operation="request" variable="reply">
+ </reply>
+
+
+ </sequence>
+</process>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/TestSimpleTypeParts.wsdl
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/TestSimpleTypeParts.wsdl?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/TestSimpleTypeParts.wsdl (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/TestSimpleTypeParts.wsdl Thu May 22 16:25:57 2008
@@ -1,68 +1,68 @@
-<!--
- ~ 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/TestSimpleTypeParts.wsdl"
- xmlns:tns="http://ode/bpel/unit-test/TestSimpleTypeParts.wsdl"
- xmlns="http://ode/bpel/unit-test/TestSimpleTypeParts.wsdl"
- 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">
-
-
- <wsdl:message name="requestMessage">
- <wsdl:part name="requestID" type="xsd:string"/>
- <wsdl:part name="requestText" type="xsd:string"/>
- </wsdl:message>
-
- <wsdl:message name="replyMessage">
- <wsdl:part name="replyID" type="xsd:string"/>
- <wsdl:part name="replyText" type="xsd:string"/>
- </wsdl:message>
-
- <wsdl:portType name="TestSimpleTypePartsPT">
- <wsdl:operation name="request">
- <wsdl:input message="requestMessage"/>
- <wsdl:output message="replyMessage"/>
- </wsdl:operation>
- </wsdl:portType>
-
- <wsdl:binding name="TestSimpleTypePartsBinding" type="tns:TestSimpleTypePartsPT">
- <wsdl:operation name="request">
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="TestSimpleTypePartsService">
- <wsdl:port name="TestSimpleTypePartsPort" binding="tns:TestSimpleTypePartsBinding">
- </wsdl:port>
- </wsdl:service>
-
- <vprop:property name="testProbeID" type="xsd:string"/>
- <vprop:propertyAlias propertyName="tns:testProbeID" messageType="tns:requestMessage" part="requestID"/>
-
- <plnk:partnerLinkType name="TestSimpleTypePartsRequest">
- <plnk:role name="TestSimpleTypePartsService" portType="TestSimpleTypePartsPT"/>
- </plnk:partnerLinkType>
-
- <plnk:partnerLinkType name="probeRequest">
- <plnk:role name="probeService" portType="prb:probeMessagePT"/>
- </plnk:partnerLinkType>
-
-</wsdl:definitions>
+<!--
+ ~ 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/TestSimpleTypeParts.wsdl"
+ xmlns:tns="http://ode/bpel/unit-test/TestSimpleTypeParts.wsdl"
+ xmlns="http://ode/bpel/unit-test/TestSimpleTypeParts.wsdl"
+ 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">
+
+
+ <wsdl:message name="requestMessage">
+ <wsdl:part name="requestID" type="xsd:string"/>
+ <wsdl:part name="requestText" type="xsd:string"/>
+ </wsdl:message>
+
+ <wsdl:message name="replyMessage">
+ <wsdl:part name="replyID" type="xsd:string"/>
+ <wsdl:part name="replyText" type="xsd:string"/>
+ </wsdl:message>
+
+ <wsdl:portType name="TestSimpleTypePartsPT">
+ <wsdl:operation name="request">
+ <wsdl:input message="requestMessage"/>
+ <wsdl:output message="replyMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="TestSimpleTypePartsBinding" type="tns:TestSimpleTypePartsPT">
+ <wsdl:operation name="request">
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="TestSimpleTypePartsService">
+ <wsdl:port name="TestSimpleTypePartsPort" binding="tns:TestSimpleTypePartsBinding">
+ </wsdl:port>
+ </wsdl:service>
+
+ <vprop:property name="testProbeID" type="xsd:string"/>
+ <vprop:propertyAlias propertyName="tns:testProbeID" messageType="tns:requestMessage" part="requestID"/>
+
+ <plnk:partnerLinkType name="TestSimpleTypePartsRequest">
+ <plnk:role name="TestSimpleTypePartsService" portType="TestSimpleTypePartsPT"/>
+ </plnk:partnerLinkType>
+
+ <plnk:partnerLinkType name="probeRequest">
+ <plnk:role name="probeService" portType="prb:probeMessagePT"/>
+ </plnk:partnerLinkType>
+
+</wsdl:definitions>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/TestSimpleVariableType.bpel
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/TestSimpleVariableType.bpel?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/TestSimpleVariableType.bpel (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/TestSimpleVariableType.bpel Thu May 22 16:25:57 2008
@@ -1,82 +1,82 @@
-<!--
- ~ 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"
- targetNamespace="http://ode/bpel/unit-test/TestSimpleVariableType"
- xmlns:tns="http://ode/bpel/unit-test/TestSimpleVariableType"
- xmlns:wns="http://ode/bpel/unit-test/TestSimpleVariableType.wsdl"
- xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
- xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- name="TestSimpleVariableType"
- queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
- expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
- suppressJoinFailure="yes">
-
- <import location="TestSimpleVariableType.wsdl"
- namespace="http://ode/bpel/unit-test/TestSimpleVariableType.wsdl"
- importType="http://schemas.xmlsoap.org/wsdl/" />
- <import location="../ProbeService/probeService.wsdl"
- namespace="http://ode/bpel/unit-test/ProbeService.wsdl"
- importType="http://schemas.xmlsoap.org/wsdl/"/>
-
- <partnerLinks>
- <partnerLink name="request" partnerLinkType="wns:TestSimpleVariableTypeRequest" myRole="TestSimpleVariableTypeService"/>
- </partnerLinks>
-
- <variables>
- <variable name="request"
- messageType="wns:requestMessage"/>
- <variable name="testType" type="xsd:string"/>
- <variable name="reply"
- messageType="wns:replyMessage"/>
- </variables>
-
- <sequence>
- <receive name="receive1" partnerLink="request"
- portType="wns:TestSimpleVariableTypePT"
- operation="request" variable="request"
- createInstance="yes">
- </receive>
-
- <!-- Copy input variables to internal accumulators -->
-
- <assign name="assign1">
- <copy>
- <from variable="request" property="wns:testProbeID"/>
- <to variable="testType"/>
- </copy>
- <copy>
- <from variable="testType"/>
- <to variable="reply" part="replyID"/>
- </copy>
- <copy>
- <from variable="request" part="requestText"/>
- <to variable="reply" part="replyText"/>
- </copy>
- </assign>
-
- <reply name="reply" partnerLink="request" portType="wns:TestSimpleVariableTypePT"
- operation="request" variable="reply">
- </reply>
-
-
- </sequence>
-</process>
+<!--
+ ~ 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"
+ targetNamespace="http://ode/bpel/unit-test/TestSimpleVariableType"
+ xmlns:tns="http://ode/bpel/unit-test/TestSimpleVariableType"
+ xmlns:wns="http://ode/bpel/unit-test/TestSimpleVariableType.wsdl"
+ xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ name="TestSimpleVariableType"
+ queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ suppressJoinFailure="yes">
+
+ <import location="TestSimpleVariableType.wsdl"
+ namespace="http://ode/bpel/unit-test/TestSimpleVariableType.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/" />
+ <import location="../ProbeService/probeService.wsdl"
+ namespace="http://ode/bpel/unit-test/ProbeService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"/>
+
+ <partnerLinks>
+ <partnerLink name="request" partnerLinkType="wns:TestSimpleVariableTypeRequest" myRole="TestSimpleVariableTypeService"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request"
+ messageType="wns:requestMessage"/>
+ <variable name="testType" type="xsd:string"/>
+ <variable name="reply"
+ messageType="wns:replyMessage"/>
+ </variables>
+
+ <sequence>
+ <receive name="receive1" partnerLink="request"
+ portType="wns:TestSimpleVariableTypePT"
+ operation="request" variable="request"
+ createInstance="yes">
+ </receive>
+
+ <!-- Copy input variables to internal accumulators -->
+
+ <assign name="assign1">
+ <copy>
+ <from variable="request" property="wns:testProbeID"/>
+ <to variable="testType"/>
+ </copy>
+ <copy>
+ <from variable="testType"/>
+ <to variable="reply" part="replyID"/>
+ </copy>
+ <copy>
+ <from variable="request" part="requestText"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+
+ <reply name="reply" partnerLink="request" portType="wns:TestSimpleVariableTypePT"
+ operation="request" variable="reply">
+ </reply>
+
+
+ </sequence>
+</process>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/TestSimpleVariableType.wsdl
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/TestSimpleVariableType.wsdl?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/TestSimpleVariableType.wsdl (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/TestSimpleVariableType.wsdl Thu May 22 16:25:57 2008
@@ -1,68 +1,68 @@
-<!--
- ~ 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/TestSimpleVariableType.wsdl"
- xmlns:tns="http://ode/bpel/unit-test/TestSimpleVariableType.wsdl"
- xmlns="http://ode/bpel/unit-test/TestSimpleVariableType.wsdl"
- 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">
-
-
- <wsdl:message name="requestMessage">
- <wsdl:part name="requestID" type="xsd:string"/>
- <wsdl:part name="requestText" type="xsd:string"/>
- </wsdl:message>
-
- <wsdl:message name="replyMessage">
- <wsdl:part name="replyID" type="xsd:string"/>
- <wsdl:part name="replyText" type="xsd:string"/>
- </wsdl:message>
-
- <wsdl:portType name="TestSimpleVariableTypePT">
- <wsdl:operation name="request">
- <wsdl:input message="requestMessage"/>
- <wsdl:output message="replyMessage"/>
- </wsdl:operation>
- </wsdl:portType>
-
- <wsdl:binding name="TestSimpleVariableTypeBinding" type="tns:TestSimpleVariableTypePT">
- <wsdl:operation name="request">
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="TestSimpleVariableTypeService">
- <wsdl:port name="TestSimpleVariableTypePort" binding="tns:TestSimpleVariableTypeBinding">
- </wsdl:port>
- </wsdl:service>
-
- <vprop:property name="testProbeID" type="xsd:string"/>
- <vprop:propertyAlias propertyName="tns:testProbeID" messageType="tns:requestMessage" part="requestID"/>
-
- <plnk:partnerLinkType name="TestSimpleVariableTypeRequest">
- <plnk:role name="TestSimpleVariableTypeService" portType="TestSimpleVariableTypePT"/>
- </plnk:partnerLinkType>
-
- <plnk:partnerLinkType name="probeRequest">
- <plnk:role name="probeService" portType="prb:probeMessagePT"/>
- </plnk:partnerLinkType>
-
-</wsdl:definitions>
+<!--
+ ~ 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/TestSimpleVariableType.wsdl"
+ xmlns:tns="http://ode/bpel/unit-test/TestSimpleVariableType.wsdl"
+ xmlns="http://ode/bpel/unit-test/TestSimpleVariableType.wsdl"
+ 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">
+
+
+ <wsdl:message name="requestMessage">
+ <wsdl:part name="requestID" type="xsd:string"/>
+ <wsdl:part name="requestText" type="xsd:string"/>
+ </wsdl:message>
+
+ <wsdl:message name="replyMessage">
+ <wsdl:part name="replyID" type="xsd:string"/>
+ <wsdl:part name="replyText" type="xsd:string"/>
+ </wsdl:message>
+
+ <wsdl:portType name="TestSimpleVariableTypePT">
+ <wsdl:operation name="request">
+ <wsdl:input message="requestMessage"/>
+ <wsdl:output message="replyMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="TestSimpleVariableTypeBinding" type="tns:TestSimpleVariableTypePT">
+ <wsdl:operation name="request">
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="TestSimpleVariableTypeService">
+ <wsdl:port name="TestSimpleVariableTypePort" binding="tns:TestSimpleVariableTypeBinding">
+ </wsdl:port>
+ </wsdl:service>
+
+ <vprop:property name="testProbeID" type="xsd:string"/>
+ <vprop:propertyAlias propertyName="tns:testProbeID" messageType="tns:requestMessage" part="requestID"/>
+
+ <plnk:partnerLinkType name="TestSimpleVariableTypeRequest">
+ <plnk:role name="TestSimpleVariableTypeService" portType="TestSimpleVariableTypePT"/>
+ </plnk:partnerLinkType>
+
+ <plnk:partnerLinkType name="probeRequest">
+ <plnk:role name="probeService" portType="prb:probeMessagePT"/>
+ </plnk:partnerLinkType>
+
+</wsdl:definitions>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/TestStaticOnMessage.bpel
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/TestStaticOnMessage.bpel?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/TestStaticOnMessage.bpel (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/TestStaticOnMessage.bpel Thu May 22 16:25:57 2008
@@ -1,234 +1,234 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
--->
-
-<process xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://docs.oasis-open.org/wsbpel/2.0/process/executable ../../../../../../../bpel-schemas/src/main/resources/wsbpel_executable.xsd"
- xmlns:tns="http://ode/bpel/unit-test/TestStaticOnMessage"
- xmlns:wns="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl"
- xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
- xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
- name="TestStaticOnMessageProcess"
- targetNamespace="http://ode/bpel/unit-test/TestStaticOnMessage"
- queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
- expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
- suppressJoinFailure="yes">
-
- <!-- test onMessage with static correlation key -->
-
- <import location="TestStaticOnMessage.wsdl"
- namespace="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl"
- importType="http://schemas.xmlsoap.org/wsdl/" />
- <import location="../ProbeService/probeService.wsdl"
- namespace="http://ode/bpel/unit-test/ProbeService.wsdl"
- importType="http://schemas.xmlsoap.org/wsdl/"/>
-
-
- <partnerLinks>
- <partnerLink name="request1" partnerLinkType="wns:TestStaticOnMessage1Request" myRole="TestStaticOnMessage1Service"/>
- <partnerLink name="probe" partnerLinkType="wns:probeRequest" partnerRole="probeService" initializePartnerRole="yes"/>
- </partnerLinks>
-
- <variables>
- <variable name="request"
- messageType="wns:requestMessage"/>
- <variable name="probeInput"
- messageType="prb:probeMessage"/>
- <variable name="reply"
- messageType="wns:replyMessage"/>
- </variables>
-
- <correlationSets>
- <correlationSet name="testCorr1" properties="wns:testProbeID"/>
- </correlationSets>
-
- <sequence>
-
- <receive name="receive1" partnerLink="request1"
- portType="wns:TestStaticOnMessage1PT"
- operation="request" variable="request"
- createInstance="yes">
- <correlations>
- <correlation set="testCorr1" initiate="yes"/>
- </correlations>
- </receive>
-
- <scope name="scopeOne">
- <eventHandlers>
-
- <onEvent partnerLink="request1" messageType="wns:requestMessage"
- portType="wns:TestStaticOnMessage1PT" operation="event1" variable="request">
-
- <correlations>
- <correlation set="testCorr1"/>
- </correlations>
-
- <scope>
- <sequence>
- <assign>
- <copy>
- <from>
- <literal><![CDATA[received event on TestStaticOnMessage3PT]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
- </invoke>
- </sequence>
- </scope>
- </onEvent>
- <onEvent partnerLink="request1" messageType="wns:requestMessage"
- portType="wns:TestStaticOnMessage1PT" operation="event2" variable="request">
-
- <correlations>
- <correlation set="testCorr1"/>
- </correlations>
-
- <scope>
- <sequence>
- <assign>
- <copy>
- <from>
- <literal><![CDATA[received event on TestStaticOnMessage4PT]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
- </invoke>
- </sequence>
- </scope>
- </onEvent>
-
-
- </eventHandlers>
-
- <sequence>
-
-
-
- <!-- Copy input variables to internal accumulators -->
-
- <assign name="assign1">
- <copy>
- <from variable="request" property="wns:testProbeID"/>
- <to variable="probeInput" part="probeName"/>
- </copy>
- <copy>
- <from variable="request" property="wns:testProbeData"/>
- <to variable="probeInput" part="probeData"/>
- </copy>
- </assign>
-
-
- <assign>
- <copy>
- <from>
- <literal><![CDATA[block for next message]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
- </invoke>
-
- <!-- block the process here while test messages are sent to the eventHandlers -->
-
- <receive name="receive2" partnerLink="request1"
- portType="wns:TestStaticOnMessage1PT"
- operation="continue1" variable="request">
- <correlations>
- <correlation set="testCorr1"/>
- </correlations>
- </receive>
-
- </sequence>
- </scope>
-
- <assign>
- <copy>
- <from>
- <literal><![CDATA[block for final message]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
- </invoke>
-
- <receive name="receive3" partnerLink="request1"
- portType="wns:TestStaticOnMessage1PT"
- operation="continue2" variable="request">
- <correlations>
- <correlation set="testCorr1"/>
- </correlations>
- </receive>
-
- <assign>
- <copy>
- <from>
- <literal><![CDATA[process complete]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
- </invoke>
- <assign name="assign2">
- <copy>
- <from variable="probeInput" part="probeName"/>
- <to variable="reply" part="replyID"/>
- </copy>
- <copy>
- <from variable="probeInput" part="probeData"/>
- <to variable="reply" part="replyText"/>
- </copy>
- </assign>
-
- <reply name="reply" partnerLink="request1" portType="wns:TestStaticOnMessage1PT"
- operation="continue2" variable="reply">
- </reply>
-
- </sequence>
-</process>
+<!--
+ ~ 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/TestStaticOnMessage"
+ xmlns:wns="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl"
+ xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ name="TestStaticOnMessageProcess"
+ targetNamespace="http://ode/bpel/unit-test/TestStaticOnMessage"
+ queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ suppressJoinFailure="yes">
+
+ <!-- test onMessage with static correlation key -->
+
+ <import location="TestStaticOnMessage.wsdl"
+ namespace="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/" />
+ <import location="../ProbeService/probeService.wsdl"
+ namespace="http://ode/bpel/unit-test/ProbeService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"/>
+
+
+ <partnerLinks>
+ <partnerLink name="request1" partnerLinkType="wns:TestStaticOnMessage1Request" myRole="TestStaticOnMessage1Service"/>
+ <partnerLink name="probe" partnerLinkType="wns:probeRequest" partnerRole="probeService" initializePartnerRole="yes"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request"
+ messageType="wns:requestMessage"/>
+ <variable name="probeInput"
+ messageType="prb:probeMessage"/>
+ <variable name="reply"
+ messageType="wns:replyMessage"/>
+ </variables>
+
+ <correlationSets>
+ <correlationSet name="testCorr1" properties="wns:testProbeID"/>
+ </correlationSets>
+
+ <sequence>
+
+ <receive name="receive1" partnerLink="request1"
+ portType="wns:TestStaticOnMessage1PT"
+ operation="request" variable="request"
+ createInstance="yes">
+ <correlations>
+ <correlation set="testCorr1" initiate="yes"/>
+ </correlations>
+ </receive>
+
+ <scope name="scopeOne">
+ <eventHandlers>
+
+ <onEvent partnerLink="request1" messageType="wns:requestMessage"
+ portType="wns:TestStaticOnMessage1PT" operation="event1" variable="request">
+
+ <correlations>
+ <correlation set="testCorr1"/>
+ </correlations>
+
+ <scope>
+ <sequence>
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[received event on TestStaticOnMessage3PT]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+ </sequence>
+ </scope>
+ </onEvent>
+ <onEvent partnerLink="request1" messageType="wns:requestMessage"
+ portType="wns:TestStaticOnMessage1PT" operation="event2" variable="request">
+
+ <correlations>
+ <correlation set="testCorr1"/>
+ </correlations>
+
+ <scope>
+ <sequence>
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[received event on TestStaticOnMessage4PT]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+ </sequence>
+ </scope>
+ </onEvent>
+
+
+ </eventHandlers>
+
+ <sequence>
+
+
+
+ <!-- Copy input variables to internal accumulators -->
+
+ <assign name="assign1">
+ <copy>
+ <from variable="request" property="wns:testProbeID"/>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ <copy>
+ <from variable="request" property="wns:testProbeData"/>
+ <to variable="probeInput" part="probeData"/>
+ </copy>
+ </assign>
+
+
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[block for next message]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+
+ <!-- block the process here while test messages are sent to the eventHandlers -->
+
+ <receive name="receive2" partnerLink="request1"
+ portType="wns:TestStaticOnMessage1PT"
+ operation="continue1" variable="request">
+ <correlations>
+ <correlation set="testCorr1"/>
+ </correlations>
+ </receive>
+
+ </sequence>
+ </scope>
+
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[block for final message]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+
+ <receive name="receive3" partnerLink="request1"
+ portType="wns:TestStaticOnMessage1PT"
+ operation="continue2" variable="request">
+ <correlations>
+ <correlation set="testCorr1"/>
+ </correlations>
+ </receive>
+
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[process complete]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+ <assign name="assign2">
+ <copy>
+ <from variable="probeInput" part="probeName"/>
+ <to variable="reply" part="replyID"/>
+ </copy>
+ <copy>
+ <from variable="probeInput" part="probeData"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+
+ <reply name="reply" partnerLink="request1" portType="wns:TestStaticOnMessage1PT"
+ operation="continue2" variable="reply">
+ </reply>
+
+ </sequence>
+</process>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/TestStaticOnMessage.wsdl
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/TestStaticOnMessage.wsdl?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/TestStaticOnMessage.wsdl (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticOnMessage/TestStaticOnMessage.wsdl Thu May 22 16:25:57 2008
@@ -1,116 +1,116 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
--->
-
-<wsdl:definitions
- targetNamespace="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl"
- xmlns:tns="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl"
- xmlns:typens="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl.types"
- xmlns="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl"
- xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
- xmlns:prop="http://docs.oasis-open.org/wsbpel/2.0/varprop">
-
-
- <wsdl:types>
- <xsd:schema
- targetNamespace="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl.types"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
- <xsd:complexType name="testMessage">
- <xsd:sequence>
- <xsd:element name="requestID" type="xsd:string"/>
- <xsd:element name="requestText" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
-
- </xsd:schema>
- </wsdl:types>
-
- <wsdl:message name="requestMessage">
- <wsdl:part name="requestMessageData" type="typens:testMessage"/>
- </wsdl:message>
-
- <wsdl:message name="replyMessage">
- <wsdl:part name="replyID" type="xsd:string"/>
- <wsdl:part name="replyText" type="xsd:string"/>
- </wsdl:message>
-
-
- <wsdl:portType name="TestStaticOnMessage1PT">
- <wsdl:operation name="request">
- <wsdl:input message="requestMessage"/>
- </wsdl:operation>
- <wsdl:operation name="event1">
- <wsdl:input message="requestMessage"/>
- </wsdl:operation>
- <wsdl:operation name="event2">
- <wsdl:input message="requestMessage"/>
- </wsdl:operation>
- <wsdl:operation name="continue1">
- <wsdl:input message="requestMessage"/>
- </wsdl:operation>
- <wsdl:operation name="continue2">
- <wsdl:input message="requestMessage"/>
- <wsdl:output message="replyMessage"/>
- </wsdl:operation>
- </wsdl:portType>
-
- <wsdl:binding name="TestStaticOnMessage1Binding" type="tns:TestStaticOnMessage1PT">
- <wsdl:operation name="request">
- </wsdl:operation>
- <wsdl:operation name="event1">
- </wsdl:operation>
- <wsdl:operation name="event2">
- </wsdl:operation>
- <wsdl:operation name="continue1">
- </wsdl:operation>
- <wsdl:operation name="continue2">
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="TestStaticOnMessage1Service">
- <wsdl:port name="TestStaticOnMessage1Port" binding="tns:TestStaticOnMessage1Binding">
- </wsdl:port>
- </wsdl:service>
-
- <prop:property name="testProbeID" type="xsd:string"/>
- <prop:propertyAlias propertyName="tns:testProbeID" messageType="tns:requestMessage" part="requestMessageData">
- <prop:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
- requestID
- </prop:query>
- </prop:propertyAlias>
-
- <prop:property name="testProbeData" type="xsd:string"/>
- <prop:propertyAlias propertyName="tns:testProbeData" messageType="tns:requestMessage" part="requestMessageData">
- <prop:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
- requestText
- </prop:query>
- </prop:propertyAlias>
-
- <plnk:partnerLinkType name="TestStaticOnMessage1Request">
- <plnk:role name="TestStaticOnMessage1Service" portType="TestStaticOnMessage1PT"/>
- </plnk:partnerLinkType>
-
- <plnk:partnerLinkType name="probeRequest">
- <plnk:role name="probeService" portType="prb:probeMessagePT"/>
- </plnk:partnerLinkType>
-
-</wsdl:definitions>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<wsdl:definitions
+ targetNamespace="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl"
+ xmlns:tns="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl"
+ xmlns:typens="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl.types"
+ xmlns="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl"
+ xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:prop="http://docs.oasis-open.org/wsbpel/2.0/varprop">
+
+
+ <wsdl:types>
+ <xsd:schema
+ targetNamespace="http://ode/bpel/unit-test/TestStaticOnMessage.wsdl.types"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:complexType name="testMessage">
+ <xsd:sequence>
+ <xsd:element name="requestID" type="xsd:string"/>
+ <xsd:element name="requestText" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ </xsd:schema>
+ </wsdl:types>
+
+ <wsdl:message name="requestMessage">
+ <wsdl:part name="requestMessageData" type="typens:testMessage"/>
+ </wsdl:message>
+
+ <wsdl:message name="replyMessage">
+ <wsdl:part name="replyID" type="xsd:string"/>
+ <wsdl:part name="replyText" type="xsd:string"/>
+ </wsdl:message>
+
+
+ <wsdl:portType name="TestStaticOnMessage1PT">
+ <wsdl:operation name="request">
+ <wsdl:input message="requestMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="event1">
+ <wsdl:input message="requestMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="event2">
+ <wsdl:input message="requestMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="continue1">
+ <wsdl:input message="requestMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="continue2">
+ <wsdl:input message="requestMessage"/>
+ <wsdl:output message="replyMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="TestStaticOnMessage1Binding" type="tns:TestStaticOnMessage1PT">
+ <wsdl:operation name="request">
+ </wsdl:operation>
+ <wsdl:operation name="event1">
+ </wsdl:operation>
+ <wsdl:operation name="event2">
+ </wsdl:operation>
+ <wsdl:operation name="continue1">
+ </wsdl:operation>
+ <wsdl:operation name="continue2">
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="TestStaticOnMessage1Service">
+ <wsdl:port name="TestStaticOnMessage1Port" binding="tns:TestStaticOnMessage1Binding">
+ </wsdl:port>
+ </wsdl:service>
+
+ <prop:property name="testProbeID" type="xsd:string"/>
+ <prop:propertyAlias propertyName="tns:testProbeID" messageType="tns:requestMessage" part="requestMessageData">
+ <prop:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
+ requestID
+ </prop:query>
+ </prop:propertyAlias>
+
+ <prop:property name="testProbeData" type="xsd:string"/>
+ <prop:propertyAlias propertyName="tns:testProbeData" messageType="tns:requestMessage" part="requestMessageData">
+ <prop:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
+ requestText
+ </prop:query>
+ </prop:propertyAlias>
+
+ <plnk:partnerLinkType name="TestStaticOnMessage1Request">
+ <plnk:role name="TestStaticOnMessage1Service" portType="TestStaticOnMessage1PT"/>
+ </plnk:partnerLinkType>
+
+ <plnk:partnerLinkType name="probeRequest">
+ <plnk:role name="probeService" portType="prb:probeMessagePT"/>
+ </plnk:partnerLinkType>
+
+</wsdl:definitions>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticPick/TestStaticPick.bpel
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticPick/TestStaticPick.bpel?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticPick/TestStaticPick.bpel (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticPick/TestStaticPick.bpel Thu May 22 16:25:57 2008
@@ -1,209 +1,209 @@
-<!--
- ~ 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/TestStaticPick"
- xmlns:wns="http://ode/bpel/unit-test/TestStaticPick.wsdl"
- xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
- xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
- name="TestStaticPick"
- targetNamespace="http://ode/bpel/unit-test/TestStaticPick"
- queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
- expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
- suppressJoinFailure="yes">
-
- <import location="TestStaticPick.wsdl"
- namespace="http://ode/bpel/unit-test/TestStaticPick.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/"/>
-
- <!-- Unit test pick with blocking static key -->
-
- <partnerLinks>
- <partnerLink name="request1" partnerLinkType="wns:TestStaticPick1Request" myRole="TestStaticPick1Service"/>
- <partnerLink name="probe" partnerLinkType="wns:probeRequest" partnerRole="probeService" initializePartnerRole="yes"/>
- </partnerLinks>
-
- <variables>
- <variable name="request"
- messageType="wns:requestMessage"/>
- <variable name="probeInput"
- messageType="prb:probeMessage"/>
- <variable name="reply"
- messageType="wns:replyMessage"/>
- </variables>
-
- <correlationSets>
- <correlationSet name="testCorr1" properties="wns:testProbeID"/>
- </correlationSets>
-
- <sequence>
- <receive name="receive1" partnerLink="request1"
- portType="wns:TestStaticPick1PT"
- operation="request" variable="request"
- createInstance="yes">
- <correlations>
- <correlation set="testCorr1" initiate="yes"/>
- </correlations>
- </receive>
-
- <assign name="assign1">
- <copy>
- <from variable="request" property="wns:testProbeID"/>
- <to variable="probeInput" part="probeName"/>
- </copy>
- <copy>
- <from variable="request" part="requestText"/>
- <to variable="probeInput" part="probeData"/>
- </copy>
- </assign>
-
-
- <assign>
- <copy>
- <from>
- <literal><![CDATA[block for next message]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
- </invoke>
-
- <pick name="testPick">
- <onMessage partnerLink="request1"
- portType="wns:TestStaticPick1PT" operation="continue1" variable="request">
- <correlations>
- <correlation set="testCorr1"/>
- </correlations>
- <sequence>
- <assign>
- <copy>
- <from>
- <literal><![CDATA[pick branch one invoked]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
- </invoke>
-
- <assign>
- <copy>
- <from>
- <literal><![CDATA[process complete]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
- </invoke>
-
- <assign name="assign2">
- <copy>
- <from variable="probeInput" part="probeName"/>
- <to variable="reply" part="replyID"/>
- </copy>
- <copy>
- <from variable="probeInput" part="probeData"/>
- <to variable="reply" part="replyText"/>
- </copy>
- </assign>
-
- <reply name="reply" partnerLink="request1" portType="wns:TestStaticPick1PT"
- operation="continue1" variable="reply">
- </reply>
-
- </sequence>
- </onMessage>
- <onMessage partnerLink="request1"
- portType="wns:TestStaticPick1PT" operation="continue2" variable="request">
- <correlations>
- <correlation set="testCorr1"/>
- </correlations>
- <sequence>
- <assign>
- <copy>
- <from>
- <literal><![CDATA[pick branch two invoked]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
- </invoke>
-
- <assign>
- <copy>
- <from>
- <literal><![CDATA[process complete]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
- </invoke>
- <assign name="assign2">
- <copy>
- <from variable="probeInput" part="probeName"/>
- <to variable="reply" part="replyID"/>
- </copy>
- <copy>
- <from variable="probeInput" part="probeData"/>
- <to variable="reply" part="replyText"/>
- </copy>
- </assign>
-
- <reply name="reply" partnerLink="request1" portType="wns:TestStaticPick1PT"
- operation="continue2" variable="reply">
- </reply>
-
- </sequence>
- </onMessage>
- </pick>
- </sequence>
-</process>
+<!--
+ ~ 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/TestStaticPick"
+ xmlns:wns="http://ode/bpel/unit-test/TestStaticPick.wsdl"
+ xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ name="TestStaticPick"
+ targetNamespace="http://ode/bpel/unit-test/TestStaticPick"
+ queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ suppressJoinFailure="yes">
+
+ <import location="TestStaticPick.wsdl"
+ namespace="http://ode/bpel/unit-test/TestStaticPick.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/"/>
+
+ <!-- Unit test pick with blocking static key -->
+
+ <partnerLinks>
+ <partnerLink name="request1" partnerLinkType="wns:TestStaticPick1Request" myRole="TestStaticPick1Service"/>
+ <partnerLink name="probe" partnerLinkType="wns:probeRequest" partnerRole="probeService" initializePartnerRole="yes"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request"
+ messageType="wns:requestMessage"/>
+ <variable name="probeInput"
+ messageType="prb:probeMessage"/>
+ <variable name="reply"
+ messageType="wns:replyMessage"/>
+ </variables>
+
+ <correlationSets>
+ <correlationSet name="testCorr1" properties="wns:testProbeID"/>
+ </correlationSets>
+
+ <sequence>
+ <receive name="receive1" partnerLink="request1"
+ portType="wns:TestStaticPick1PT"
+ operation="request" variable="request"
+ createInstance="yes">
+ <correlations>
+ <correlation set="testCorr1" initiate="yes"/>
+ </correlations>
+ </receive>
+
+ <assign name="assign1">
+ <copy>
+ <from variable="request" property="wns:testProbeID"/>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ <copy>
+ <from variable="request" part="requestText"/>
+ <to variable="probeInput" part="probeData"/>
+ </copy>
+ </assign>
+
+
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[block for next message]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+
+ <pick name="testPick">
+ <onMessage partnerLink="request1"
+ portType="wns:TestStaticPick1PT" operation="continue1" variable="request">
+ <correlations>
+ <correlation set="testCorr1"/>
+ </correlations>
+ <sequence>
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[pick branch one invoked]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[process complete]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+
+ <assign name="assign2">
+ <copy>
+ <from variable="probeInput" part="probeName"/>
+ <to variable="reply" part="replyID"/>
+ </copy>
+ <copy>
+ <from variable="probeInput" part="probeData"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+
+ <reply name="reply" partnerLink="request1" portType="wns:TestStaticPick1PT"
+ operation="continue1" variable="reply">
+ </reply>
+
+ </sequence>
+ </onMessage>
+ <onMessage partnerLink="request1"
+ portType="wns:TestStaticPick1PT" operation="continue2" variable="request">
+ <correlations>
+ <correlation set="testCorr1"/>
+ </correlations>
+ <sequence>
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[pick branch two invoked]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+
+ <assign>
+ <copy>
+ <from>
+ <literal><![CDATA[process complete]]></literal>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+ <assign name="assign2">
+ <copy>
+ <from variable="probeInput" part="probeName"/>
+ <to variable="reply" part="replyID"/>
+ </copy>
+ <copy>
+ <from variable="probeInput" part="probeData"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+
+ <reply name="reply" partnerLink="request1" portType="wns:TestStaticPick1PT"
+ operation="continue2" variable="reply">
+ </reply>
+
+ </sequence>
+ </onMessage>
+ </pick>
+ </sequence>
+</process>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticPick/TestStaticPick.wsdl
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticPick/TestStaticPick.wsdl?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticPick/TestStaticPick.wsdl (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestStaticPick/TestStaticPick.wsdl Thu May 22 16:25:57 2008
@@ -1,79 +1,79 @@
-<!--
- ~ 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/TestStaticPick.wsdl"
- xmlns:tns="http://ode/bpel/unit-test/TestStaticPick.wsdl"
- xmlns="http://ode/bpel/unit-test/TestStaticPick.wsdl"
- 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:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
- xmlns:prop="http://docs.oasis-open.org/wsbpel/2.0/varprop">
-
-
- <wsdl:message name="requestMessage">
- <wsdl:part name="requestID" type="xsd:string"/>
- <wsdl:part name="requestText" type="xsd:string"/>
- </wsdl:message>
-
- <wsdl:message name="replyMessage">
- <wsdl:part name="replyID" type="xsd:string"/>
- <wsdl:part name="replyText" type="xsd:string"/>
- </wsdl:message>
-
-
- <wsdl:portType name="TestStaticPick1PT">
- <wsdl:operation name="request">
- <wsdl:input message="requestMessage"/>
- </wsdl:operation>
- <wsdl:operation name="continue1">
- <wsdl:input message="requestMessage"/>
- <wsdl:output message="replyMessage"/>
- </wsdl:operation>
- <wsdl:operation name="continue2">
- <wsdl:input message="requestMessage"/>
- <wsdl:output message="replyMessage"/>
- </wsdl:operation>
- </wsdl:portType>
-
-
- <wsdl:binding name="TestStaticPick1Binding" type="tns:TestStaticPick1PT">
- <wsdl:operation name="request"/>
- <wsdl:operation name="continue1"/>
- <wsdl:operation name="continue2"/>
- </wsdl:binding>
- <wsdl:service name="TestStaticPick1Service">
- <wsdl:port name="TestStaticPick1Port" binding="tns:TestStaticPick1Binding">
- </wsdl:port>
- </wsdl:service>
-
- <plnk:partnerLinkType name="TestStaticPick1Request">
- <plnk:role name="TestStaticPick1Service" portType="TestStaticPick1PT"/>
- </plnk:partnerLinkType>
-
- <plnk:partnerLinkType name="probeRequest">
- <plnk:role name="probeService" portType="prb:probeMessagePT"/>
- </plnk:partnerLinkType>
-
- <prop:property name="testProbeID" type="xsd:string"/>
- <prop:propertyAlias propertyName="tns:testProbeID" messageType="tns:requestMessage" part="requestID"/>
-
-</wsdl:definitions>
+<!--
+ ~ 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/TestStaticPick.wsdl"
+ xmlns:tns="http://ode/bpel/unit-test/TestStaticPick.wsdl"
+ xmlns="http://ode/bpel/unit-test/TestStaticPick.wsdl"
+ 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:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:prop="http://docs.oasis-open.org/wsbpel/2.0/varprop">
+
+
+ <wsdl:message name="requestMessage">
+ <wsdl:part name="requestID" type="xsd:string"/>
+ <wsdl:part name="requestText" type="xsd:string"/>
+ </wsdl:message>
+
+ <wsdl:message name="replyMessage">
+ <wsdl:part name="replyID" type="xsd:string"/>
+ <wsdl:part name="replyText" type="xsd:string"/>
+ </wsdl:message>
+
+
+ <wsdl:portType name="TestStaticPick1PT">
+ <wsdl:operation name="request">
+ <wsdl:input message="requestMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="continue1">
+ <wsdl:input message="requestMessage"/>
+ <wsdl:output message="replyMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="continue2">
+ <wsdl:input message="requestMessage"/>
+ <wsdl:output message="replyMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+
+ <wsdl:binding name="TestStaticPick1Binding" type="tns:TestStaticPick1PT">
+ <wsdl:operation name="request"/>
+ <wsdl:operation name="continue1"/>
+ <wsdl:operation name="continue2"/>
+ </wsdl:binding>
+ <wsdl:service name="TestStaticPick1Service">
+ <wsdl:port name="TestStaticPick1Port" binding="tns:TestStaticPick1Binding">
+ </wsdl:port>
+ </wsdl:service>
+
+ <plnk:partnerLinkType name="TestStaticPick1Request">
+ <plnk:role name="TestStaticPick1Service" portType="TestStaticPick1PT"/>
+ </plnk:partnerLinkType>
+
+ <plnk:partnerLinkType name="probeRequest">
+ <plnk:role name="probeService" portType="prb:probeMessagePT"/>
+ </plnk:partnerLinkType>
+
+ <prop:property name="testProbeID" type="xsd:string"/>
+ <prop:propertyAlias propertyName="tns:testProbeID" messageType="tns:requestMessage" part="requestID"/>
+
+</wsdl:definitions>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSubTreeAssign/TestSubTreeAssign.bpel
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSubTreeAssign/TestSubTreeAssign.bpel?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSubTreeAssign/TestSubTreeAssign.bpel (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSubTreeAssign/TestSubTreeAssign.bpel Thu May 22 16:25:57 2008
@@ -36,67 +36,67 @@
<import location="../ProbeService/probeService.wsdl"
namespace="http://ode/bpel/unit-test/ProbeService.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"/>
-
-
- <partnerLinks>
- <partnerLink name="request" partnerLinkType="wns:TestSubTreeAssignRequest" myRole="TestSubTreeAssignService"/>
- </partnerLinks>
- <variables>
- <variable name="request" messageType="wns:requestMessage"/>
- <variable name="testType1" element="types:aTestMessage"/>
- <variable name="testType2" element="types:aTestMessage"/>
- <variable name="testType3" type="xsd:string"/>
- <variable name="testType4" type="xsd:string"/>
- <variable name="reply" messageType="wns:replyMessage"/>
- </variables>
- <sequence>
- <receive name="receive1" partnerLink="request" portType="wns:TestSubTreeAssignPT" operation="request" variable="request" createInstance="yes"/>
-
- <assign name="assign1">
- <!-- copy a tree to a tree -->
- <copy>
- <from>$request.requestMessageData/typeIndicators/types:indicatorTwo</from>
- <to variable="testType3"/>
- </copy>
- <copy>
- <from variable="request" property="wns:testPath"/>
- <to variable="testType4"/>
- </copy>
- <copy>
- <from variable="request" part="requestMessageData"/>
- <to variable="testType1"/>
- </copy>
- <copy>
- <from variable="testType1"/>
- <to variable="testType2"/>
- </copy>
- <!-- copy value into tree -->
+
+
+ <partnerLinks>
+ <partnerLink name="request" partnerLinkType="wns:TestSubTreeAssignRequest" myRole="TestSubTreeAssignService"/>
+ </partnerLinks>
+ <variables>
+ <variable name="request" messageType="wns:requestMessage"/>
+ <variable name="testType1" element="types:aTestMessage"/>
+ <variable name="testType2" element="types:aTestMessage"/>
+ <variable name="testType3" type="xsd:string"/>
+ <variable name="testType4" type="xsd:string"/>
+ <variable name="reply" messageType="wns:replyMessage"/>
+ </variables>
+ <sequence>
+ <receive name="receive1" partnerLink="request" portType="wns:TestSubTreeAssignPT" operation="request" variable="request" createInstance="yes"/>
+
+ <assign name="assign1">
+ <!-- copy a tree to a tree -->
+ <copy>
+ <from>$request.requestMessageData/typeIndicators/types:indicatorTwo</from>
+ <to variable="testType3"/>
+ </copy>
+ <copy>
+ <from variable="request" property="wns:testPath"/>
+ <to variable="testType4"/>
+ </copy>
+ <copy>
+ <from variable="request" part="requestMessageData"/>
+ <to variable="testType1"/>
+ </copy>
+ <copy>
+ <from variable="testType1"/>
+ <to variable="testType2"/>
+ </copy>
+ <!-- copy value into tree -->
<copy>
<from>
<literal><![CDATA[pass]]></literal>
- </from>
- <to>$testType1/typeIndicators/types:indicatorTwo</to>
- </copy>
- </assign>
-
- <assign name="assignG">
- <!-- copy subtree to tree -->
- <copy>
- <from>$testType1/typeIndicators</from>
- <to>$testType2/typeIndicators</to>
- </copy>
- </assign>
- <assign name="assign3">
- <copy>
- <from>$testType2/requestID</from>
- <to variable="reply" part="replyID"/>
- </copy>
- <copy>
- <from>$testType2/typeIndicators/types:indicatorTwo</from>
- <to>$reply.replyText</to>
- </copy>
- </assign>
-
- <reply name="reply" partnerLink="request" portType="wns:TestSubTreeAssignPT" operation="request" variable="reply"/>
- </sequence>
-</process>
+ </from>
+ <to>$testType1/typeIndicators/types:indicatorTwo</to>
+ </copy>
+ </assign>
+
+ <assign name="assignG">
+ <!-- copy subtree to tree -->
+ <copy>
+ <from>$testType1/typeIndicators</from>
+ <to>$testType2/typeIndicators</to>
+ </copy>
+ </assign>
+ <assign name="assign3">
+ <copy>
+ <from>$testType2/requestID</from>
+ <to variable="reply" part="replyID"/>
+ </copy>
+ <copy>
+ <from>$testType2/typeIndicators/types:indicatorTwo</from>
+ <to>$reply.replyText</to>
+ </copy>
+ </assign>
+
+ <reply name="reply" partnerLink="request" portType="wns:TestSubTreeAssignPT" operation="request" variable="reply"/>
+ </sequence>
+</process>