You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by lw...@apache.org on 2006/10/10 08:17:06 UTC
svn commit: r454636 - in
/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0:
NegativeInitializationTest/ TestDynamicPick/ TestSimpleTypeParts/
TestSimpleVariableType/ TestXPathNamespace1/
Author: lwaterman
Date: Mon Oct 9 23:17:05 2006
New Revision: 454636
URL: http://svn.apache.org/viewvc?view=rev&rev=454636
Log:
Add New TEsts
Added:
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/TestSimpleTypeParts.bpel
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/TestSimpleTypeParts.wsdl
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/deploy.xml
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/test1.properties
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/TestSimpleVariableType.bpel
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/TestSimpleVariableType.wsdl
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/data14_1.txt
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/deploy.xml
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/test1.properties
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/TestXPathNamespace1.bpel
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/TestXPathNamespace1.wsdl
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/deploy.xml
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/test1.properties
Modified:
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/test1.properties
incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestDynamicPick/TestDynamicPick.wsdl
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/test1.properties
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/test1.properties?view=diff&rev=454636&r1=454635&r2=454636
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/test1.properties (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/test1.properties Mon Oct 9 23:17:05 2006
@@ -2,4 +2,4 @@
service=NegativeInitializationTestService
operation=request
request1=<message><requestMessageData><testMessage><requestID>NegativeInitializationTest</requestID><requestText>NegativeInitializationTest</requestText></testMessage></requestMessageData></message>
-response1=Compile Exception
+response1=ASYNC
Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestDynamicPick/TestDynamicPick.wsdl
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestDynamicPick/TestDynamicPick.wsdl?view=diff&rev=454636&r1=454635&r2=454636
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestDynamicPick/TestDynamicPick.wsdl (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestDynamicPick/TestDynamicPick.wsdl Mon Oct 9 23:17:05 2006
@@ -28,9 +28,7 @@
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/">
- <import namespace="urn:sybase:bpel:testProbe"
- location="bpelTests/probeService/probeService.wsdl"/>
-
+
<wsdl:types>
<xsd:schema
targetNamespace="http://ode/bpel/unit-test/TestDynamicPick.wsdl.types"
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/TestSimpleTypeParts.bpel
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/TestSimpleTypeParts.bpel?view=auto&rev=454636
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/TestSimpleTypeParts.bpel (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/TestSimpleTypeParts.bpel Mon Oct 9 23:17:05 2006
@@ -0,0 +1,78 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<process xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2004/03/business-process/ ../../../../../../../bpel-schemas/src/main/resources/wsbpel_main-draft-Apr-29-2006.xsd"
+ xmlns:tns="http://ode/bpel/unit-test/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://schemas.xmlsoap.org/ws/2004/03/business-process/"
+ 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"/>
+ <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>
+
+ <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>
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/TestSimpleTypeParts.wsdl
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/TestSimpleTypeParts.wsdl?view=auto&rev=454636
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/TestSimpleTypeParts.wsdl (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/TestSimpleTypeParts.wsdl Mon Oct 9 23:17:05 2006
@@ -0,0 +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://schemas.xmlsoap.org/ws/2004/03/partner-link/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/">
+
+
+ <wsdl:message name="requestMessage">
+ <wsdl:part name="requestID" type="xsd:string"/>
+ <wsdl:part name="requestText" type="xsd:string"/>
+ </wsdl:message>
+
+ <wsdl:message name="replyMessage">
+ <wsdl:part name="replyID" type="xsd:string"/>
+ <wsdl:part name="replyText" type="xsd:string"/>
+ </wsdl:message>
+
+ <wsdl:portType name="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>
+
+ <bpws:property name="testProbeID" type="xsd:string"/>
+ <bpws: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>
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/deploy.xml
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/deploy.xml?view=auto&rev=454636
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/deploy.xml (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/deploy.xml Mon Oct 9 23:17:05 2006
@@ -0,0 +1,31 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<deploy xmlns="http://ode.fivesight.com/schemas/2006/06/27/dd"
+ xmlns:pns="http://ode/bpel/unit-test/TestSimpleTypeParts"
+ xmlns:wns="http://ode/bpel/unit-test/TestSimpleTypeParts.wsdl">
+
+
+ <process name="pns:TestSimpleTypeParts">
+ <active>true</active>
+ <provide partnerLink="request">
+ <service name="wns:TestSimpleTypePartsService" port="wns:TestSimpleTypePartsPort"/>
+ </provide>
+ </process>
+</deploy>
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/test1.properties
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/test1.properties?view=auto&rev=454636
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/test1.properties (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleTypeParts/test1.properties Mon Oct 9 23:17:05 2006
@@ -0,0 +1,5 @@
+namespace=http://ode/bpel/unit-test/TestSimpleTypeParts.wsdl
+service=TestSimpleTypePartsService
+operation=request
+request1=<message><requestID>TestSimpleTypeParts</requestID><requestText>TestSimpleTypeParts</requestText></message>
+response1=.*TestSimpleTypeParts.*
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/TestSimpleVariableType.bpel
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/TestSimpleVariableType.bpel?view=auto&rev=454636
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/TestSimpleVariableType.bpel (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/TestSimpleVariableType.bpel Mon Oct 9 23:17:05 2006
@@ -0,0 +1,85 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<process xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2004/03/business-process/ ../../../../../../../bpel-schemas/src/main/resources/wsbpel_main-draft-Apr-29-2006.xsd"
+ 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://schemas.xmlsoap.org/ws/2004/03/business-process/"
+ 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"/>
+ <partnerLink name="probe" partnerLinkType="wns:probeRequest" partnerRole="probeService" initializePartnerRole="yes"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request"
+ messageType="wns:requestMessage"/>
+ <variable name="testType" type="xsd:string"/>
+ <variable name="probeInput"
+ messageType="prb:probeMessage"/>
+ <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>
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/TestSimpleVariableType.wsdl
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/TestSimpleVariableType.wsdl?view=auto&rev=454636
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/TestSimpleVariableType.wsdl (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/TestSimpleVariableType.wsdl Mon Oct 9 23:17:05 2006
@@ -0,0 +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://schemas.xmlsoap.org/ws/2004/03/partner-link/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/">
+
+
+ <wsdl:message name="requestMessage">
+ <wsdl:part name="requestID" type="xsd:string"/>
+ <wsdl:part name="requestText" type="xsd:string"/>
+ </wsdl:message>
+
+ <wsdl:message name="replyMessage">
+ <wsdl:part name="replyID" type="xsd:string"/>
+ <wsdl:part name="replyText" type="xsd:string"/>
+ </wsdl:message>
+
+ <wsdl:portType name="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>
+
+ <bpws:property name="testProbeID" type="xsd:string"/>
+ <bpws: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>
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/data14_1.txt
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/data14_1.txt?view=auto&rev=454636
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/data14_1.txt (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/data14_1.txt Mon Oct 9 23:17:05 2006
@@ -0,0 +1,15 @@
+# Test BPEL simple XML type variable
+# Expected result:
+# Part "replyID" value: Test14
+# Part "replyText" value: pass
+
+target.name.space=urn:sybase:bpel:test14Processing
+port.type=test14PT
+operation=request
+
+part1=str.requestID
+part2=str.requestText
+
+str.requestID=Test14
+str.requestText=Event Start Test14
+
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/deploy.xml
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/deploy.xml?view=auto&rev=454636
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/deploy.xml (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/deploy.xml Mon Oct 9 23:17:05 2006
@@ -0,0 +1,31 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<deploy xmlns="http://ode.fivesight.com/schemas/2006/06/27/dd"
+ xmlns:pns="http://ode/bpel/unit-test/TestSimpleVariableType"
+ xmlns:wns="http://ode/bpel/unit-test/TestSimpleVariableType.wsdl">
+
+
+ <process name="pns:TestSimpleVariableType">
+ <active>true</active>
+ <provide partnerLink="request">
+ <service name="wns:TestSimpleVariableTypeService" port="wns:TestSimpleVariableTypePort"/>
+ </provide>
+ </process>
+</deploy>
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/test1.properties
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/test1.properties?view=auto&rev=454636
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/test1.properties (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestSimpleVariableType/test1.properties Mon Oct 9 23:17:05 2006
@@ -0,0 +1,5 @@
+namespace=http://ode/bpel/unit-test/TestSimpleVariableType.wsdl
+service=TestSimpleVariableTypeService
+operation=request
+request1=<message><requestID>TestSimpleVariableType</requestID><requestText>TestSimpleVariableType</requestText></message>
+response1=.*<replyID>TestSimpleVariableType</replyID><replyText>TestSimpleVariableType</replyText>.*
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/TestXPathNamespace1.bpel
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/TestXPathNamespace1.bpel?view=auto&rev=454636
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/TestXPathNamespace1.bpel (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/TestXPathNamespace1.bpel Mon Oct 9 23:17:05 2006
@@ -0,0 +1,57 @@
+<process xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2004/03/business-process/ ../../../../../../../bpel-schemas/src/main/resources/wsbpel_main-draft-Apr-29-2006.xsd"
+ xmlns:tns="http://ode/bpel/unit-test/TestXPathNamespace1"
+ xmlns:wns="http://ode/bpel/unit-test/TestXPathNamespace1.wsdl"
+ targetNamespace="http://ode/bpel/unit-test/TestXPathNamespace1"
+ xmlns:types1="http://ode/bpel/unit-test/TestXPathNamespace1.wsdl.types1"
+ xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
+ xmlns="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
+ name="TestXPathNamespace1"
+ 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="TestXPathNamespace1.wsdl"
+ namespace="http://ode/bpel/unit-test/TestXPathNamespace1.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 namespace syntax within XPATH expression -->
+ <partnerLinks>
+ <partnerLink name="request" partnerLinkType="wns:TestXPathNamespace1Request" myRole="TestXPathNamespace1Service"/>
+ <partnerLink name="probe" partnerLinkType="wns:probeRequest" partnerRole="probeService" initializePartnerRole="yes"/>
+ </partnerLinks>
+ <variables>
+ <variable name="request" messageType="wns:requestMessage1"/>
+ <variable name="probeInput" messageType="prb:probeMessage"/>
+ <variable name="reply" messageType="wns:replyMessage1"/>
+ </variables>
+ <sequence>
+ <receive name="receive1" partnerLink="request" portType="wns:TestXPathNamespace1PT" operation="request" variable="request" createInstance="yes"> </receive>
+ <!-- Copy input variables to internal accumulators -->
+ <assign name="assign1">
+ <copy>
+ <from>$request.requestMessageData/requestID</from>
+ <to variable="reply" part="replyID"/>
+ </copy>
+ <copy>
+ <from xmlns:foo="http://ode/bpel/unit-test/TestXPathNamespace1.wsdl.types1">$request.requestMessageData/typeIndicators/foo:indicatorTwo</from>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ <copy>
+ <from>$request.requestMessageData/typeIndicators/types1:indicatorTwo</from>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ <copy>
+ <from>
+ <literal><![CDATA[pass]]></literal>
+ </from>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+ <reply name="reply" partnerLink="request" portType="wns:TestXPathNamespace1PT" operation="request" variable="reply"> </reply>
+ </sequence>
+</process>
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/TestXPathNamespace1.wsdl
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/TestXPathNamespace1.wsdl?view=auto&rev=454636
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/TestXPathNamespace1.wsdl (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/TestXPathNamespace1.wsdl Mon Oct 9 23:17:05 2006
@@ -0,0 +1,92 @@
+<!--
+ ~ 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/TestXPathNamespace1.wsdl"
+ xmlns:tns="http://ode/bpel/unit-test/TestXPathNamespace1.wsdl"
+ xmlns:types1="http://ode/bpel/unit-test/TestXPathNamespace1.wsdl.types1"
+ xmlns="http://ode/bpel/unit-test/TestXPathNamespace1.wsdl"
+ xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:plnk="http://schemas.xmlsoap.org/ws/2004/03/partner-link/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/">
+
+ <!-- type defs -->
+ <wsdl:types>
+
+ <xsd:schema
+ targetNamespace="http://ode/bpel/unit-test/TestXPathNamespace1.wsdl.types1"
+ xmlns="http://ode/bpel/unit-test/TestXPathNamespace1.wsdl.types1"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <xsd:complexType name="typeIndicator">
+ <xsd:sequence>
+ <xsd:element name="indicatorOne" type="xsd:string"/>
+ <xsd:element name="indicatorTwo" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="testMessage">
+ <xsd:sequence>
+ <xsd:element name="requestID" type="xsd:string"/>
+ <xsd:element name="requestText" type="xsd:string"/>
+ <xsd:element name="typeIndicators" type="typeIndicator"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ </xsd:schema>
+ </wsdl:types>
+
+ <wsdl:message name="requestMessage1">
+ <part name="requestMessageData" type="types1:testMessage"/>
+ </wsdl:message>
+
+ <wsdl:message name="replyMessage1">
+ <wsdl:part name="replyID" type="xsd:string"/>
+ <wsdl:part name="replyText" type="xsd:string"/>
+ </wsdl:message>
+
+
+ <!-- portType supported by the test2 process -->
+
+ <wsdl:portType name="TestXPathNamespace1PT">
+ <wsdl:operation name="request">
+ <wsdl:input message="requestMessage1"/>
+ <wsdl:output message="replyMessage1"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="TestXPathNamespace1Binding" type="tns:TestXPathNamespace1PT">
+ <wsdl:operation name="request">
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="TestXPathNamespace1Service">
+ <wsdl:port name="TestXPathNamespace1Port" binding="tns:TestXPathNamespace1Binding">
+ </wsdl:port>
+ </wsdl:service>
+
+ <plnk:partnerLinkType name="TestXPathNamespace1Request">
+ <plnk:role name="TestXPathNamespace1Service" portType="TestXPathNamespace1PT"/>
+ </plnk:partnerLinkType>
+
+ <plnk:partnerLinkType name="probeRequest">
+ <plnk:role name="probeService" portType="prb:probeMessagePT"/>
+ </plnk:partnerLinkType>
+
+</wsdl:definitions>
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/deploy.xml
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/deploy.xml?view=auto&rev=454636
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/deploy.xml (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/deploy.xml Mon Oct 9 23:17:05 2006
@@ -0,0 +1,31 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<deploy xmlns="http://ode.fivesight.com/schemas/2006/06/27/dd"
+ xmlns:pns="http://ode/bpel/unit-test/TestXPathNamespace1"
+ xmlns:wns="http://ode/bpel/unit-test/TestXPathNamespace1.wsdl">
+
+
+ <process name="pns:TestXPathNamespace1">
+ <active>true</active>
+ <provide partnerLink="request">
+ <service name="wns:TestXPathNamespace1Service" port="wns:TestXPathNamespace1Port"/>
+ </provide>
+ </process>
+</deploy>
Added: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/test1.properties
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/test1.properties?view=auto&rev=454636
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/test1.properties (added)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace1/test1.properties Mon Oct 9 23:17:05 2006
@@ -0,0 +1,5 @@
+namespace=http://ode/bpel/unit-test/TestXPathNamespace1.wsdl
+service=TestXPathNamespace1Service
+operation=request
+request1=<message><requestMessageData><testMessage xmlns:foo="urn:foo:default"><requestID>Start TestXPathNamespace1</requestID><requestText>Event TestXPathNamespace1</requestText><typeIndicators xmlns:foo="http://ode/bpel/unit-test/TestXPathNamespace1.wsdl.types1"><foo:indicatorOne>pass</foo:indicatorOne><foo:indicatorTwo>pass</foo:indicatorTwo></typeIndicators></testMessage></requestMessageData></message>
+response1=null