You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by ad...@apache.org on 2006/02/28 17:05:47 UTC
svn commit: r381686 [5/40] - in /incubator/ode/scratch/bpe: ./ bpelTests/
bpelTests/probeService/ bpelTests/test1/ bpelTests/test10/
bpelTests/test12/ bpelTests/test13/ bpelTests/test14/ bpelTests/test15/
bpelTests/test16/ bpelTests/test17/ bpelTests/t...
Added: incubator/ode/scratch/bpe/bpelTests/testCatchFaultInFaultHandler2/BPService.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCatchFaultInFaultHandler2/BPService.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCatchFaultInFaultHandler2/BPService.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCatchFaultInFaultHandler2/BPService.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="" targetNamespace="urn:mycompany:/myFaultHasNoFaults/BPService2" xmlns:tns="urn:mycompany:/myFaultHasNoFaults/BPService2" xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns1="test.sybase.com" xmlns:format="http://schemas.xmlsoap.org/wsdl/formatbinding/">
+ <wsdl:types>
+ <xsd:schema targetNamespace="test.sybase.com" xmlns="test.sybase.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:element name="simpleString" type="xsd:string"/>
+</xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="operation1Request">
+ <wsdl:part name="newParameter1" element="tns1:simpleString"/>
+ </wsdl:message>
+ <wsdl:message name="operation1Response">
+ <wsdl:part name="newParameter2" element="tns1:simpleString"/>
+ </wsdl:message>
+ <wsdl:portType name="BPService">
+ <wsdl:operation name="operation1">
+ <wsdl:input name="operation1Request" message="tns:operation1Request"/>
+ <wsdl:output name="operation1Response" message="tns:operation1Response"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="/myFaultHasNoFaults/.BPService.bpmn" type="tns:BPService">
+ <sybbpe:binding xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/"/>
+ <wsdl:operation name="operation1">
+ <wsdl:input name="operation1Request">
+ </wsdl:input>
+ <wsdl:output name="operation1Response">
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="BPService">
+ <wsdl:port name="/myFaultHasNoFaults/.BPService.bpmn" binding="tns:/myFaultHasNoFaults/.BPService.bpmn">
+ <sybres:address xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" resourceRef="/myFaultHasNoFaults/.BPService.bpmn.props"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added: incubator/ode/scratch/bpe/bpelTests/testCatchFaultInFaultHandler2/msg.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCatchFaultInFaultHandler2/msg.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCatchFaultInFaultHandler2/msg.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCatchFaultInFaultHandler2/msg.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,9 @@
+
+target.name.space=urn:mycompany:/myFaultHasNoFaults/BPService2
+port.type=BPService
+operation=operation1
+
+part1=xml.newParameter1
+
+xml.newParameter1=<?xml version="1.0" encoding="UTF-8"?><tns:operation1 xmlns:tns="urn:mycompany:/myFaultHasNoFaults/BPService2" xmlns:tns1="test.sybase.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><tns:newParameter1><tns1:simpleString>test</tns1:simpleString></tns:newParameter1></tns:operation1>
+
Added: incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/data1.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/data1.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/data1.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/data1.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+target.name.space=urn:sybase:bpel:testCatchForcedTerminateProcessing
+port.type=testCatchForcedTerminatePT
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><id1>msg1</id1><id2>msg1</id2></testMessage>
+
Added: incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/data2.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/data2.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/data2.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/data2.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+target.name.space=urn:sybase:bpel:testCatchForcedTerminateProcessing
+port.type=testCatchForcedTerminatePT2
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><id1>msg2</id1><id2>msg2</id2></testMessage>
+
Added: incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/data3.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/data3.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/data3.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/data3.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+target.name.space=urn:sybase:bpel:testCatchForcedTerminateProcessing
+port.type=testCatchForcedTerminatePT3
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><id1>msg3</id1><id2>msg3</id2></testMessage>
+
Added: incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/testCatchForcedTerminate.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/testCatchForcedTerminate.bpel?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/testCatchForcedTerminate.bpel (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/testCatchForcedTerminate.bpel Tue Feb 28 08:02:48 2006
@@ -0,0 +1,82 @@
+<process name="testCatchForcedTerminateProcess"
+ targetNamespace="urn:sybase:bpel:testCatchForcedTerminateProcessing"
+ xmlns:tns="urn:sybase:bpel:testCatchForcedTerminateProcessing"
+ suppressJoinFailure="yes"
+ xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+<!-- test the bpws:forcedTermination activity termination catch -->
+
+ <partnerLinks>
+ <partnerLink name="request" partnerLinkType="testCatchForcedTerminateRequest" myRole="testCatchForcedTerminateService"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request"
+ messageType="tns:requestMessage"/>
+ <variable name="reply"
+ messageType="tns:replyMessage"/>
+ </variables>
+ <faultHandlers>
+ <catchAll>
+ <sequence>
+ <reply name="reply" partnerLink="request" portType="tns:testCatchForcedTerminatePT"
+ operation="request" variable="reply">
+ </reply>
+ </sequence>
+ </catchAll>
+ </faultHandlers>
+
+ <sequence>
+
+ <receive name="receive1" partnerLink="request"
+ portType="tns:testCatchForcedTerminatePT"
+ operation="request" variable="request"
+ createInstance="yes">
+ </receive>
+ <assign name="assign">
+ <copy>
+ <from variable="request" property="tns:id1"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+ <flow>
+ <scope name="ScopeOne">
+ <catch faultName="forcedTermination">
+ <sequence>
+ <assign name="assign">
+ <copy>
+ <from expression="'forcedTermination'"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+ </sequence>
+ </catch>
+ <sequence>
+ <receive name="receive2" partnerLink="request"
+ portType="tns:testCatchForcedTerminatePT2"
+ operation="request" variable="request">
+ </receive>
+ <reply name="reply"
+ partnerLink="request"
+ portType="tns:testCatchForcedTerminatePT"
+ operation="request" variable="reply">
+ </reply>
+ </sequence>
+ </scope>
+ <scope name="ScopeTwo">
+ <sequence>
+ <receive name="receive3" partnerLink="request"
+ portType="tns:testCatchForcedTerminatePT3"
+ operation="request" variable="request">
+ </receive>
+ <throw faultName="tns:fault"/>
+ </sequence>
+ </scope>
+ </flow>
+
+ <reply name="reply" partnerLink="request" portType="tns:testCatchForcedTerminatePT"
+ operation="request" variable="reply">
+ </reply>
+
+ </sequence>
+</process>
Added: incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/testCatchForcedTerminate.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/testCatchForcedTerminate.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/testCatchForcedTerminate.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCatchForcedTerminate/testCatchForcedTerminate.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,67 @@
+<!-- The public service interface for testCatchForcedTerminate.bpel -->
+
+<definitions
+ targetNamespace="urn:sybase:bpel:testCatchForcedTerminateProcessing"
+ xmlns:tns="urn:sybase:bpel:testCatchForcedTerminateProcessing"
+ xmlns:typens="urn:sybase:bpel:testCatchForcedTerminateProcessing:types"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+ <!-- type defs -->
+ <types>
+ <xsd:schema
+ targetNamespace="urn:sybase:bpel:testCatchForcedTerminateProcessing:types"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:complexType name="testMessage">
+ <xsd:sequence>
+ <xsd:element name="id1" type="xsd:string"/>
+ <xsd:element name="id2" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:schema>
+ </types>
+
+ <bpws:property name="id1" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:id1" messageType="tns:requestMessage" part="requestMessageData" query="/testMessage/id1"/>
+ <bpws:property name="id2" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:id2" messageType="tns:requestMessage" part="requestMessageData" query="/testMessage/id2"/>
+
+ <message name="requestMessage">
+ <part name="requestMessageData" type="typens:testMessage"/>
+ </message>
+
+ <message name="replyMessage">
+ <part name="replyText" type="xsd:string"/>
+ </message>
+
+ <portType name="testCatchForcedTerminatePT">
+ <operation name="request">
+ <input message="requestMessage"/>
+ <output message="replyMessage"/>
+ </operation>
+ </portType>
+
+ <portType name="testCatchForcedTerminatePT2">
+ <operation name="request">
+ <input message="requestMessage"/>
+ <output message="replyMessage"/>
+ </operation>
+ </portType>
+
+ <portType name="testCatchForcedTerminatePT3">
+ <operation name="request">
+ <input message="requestMessage"/>
+ <output message="replyMessage"/>
+ </operation>
+ </portType>
+
+ <plnk:partnerLinkType name="testCatchForcedTerminateRequest">
+ <plnk:role name="testCatchForcedTerminateService">
+ <plnk:portType name="testCatchForcedTerminatePT"/>
+ </plnk:role>
+ </plnk:partnerLinkType>
+
+</definitions>
Added: incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/corrlcmplx.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/corrlcmplx.bpel?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/corrlcmplx.bpel (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/corrlcmplx.bpel Tue Feb 28 08:02:48 2006
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpel:process xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns0="http://www.w3schools.com" xmlns:tns="urn:mycompany:/corrlcr/corrlcmplx" name="corrlcmplx" targetNamespace="urn:mycompany:/corrlcr/corrlcmplx">
+ <bpel:partnerLinks>
+ <bpel:partnerLink name="corrlcmplxReceive1PL" partnerLinkType="tns:corrlcmplxPLType"/>
+ <bpel:partnerLink name="corrlcmplxReceive2PL" partnerLinkType="tns:corrlcmplxPLType"/>
+ <bpel:partnerLink name="corrlcmplxReceive3PL" partnerLinkType="tns:corrlcmplxPLType"/>
+ </bpel:partnerLinks>
+ <bpel:scope name="ID1121302904626224">
+ <bpel:variables>
+ <bpel:variable messageType="tns:operation1Request" name="BP112130290462618"/>
+ <bpel:variable messageType="tns:operation2Request" name="BP112130307470619"/>
+ <bpel:variable messageType="tns:operation3Request" name="BP112130307897420"/>
+ <bpel:variable messageType="tns:operation3Response" name="BP112130307922421"/>
+ </bpel:variables>
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:receive name="ID1121302904626227" createInstance="yes" operation="operation1" partnerLink="corrlcmplxReceive1PL" portType="tns:corrlcmplx" variable="BP112130290462618"/>
+ <bpel:scope name="ID1121302972680239">
+ <bpel:correlationSets>
+ <bpel:correlationSet name="CorrelationSet1cmplx" properties="tns:CorrelationSet1cmplxCorrelationSetVariable1"/>
+ </bpel:correlationSets>
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:receive name="ID1121303074706242" createInstance="no" operation="operation2" partnerLink="corrlcmplxReceive2PL" portType="tns:corrlcmplx" variable="BP112130307470619">
+ <bpel:correlations>
+ <bpel:correlation initiate="yes" set="CorrelationSet1cmplx"/>
+ </bpel:correlations>
+ </bpel:receive>
+ <bpel:receive name="ID1121303078974243" createInstance="no" operation="operation3" partnerLink="corrlcmplxReceive3PL" portType="tns:corrlcmplx" variable="BP112130307897420">
+ <bpel:correlations>
+ <bpel:correlation initiate="no" set="CorrelationSet1cmplx"/>
+ </bpel:correlations>
+ </bpel:receive>
+ <bpel:assign name="BP112130411965322">
+ <bpel:copy>
+ <bpel:from part="newParameter1" query="/ns0:note/ns0:from" variable="BP112130307470619"/>
+ <bpel:to part="newParameter2" variable="BP112130307922421"/>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:reply name="ID1121303079224244" operation="operation3" partnerLink="corrlcmplxReceive3PL" portType="tns:corrlcmplx" variable="BP112130307922421"/>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:scope>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:scope>
+</bpel:process>
\ No newline at end of file
Added: incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/corrlcmplx.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/corrlcmplx.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/corrlcmplx.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/corrlcmplx.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="" targetNamespace="urn:mycompany:/corrlcr/corrlcmplx" xmlns:tns="urn:mycompany:/corrlcr/corrlcmplx" xmlns:ns0="http://www.w3schools.com" xmlns:ns1="test.sybase.com" xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:tns2="http://www.w3schools.com" xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns1="test.sybase.com" xmlns:format="http://schemas.xmlsoap.org/wsdl/formatbinding/">
+ <wsdl:types>
+ <xsd:schema targetNamespace="test.sybase.com" xmlns="test.sybase.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:element name="simpleString" type="xsd:string"/>
+</xsd:schema>
+ <xs:schema elementFormDefault="qualified" targetNamespace="http://www.w3schools.com" xmlns="http://www.w3schools.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+<xs:element name="note">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="to" type="xs:string"/>
+ <xs:element name="from" type="xs:string"/>
+ <xs:element name="heading" type="xs:string"/>
+ <xs:element name="body" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:element>
+
+</xs:schema>
+ </wsdl:types>
+ <wsdl:message name="operation2Request">
+ <wsdl:part name="newParameter1" element="ns0:note"/>
+ </wsdl:message>
+ <wsdl:message name="operation3Request">
+ <wsdl:part name="newParameter1" element="ns1:simpleString"/>
+ </wsdl:message>
+ <wsdl:message name="operation1Request">
+ <wsdl:part name="newParameter1" type="xsd:string"/>
+ </wsdl:message>
+ <wsdl:message name="operation3Response">
+ <wsdl:part name="newParameter2" type="xsd:string"/>
+ </wsdl:message>
+ <wsdl:portType name="corrlcmplx">
+ <wsdl:operation name="operation3">
+ <wsdl:input name="operation3Request" message="tns:operation3Request"/>
+ <wsdl:output name="operation3Response" message="tns:operation3Response"/>
+ </wsdl:operation>
+ <wsdl:operation name="operation2">
+ <wsdl:input name="operation2" message="tns:operation2Request"/>
+ </wsdl:operation>
+ <wsdl:operation name="operation1">
+ <wsdl:input name="operation1" message="tns:operation1Request"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="/corrlcr/.corrlcmplx.bpmn" type="tns:corrlcmplx">
+ <sybbpe:binding xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/"/>
+ <wsdl:operation name="operation3">
+ <wsdl:input name="operation3Request">
+ </wsdl:input>
+ <wsdl:output name="operation3Response">
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="operation2">
+ <wsdl:input name="operation2">
+ </wsdl:input>
+ </wsdl:operation>
+ <wsdl:operation name="operation1">
+ <wsdl:input name="operation1">
+ </wsdl:input>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="corrlcmplx">
+ <wsdl:port name="/corrlcr/.corrlcmplx.bpmn" binding="tns:/corrlcr/.corrlcmplx.bpmn">
+ <sybres:address xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" resourceRef="/corrlcr/.corrlcmplx.bpmn.props"/>
+ </wsdl:port>
+ </wsdl:service>
+ <bpel:property name="CorrelationSet1cmplxCorrelationSetVariable1" type="xsd:string"/>
+ <bpel:propertyAlias messageType="tns:operation2Request" part="newParameter1" propertyName="tns:CorrelationSet1cmplxCorrelationSetVariable1" query="/ns0:note/ns0:to"/>
+ <bpel:propertyAlias messageType="tns:operation3Request" part="newParameter1" propertyName="tns:CorrelationSet1cmplxCorrelationSetVariable1" query="/ns1:simpleString"/>
+</wsdl:definitions>
Added: incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/msg1.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/msg1.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/msg1.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/msg1.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+
+target.name.space=urn:mycompany:/corrlcr/corrlcmplx
+port.type=corrlcmplx
+operation=operation1
+
+part1=xml.newParameter1
+
+xml.newParameter1=<?xml version="1.0" encoding="UTF-8"?><tns:operation1 xmlns:tns1="test.sybase.com" xmlns:tns="urn:mycompany:/corrlcr/corrlcmplx" xmlns:tns2="http://www.w3schools.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><tns:newParameter1>test</tns:newParameter1></tns:operation1>
Added: incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/msg2.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/msg2.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/msg2.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/msg2.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+
+target.name.space=urn:mycompany:/corrlcr/corrlcmplx
+port.type=corrlcmplx
+operation=operation2
+
+part1=xml.newParameter1
+
+xml.newParameter1=<?xml version="1.0" encoding="UTF-8"?><tns2:note xmlns:tns1="test.sybase.com" xmlns:tns="urn:mycompany:/corrlcr/corrlcmplx" xmlns:tns2="http://www.w3schools.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><tns2:to>jayme</tns2:to><tns2:from>cory</tns2:from><tns2:heading>x</tns2:heading><tns2:body>x</tns2:body></tns2:note>
Added: incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/msg3.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/msg3.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/msg3.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCorrlCmplx/msg3.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,7 @@
+target.name.space=urn:mycompany:/corrlcr/corrlcmplx
+port.type=corrlcmplx
+operation=operation3
+
+part1=xml.newParameter1
+
+xml.newParameter1=<?xml version="1.0" encoding="UTF-8"?><tns1:simpleString xmlns:tns1="test.sybase.com">jayme</tns1:simpleString>
Added: incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/invokereplycorrls.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/invokereplycorrls.bpel?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/invokereplycorrls.bpel (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/invokereplycorrls.bpel Tue Feb 28 08:02:48 2006
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpel:process xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns0="urn:mycompany:/corrlcr/testinvoke" xmlns:tns="urn:mycompany:/corrlcr/invokereplycorrls" name="invokereplycorrls" targetNamespace="urn:mycompany:/corrlcr/invokereplycorrls">
+ <bpel:partnerLinks>
+ <bpel:partnerLink name="invokereplycorrlsReceive1PL" partnerLinkType="tns:invokereplycorrlsPLType"/>
+ <bpel:partnerLink name="testinvokePL" partnerLinkType="tns:invokereplycorrlsPLType"/>
+ <bpel:partnerLink name="invokereplycorrlsReceive2PL" partnerLinkType="tns:invokereplycorrlsPLType"/>
+ <bpel:partnerLink name="invokereplycorrlsReceive3PL" partnerLinkType="tns:invokereplycorrlsPLType"/>
+ <bpel:partnerLink name="invokereplycorrlsReceive4PL" partnerLinkType="tns:invokereplycorrlsPLType"/>
+ </bpel:partnerLinks>
+ <bpel:scope name="ID112170596796824">
+ <bpel:variables>
+ <bpel:variable messageType="tns:operation1Request" name="BP11217059679683"/>
+ <bpel:variable messageType="tns:operation1Response" name="BP11217064002134"/>
+ <bpel:variable messageType="tns:operation2Request" name="BP11217064526465"/>
+ <bpel:variable messageType="tns:operation2Response" name="BP11217064767496"/>
+ <bpel:variable messageType="tns:operation3Request" name="BP11217064803697"/>
+ <bpel:variable messageType="tns:operation3Response" name="BP11217064841068"/>
+ <bpel:variable messageType="tns:operation4Request" name="BP11217064881429"/>
+ <bpel:variable messageType="tns:operation4Response" name="BP112170649223510"/>
+ <bpel:variable messageType="ns0:operation1Response" name="BP112170680598915"/>
+ <bpel:variable messageType="ns0:operation1Request" name="BP112170680598916"/>
+ </bpel:variables>
+ <bpel:correlationSets>
+ <bpel:correlationSet name="response1corrl" properties="tns:response1corrlrespons1corrlvar"/>
+ <bpel:correlationSet name="testinvokeincorrl" properties="tns:testinvokeincorrltestinvokecorrlvar"/>
+ <bpel:correlationSet name="testinvokeoutcorrl" properties="tns:testinvokeoutcorrltestinvokeoutcorrlvar"/>
+ </bpel:correlationSets>
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:receive name="ID112170596796827" createInstance="yes" operation="operation1" partnerLink="invokereplycorrlsReceive1PL" portType="tns:invokereplycorrls" variable="BP11217059679683"/>
+ <bpel:assign name="BP112170670947414">
+ <bpel:copy>
+ <bpel:from part="newParameter1" variable="BP11217059679683"/>
+ <bpel:to part="newParameter2" variable="BP11217064002134"/>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:reply name="ID112170640021332" operation="operation1" partnerLink="invokereplycorrlsReceive1PL" portType="tns:invokereplycorrls" variable="BP11217064002134">
+ <bpel:correlations>
+ <bpel:correlation initiate="yes" set="response1corrl"/>
+ </bpel:correlations>
+ </bpel:reply>
+ <bpel:assign name="BP112170682026719">
+ <bpel:copy>
+ <bpel:from part="newParameter1" variable="BP11217059679683"/>
+ <bpel:to part="newParameter1" variable="BP112170680598916"/>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:invoke name="ID112170680598996" inputVariable="BP112170680598916" operation="operation1" outputVariable="BP112170680598915" partnerLink="testinvokePL" portType="ns0:testinvoke">
+ <bpel:correlations>
+ <bpel:correlation initiate="yes" set="testinvokeincorrl" pattern="out"/>
+ <bpel:correlation initiate="yes" set="testinvokeoutcorrl" pattern="in"/>
+ </bpel:correlations>
+ </bpel:invoke>
+ <bpel:receive name="ID112170645264635" createInstance="no" operation="operation2" partnerLink="invokereplycorrlsReceive2PL" portType="tns:invokereplycorrls" variable="BP11217064526465">
+ <bpel:correlations>
+ <bpel:correlation initiate="no" set="testinvokeincorrl"/>
+ </bpel:correlations>
+ </bpel:receive>
+ <bpel:assign name="BP112170698701520">
+ <bpel:copy>
+ <bpel:from part="newParameter1" variable="BP11217064526465"/>
+ <bpel:to part="newParameter2" variable="BP11217064767496"/>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:reply name="ID112170647674936" operation="operation2" partnerLink="invokereplycorrlsReceive2PL" portType="tns:invokereplycorrls" variable="BP11217064767496"/>
+ <bpel:receive name="ID112170648036941" createInstance="no" operation="operation3" partnerLink="invokereplycorrlsReceive3PL" portType="tns:invokereplycorrls" variable="BP11217064803697">
+ <bpel:correlations>
+ <bpel:correlation initiate="no" set="testinvokeoutcorrl"/>
+ </bpel:correlations>
+ </bpel:receive>
+ <bpel:assign name="BP112170704927621">
+ <bpel:copy>
+ <bpel:from part="newParameter1" variable="BP11217064803697"/>
+ <bpel:to part="newParameter2" variable="BP11217064841068"/>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:reply name="ID112170648410642" operation="operation3" partnerLink="invokereplycorrlsReceive3PL" portType="tns:invokereplycorrls" variable="BP11217064841068"/>
+ <bpel:receive name="ID112170648814247" createInstance="no" operation="operation4" partnerLink="invokereplycorrlsReceive4PL" portType="tns:invokereplycorrls" variable="BP11217064881429">
+ <bpel:correlations>
+ <bpel:correlation initiate="no" set="response1corrl"/>
+ </bpel:correlations>
+ </bpel:receive>
+ <bpel:assign name="BP112170709490322">
+ <bpel:copy>
+ <bpel:from part="newParameter1" variable="BP11217064881429"/>
+ <bpel:to part="newParameter2" variable="BP112170649223510"/>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:reply name="ID112170649223548" operation="operation4" partnerLink="invokereplycorrlsReceive4PL" portType="tns:invokereplycorrls" variable="BP112170649223510"/>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:scope>
+</bpel:process>
Added: incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/invokereplycorrls.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/invokereplycorrls.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/invokereplycorrls.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/invokereplycorrls.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="" targetNamespace="urn:mycompany:/corrlcr/invokereplycorrls" xmlns:tns="urn:mycompany:/corrlcr/invokereplycorrls" xmlns:ns0="http://www.w3schools.com" xmlns:ns1="urn:mycompany:/corrlcr/testinvoke" xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns1="http://www.w3schools.com" xmlns:format="http://schemas.xmlsoap.org/wsdl/formatbinding/">
+ <wsdl:import namespace="urn:mycompany:/corrlcr/testinvoke" location="bpelTests/testCorrlInvokeReply/testinvoke.wsdl"/>
+ <wsdl:types>
+ <xs:schema elementFormDefault="qualified" targetNamespace="http://www.w3schools.com" xmlns="http://www.w3schools.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+<xs:element name="note">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="to" type="xs:string"/>
+ <xs:element name="from" type="xs:string"/>
+ <xs:element name="heading" type="xs:string"/>
+ <xs:element name="body" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:element>
+
+</xs:schema>
+ <xs:schema elementFormDefault="qualified" targetNamespace="http://www.w3schools.com" xmlns="http://www.w3schools.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+<xs:element name="note">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="to" type="xs:string"/>
+ <xs:element name="from" type="xs:string"/>
+ <xs:element name="heading" type="xs:string"/>
+ <xs:element name="body" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:element>
+
+</xs:schema>
+ </wsdl:types>
+ <wsdl:message name="operation4Response">
+ <wsdl:part name="newParameter2" type="xsd:string"/>
+ </wsdl:message>
+ <wsdl:message name="operation1Response">
+ <wsdl:part name="newParameter2" element="ns0:note"/>
+ </wsdl:message>
+ <wsdl:message name="operation2Request">
+ <wsdl:part name="newParameter1" type="xsd:string"/>
+ </wsdl:message>
+ <wsdl:message name="operation2Response">
+ <wsdl:part name="newParameter2" type="xsd:string"/>
+ </wsdl:message>
+ <wsdl:message name="operation1Request">
+ <wsdl:part name="newParameter1" element="ns0:note"/>
+ </wsdl:message>
+ <wsdl:message name="operation3Response">
+ <wsdl:part name="newParameter2" type="xsd:string"/>
+ </wsdl:message>
+ <wsdl:message name="operation4Request">
+ <wsdl:part name="newParameter1" type="xsd:string"/>
+ </wsdl:message>
+ <wsdl:message name="operation3Request">
+ <wsdl:part name="newParameter1" type="xsd:string"/>
+ </wsdl:message>
+ <wsdl:portType name="invokereplycorrls">
+ <wsdl:operation name="operation3">
+ <wsdl:input name="operation3Request" message="tns:operation3Request"/>
+ <wsdl:output name="operation3Response" message="tns:operation3Response"/>
+ </wsdl:operation>
+ <wsdl:operation name="operation2">
+ <wsdl:input name="operation2Request" message="tns:operation2Request"/>
+ <wsdl:output name="operation2Response" message="tns:operation2Response"/>
+ </wsdl:operation>
+ <wsdl:operation name="operation1">
+ <wsdl:input name="operation1Request" message="tns:operation1Request"/>
+ <wsdl:output name="operation1Response" message="tns:operation1Response"/>
+ </wsdl:operation>
+ <wsdl:operation name="operation4">
+ <wsdl:input name="operation4Request" message="tns:operation4Request"/>
+ <wsdl:output name="operation4Response" message="tns:operation4Response"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="/corrlcr/.invokereplycorrls.bpmn" type="tns:invokereplycorrls">
+ <sybbpe:binding xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/"/>
+ <wsdl:operation name="operation3">
+ <wsdl:input name="operation3Request">
+ </wsdl:input>
+ <wsdl:output name="operation3Response">
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="operation2">
+ <wsdl:input name="operation2Request">
+ </wsdl:input>
+ <wsdl:output name="operation2Response">
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="operation1">
+ <wsdl:input name="operation1Request">
+ </wsdl:input>
+ <wsdl:output name="operation1Response">
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="operation4">
+ <wsdl:input name="operation4Request">
+ </wsdl:input>
+ <wsdl:output name="operation4Response">
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="invokereplycorrls">
+ <wsdl:port name="/corrlcr/.invokereplycorrls.bpmn" binding="tns:/corrlcr/.invokereplycorrls.bpmn">
+ <sybres:address xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" resourceRef="/corrlcr/.invokereplycorrls.bpmn.props"/>
+ </wsdl:port>
+ </wsdl:service>
+ <bpel:property name="response1corrlrespons1corrlvar" type="xsd:string"/>
+ <bpel:property name="testinvokeincorrltestinvokecorrlvar" type="xsd:string"/>
+ <bpel:property name="testinvokeoutcorrltestinvokeoutcorrlvar" type="xsd:string"/>
+ <bpel:propertyAlias messageType="ns1:operation1Request" part="newParameter1" propertyName="tns:testinvokeincorrltestinvokecorrlvar" query="/ns0:note/ns0:from"/>
+ <bpel:propertyAlias messageType="tns:operation2Request" part="newParameter1" propertyName="tns:testinvokeincorrltestinvokecorrlvar"/>
+ <bpel:propertyAlias messageType="tns:operation1Response" part="newParameter2" propertyName="tns:response1corrlrespons1corrlvar" query="/ns0:note/ns0:to"/>
+ <bpel:propertyAlias messageType="tns:operation4Request" part="newParameter1" propertyName="tns:response1corrlrespons1corrlvar"/>
+ <bpel:propertyAlias messageType="ns1:operation1Response" part="newParameter2" propertyName="tns:testinvokeoutcorrltestinvokeoutcorrlvar"/>
+ <bpel:propertyAlias messageType="tns:operation3Request" part="newParameter1" propertyName="tns:testinvokeoutcorrltestinvokeoutcorrlvar"/>
+</wsdl:definitions>
Added: incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/invokereplycorrls.xml
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/invokereplycorrls.xml?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/invokereplycorrls.xml (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/invokereplycorrls.xml Tue Feb 28 08:02:48 2006
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpe:BPEBinding xmlns:bpe="http://sybase.com/bpe/binding/bpe" xmlns:irc="urn:mycompany:/corrlcr/testinvoke">
+ <bpe:ActionBindings>
+ <bpe:binding name="ID112170680598996" nameSpace="urn:mycompany:/corrlcr/testinvoke" portType="testinvoke">
+ <bpe:operation name="operation1">
+ <bpe:action implementation="com.sybase.bpe.action.external.TestInvokeAction" irc:InputName="operation1Request" irc:OperationName="operation1" irc:OutputName="operation1Response" irc:PortTypeName="testinvoke" irc:PortTypeNameSpace="urn:mycompany:/corrlcr/testinvoke" irc:ServiceName="testinvoke" irc:ServiceNameSpace="urn:mycompany:/corrlcr/testinvoke"/>
+ </bpe:operation>
+ </bpe:binding>
+ </bpe:ActionBindings>
+ <bpe:ActivityBindings/>
+</bpe:BPEBinding>
Added: incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/msg1.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/msg1.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/msg1.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/msg1.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+
+target.name.space=urn:mycompany:/corrlcr/invokereplycorrls
+port.type=invokereplycorrls
+operation=operation1
+
+part1=xml.newParameter1
+
+xml.newParameter1=<?xml version="1.0" encoding="UTF-8"?><tns1:note xmlns:tns="urn:mycompany:/corrlcr/invokereplycorrls" xmlns:tns1="http://www.w3schools.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><tns1:to>jayme</tns1:to><tns1:from>cory</tns1:from><tns1:heading>heading</tns1:heading><tns1:body>body</tns1:body></tns1:note>
Added: incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/msg2.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/msg2.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/msg2.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/msg2.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+
+target.name.space=urn:mycompany:/corrlcr/invokereplycorrls
+port.type=invokereplycorrls
+operation=operation2
+
+part1=str.newParameter1
+
+str.newParameter1=cory
Added: incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/msg3.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/msg3.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/msg3.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/msg3.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+
+target.name.space=urn:mycompany:/corrlcr/invokereplycorrls
+port.type=invokereplycorrls
+operation=operation3
+
+part1=str.newParameter1
+
+str.newParameter1=testinvoke
Added: incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/msg4.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/msg4.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/msg4.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/msg4.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+
+target.name.space=urn:mycompany:/corrlcr/invokereplycorrls
+port.type=invokereplycorrls
+operation=operation4
+
+part1=str.newParameter1
+
+str.newParameter1=jayme
Added: incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/testinvoke.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/testinvoke.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/testinvoke.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testCorrlInvokeReply/testinvoke.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="" targetNamespace="urn:mycompany:/corrlcr/testinvoke" xmlns:tns="urn:mycompany:/corrlcr/testinvoke" xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns1="http://www.w3schools.com" xmlns:format="http://schemas.xmlsoap.org/wsdl/formatbinding/">
+ <wsdl:types>
+ <xs:schema elementFormDefault="qualified" targetNamespace="http://www.w3schools.com" xmlns="http://www.w3schools.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+<xs:element name="note">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="to" type="xs:string"/>
+ <xs:element name="from" type="xs:string"/>
+ <xs:element name="heading" type="xs:string"/>
+ <xs:element name="body" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:element>
+
+</xs:schema>
+ </wsdl:types>
+ <wsdl:message name="operation1Response">
+ <wsdl:part name="newParameter2" type="xsd:string"/>
+ </wsdl:message>
+ <wsdl:message name="operation1Request">
+ <wsdl:part name="newParameter1" element="tns1:note"/>
+ </wsdl:message>
+ <wsdl:portType name="testinvoke">
+ <wsdl:operation name="operation1">
+ <wsdl:input name="operation1Request" message="tns:operation1Request"/>
+ <wsdl:output name="operation1Response" message="tns:operation1Response"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="/corrlcr/.testinvoke.bpmn" type="tns:testinvoke">
+ <sybbpe:binding xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/"/>
+ <wsdl:operation name="operation1">
+ <wsdl:input name="operation1Request">
+ </wsdl:input>
+ <wsdl:output name="operation1Response">
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="testinvoke">
+ <wsdl:port name="/corrlcr/.testinvoke.bpmn" binding="tns:/corrlcr/.testinvoke.bpmn">
+ <sybres:address xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" resourceRef="/corrlcr/.testinvoke.bpmn.props"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added: incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/data.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/data.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/data.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/data.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,7 @@
+target.name.space=urn:sybase:bpel:faultCompHandlerInInvokeProcessing
+port.type=faultCompHandlerInInvokePT
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><wait>PT7S</wait><onAlarm>PT3S</onAlarm></testMessage>
Added: incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/faultCompHandlerInInvoke.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/faultCompHandlerInInvoke.bpel?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/faultCompHandlerInInvoke.bpel (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/faultCompHandlerInInvoke.bpel Tue Feb 28 08:02:48 2006
@@ -0,0 +1,77 @@
+<process name="faultCompHandlerInInvokeProcess"
+ targetNamespace="urn:sybase:bpel:faultCompHandlerInInvokeProcessing"
+ xmlns:tns="urn:sybase:bpel:faultCompHandlerInInvokeProcessing"
+ suppressJoinFailure="yes"
+ xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
+ xmlns:flt="urn:sybase:bpel:testFault"
+ xmlns:noop="urn:sybase:bpel:noOp">
+
+ <!-- test embeded fault and comp handlers in invokes -->
+ <!-- the first no op invoke will install a comp handler -->
+ <!-- the second invoke will generated an error and handle it -->
+ <!-- the error hanndling will throw and error which is not handled -->
+ <!-- this will cause implicit compensation on the installed comp handler -->
+ <!-- that comp handler will throw an error out of the process -->
+
+ <partnerLinks>
+ <partnerLink name="request" partnerLinkType="faultCompHandlerInInvokeRequest" myRole="faultCompHandlerInInvokeService"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request"
+ messageType="tns:requestMessage"/>
+ <variable name="reply1"
+ messageType="tns:replyMessage"/>
+ <variable name="reply2"
+ messageType="tns:replyMessage"/>
+ <variable name="fault"
+ messageType="flt:faultMessage"/>
+ </variables>
+ <catch faultName="tns:fault">
+ <sequence>
+ <compensate/>
+ </sequence>
+ </catch>
+ <sequence>
+ <receive name="receive1" partnerLink="request"
+ portType="tns:faultCompHandlerInInvokePT"
+ operation="request" variable="request"
+ createInstance="yes">
+ </receive>
+ <invoke name="noOp" partnerLink="noOp"
+ portType="noop:noOpPT" operation="noOp">
+ <compensationHandler>
+ <sequence>
+ <throw faultName="tns:faultFromCompensationHandlerInInvoke"/>
+ </sequence>
+ </compensationHandler>
+ </invoke>
+ <assign>
+ <copy>
+ <from expression="'FaultMessage1'"/>
+ <to variable="fault" part="faultName"/>
+ </copy>
+ <copy>
+ <from expression="'fault text one'"/>
+ <to variable="fault" part="faultData"/>
+ </copy>
+ </assign>
+ <invoke name="throwTestFault" partnerLink="fault"
+ portType="flt:faultMessagePT" operation="throwFault" inputVariable="fault">
+ <catch faultName="flt:FaultMessage1" faultVariable="testError">
+ <sequence>
+ <assign name="assignWait">
+ <copy>
+ <from expression="'caught FaultMessage1'"/>
+ <to variable="reply2" part="replyText"/>
+ </copy>
+ </assign>
+ <throw faultName="tns:fault"/>
+ </sequence>
+ </catch>
+ </invoke>
+ <reply name="reply" partnerLink="request" portType="tns:faultCompHandlerInInvokePT2"
+ operation="request" variable="reply2">
+ </reply>
+ </sequence>
+</process>
Added: incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/faultCompHandlerInInvoke.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/faultCompHandlerInInvoke.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/faultCompHandlerInInvoke.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/faultCompHandlerInInvoke.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,60 @@
+<!-- The public service interface for faultCompHandlerInInvoke.bpel -->
+
+<definitions
+ targetNamespace="urn:sybase:bpel:faultCompHandlerInInvokeProcessing"
+ xmlns:tns="urn:sybase:bpel:faultCompHandlerInInvokeProcessing"
+ xmlns:typens="urn:sybase:bpel:faultCompHandlerInInvokeProcessing:types"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+<import namespace="urn:sybase:bpel:testFault" location="bpelTests/testFaultCompHandlerInInvoke/faultService.wsdl"/>
+<import namespace="urn:sybase:bpel:noOp" location="bpelTests/testFaultCompHandlerInInvoke/noOpService.wsdl"/>
+
+ <!-- type defs -->
+ <types>
+ <xsd:schema
+ targetNamespace="urn:sybase:bpel:faultCompHandlerInInvokeProcessing:types"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:complexType name="testMessage">
+ <xsd:sequence>
+ <xsd:element name="wait" type="xsd:string"/>
+ <xsd:element name="onAlarm" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:schema>
+ </types>
+
+ <bpws:property name="reply" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:wait" messageType="tns:replyMessage" part="requestMessageData"/>
+
+ <bpws:property name="wait" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:wait" messageType="tns:requestMessage" part="requestMessageData" query="/testMessage/wait"/>
+
+ <bpws:property name="onAlarm" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:onAlarm" messageType="tns:requestMessage" part="requestMessageData" query="/testMessage/onAlarm"/>
+
+ <message name="requestMessage">
+ <part name="requestMessageData" type="typens:testMessage"/>
+ </message>
+
+ <message name="replyMessage">
+ <part name="replyText" type="xsd:string"/>
+ </message>
+
+ <!-- portType supported by the process -->
+ <portType name="faultCompHandlerInInvokePT">
+ <operation name="request">
+ <input message="requestMessage"/>
+ </operation>
+ </portType>
+
+ <plnk:partnerLinkType name="faultCompHandlerInInvokeRequest">
+ <plnk:role name="faultCompHandlerInInvokeService">
+ <plnk:portType name="faultCompHandlerInInvokePT"/>
+ </plnk:role>
+ </plnk:partnerLinkType>
+
+</definitions>
Added: incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/faultCompHandlerInInvoke.xml
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/faultCompHandlerInInvoke.xml?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/faultCompHandlerInInvoke.xml (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/faultCompHandlerInInvoke.xml Tue Feb 28 08:02:48 2006
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<BPEBinding xmlns="http://sybase.com/bpe/binding/bpe">
+ <ActionBindings>
+ <binding name="BPEBinding1" nameSpace="urn:sybase:bpel:noOp" portType="noOpPT">
+ <operation name="noOp">
+ <action implementation="com.sybase.bpe.action.external.NoOpAction"/>
+ </operation>
+ </binding>
+ <binding name="BPEBinding2" nameSpace="urn:sybase:bpel:testFault" portType="faultMessagePT">
+ <operation name="throwFault">
+ <action implementation="com.sybase.bpe.action.external.FaultAction"/>
+ </operation>
+ </binding>
+
+ </ActionBindings>
+</BPEBinding>
Added: incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/faultService.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/faultService.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/faultService.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/faultService.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,33 @@
+<?xml version="1.0" ?>
+
+<!-- The falut service is a simple test that throws an exception from an -->
+<!-- external service -->
+
+<definitions targetNamespace="urn:sybase:bpel:testFault"
+ xmlns:tns="urn:sybase:bpel:testFault"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://schemas.xmlsoap.org/wsdl/">
+
+
+ <!-- message declns -->
+
+ <message name="faultMessage">
+ <part name="faultName" type="xsd:string"/>
+ <part name="faultData" type="xsd:string"/>
+ </message>
+ <message name="errorMessage">
+ <part name="errorID" type="xsd:string"/>
+ <part name="errorText" type="xsd:string"/>
+ </message>
+
+ <!-- port type declns -->
+ <portType name="faultMessagePT">
+ <operation name="throwFault">
+ <input name="FaultInputMessage" message="tns:faultMessage"/>
+ <fault name="FaultMessage1" message="tns:errorMessage"/>
+ <fault name="FaultMessage2" message="tns:errorMessage"/>
+ </operation>
+ </portType>
+
+</definitions>
+
Added: incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/noOpService.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/noOpService.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/noOpService.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFaultCompHandlerInInvoke/noOpService.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,19 @@
+<?xml version="1.0" ?>
+
+<!-- The falut service is a simple test that throws an exception from an -->
+<!-- external service -->
+
+<definitions targetNamespace="urn:sybase:bpel:noOp"
+ xmlns:tns="urn:sybase:bpel:noOp"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://schemas.xmlsoap.org/wsdl/">
+
+
+ <!-- port type declns -->
+ <portType name="noOpPT">
+ <operation name="noOp">
+ </operation>
+ </portType>
+
+</definitions>
+
Added: incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/data1.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/data1.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/data1.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/data1.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+target.name.space=urn:sybase:bpel:testFaultInCompensationHandlerProcessing
+port.type=testFaultInCompensationHandlerPT
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><id1>msg1</id1><id2>msg1</id2></testMessage>
+
Added: incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/data2.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/data2.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/data2.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/data2.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+target.name.space=urn:sybase:bpel:testFaultInCompensationHandlerProcessing
+port.type=testFaultInCompensationHandlerPT2
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><id1>msg2</id1><id2>msg2</id2></testMessage>
+
Added: incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/data3.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/data3.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/data3.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/data3.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+target.name.space=urn:sybase:bpel:testFaultInCompensationHandlerProcessing
+port.type=testFaultInCompensationHandlerPT3
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><id1>msg3</id1><id2>msg3</id2></testMessage>
+
Added: incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/testFaultInCompensationHandler.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/testFaultInCompensationHandler.bpel?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/testFaultInCompensationHandler.bpel (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/testFaultInCompensationHandler.bpel Tue Feb 28 08:02:48 2006
@@ -0,0 +1,102 @@
+<process name="testFaultInCompensationHandlerProcess"
+ targetNamespace="urn:sybase:bpel:testFaultInCompensationHandlerProcessing"
+ xmlns:tns="urn:sybase:bpel:testFaultInCompensationHandlerProcessing"
+ suppressJoinFailure="yes"
+ xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+<!-- test fault thrown out of a compensation handler and the fault is handled out side the scope of a compensation handler-->
+
+ <partnerLinks>
+ <partnerLink name="request" partnerLinkType="testFaultInCompensationHandlerRequest" myRole="testFaultInCompensationHandlerService"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request"
+ messageType="tns:requestMessage"/>
+ <variable name="reply"
+ messageType="tns:replyMessage"/>
+ <variable name="reply2"
+ messageType="tns:replyMessage"/>
+ </variables>
+ <faultHandlers>
+ <catchAll>
+ <sequence>
+ <assign name="assign">
+ <copy>
+ <from variable="reply" part="replyText"/>
+ <to variable="reply2" part="replyText"/>
+ </copy>
+ </assign>
+ <reply name="reply2" partnerLink="request" portType="tns:testFaultInCompensationHandlerPT3"
+ operation="request" variable="reply2">
+ </reply>
+ </sequence>
+ </catchAll>
+ </faultHandlers>
+
+ <sequence>
+ <receive name="receive1" partnerLink="request"
+ portType="tns:testFaultInCompensationHandlerPT"
+ operation="request" variable="request"
+ createInstance="yes">
+ </receive>
+ <assign name="assign">
+ <copy>
+ <from variable="request" property="tns:id1"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+ <flow>
+ <scope name="ScopeOne">
+ <compensationHandler>
+ <sequence>
+ <compensate scope="ScopeOneOne"/>
+ </sequence>
+ </compensationHandler>
+ <sequence>
+ <scope name="ScopeOneOne">
+ <compensationHandler>
+ <sequence>
+ <scope name="ScopeOneOneCompensation">
+ <compensate scope="ScopeOneTwo"/>
+ </scope>
+ </sequence>
+ </compensationHandler>
+ <sequence>
+ <scope name="ScopeOneTwo">
+ <compensationHandler>
+ <sequence>
+ <assign name="assign">
+ <copy>
+ <from expression="'ScopeOneTwo compensation handler'"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+ <throw faultName="tns:fault"/>
+ </sequence>
+ </compensationHandler>
+ <sequence>
+ <empty/>
+ </sequence>
+ </scope>
+ <empty/>
+ </sequence>
+ </scope>
+ <empty/>
+ </sequence>
+ </scope>
+ <scope name="ScopeTwo">
+ <sequence>
+ <receive name="receive3" partnerLink="request"
+ portType="tns:testFaultInCompensationHandlerPT3"
+ operation="request" variable="request">
+ </receive>
+ <throw faultName="tns:fault"/>
+ </sequence>
+ </scope>
+ </flow>
+ <reply name="reply" partnerLink="request" portType="tns:testFaultInCompensationHandlerPT"
+ operation="request" variable="reply">
+ </reply>
+ </sequence>
+</process>
Added: incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/testFaultInCompensationHandler.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/testFaultInCompensationHandler.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/testFaultInCompensationHandler.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFaultInCompensationHandler/testFaultInCompensationHandler.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,67 @@
+<!-- The public service interface for testFaultInCompensationHandler.bpel -->
+
+<definitions
+ targetNamespace="urn:sybase:bpel:testFaultInCompensationHandlerProcessing"
+ xmlns:tns="urn:sybase:bpel:testFaultInCompensationHandlerProcessing"
+ xmlns:typens="urn:sybase:bpel:testFaultInCompensationHandlerProcessing:types"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+ <!-- type defs -->
+ <types>
+ <xsd:schema
+ targetNamespace="urn:sybase:bpel:testFaultInCompensationHandlerProcessing:types"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:complexType name="testMessage">
+ <xsd:sequence>
+ <xsd:element name="id1" type="xsd:string"/>
+ <xsd:element name="id2" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:schema>
+ </types>
+
+ <bpws:property name="id1" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:id1" messageType="tns:requestMessage" part="requestMessageData" query="/testMessage/id1"/>
+ <bpws:property name="id2" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:id2" messageType="tns:requestMessage" part="requestMessageData" query="/testMessage/id2"/>
+
+ <message name="requestMessage">
+ <part name="requestMessageData" type="typens:testMessage"/>
+ </message>
+
+ <message name="replyMessage">
+ <part name="replyText" type="xsd:string"/>
+ </message>
+
+ <portType name="testFaultInCompensationHandlerPT">
+ <operation name="request">
+ <input message="requestMessage"/>
+ <output message="replyMessage"/>
+ </operation>
+ </portType>
+
+ <portType name="testFaultInCompensationHandlerPT2">
+ <operation name="request">
+ <input message="requestMessage"/>
+ <output message="replyMessage"/>
+ </operation>
+ </portType>
+
+ <portType name="testFaultInCompensationHandlerPT3">
+ <operation name="request">
+ <input message="requestMessage"/>
+ <output message="replyMessage"/>
+ </operation>
+ </portType>
+
+ <plnk:partnerLinkType name="testFaultInCompensationHandlerRequest">
+ <plnk:role name="testFaultInCompensationHandlerService">
+ <plnk:portType name="testFaultInCompensationHandlerPT"/>
+ </plnk:role>
+ </plnk:partnerLinkType>
+
+</definitions>
Added: incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/data1.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/data1.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/data1.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/data1.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+target.name.space=urn:sybase:bpel:testFaultInFaultHandlerProcessing
+port.type=testFaultInFaultHandlerPT
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><id1>msg1</id1><id2>msg1</id2></testMessage>
+
Added: incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/data2.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/data2.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/data2.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/data2.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+target.name.space=urn:sybase:bpel:testFaultInFaultHandlerProcessing
+port.type=testFaultInFaultHandlerPT2
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><id1>msg2</id1><id2>msg2</id2></testMessage>
+
Added: incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/data3.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/data3.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/data3.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/data3.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,8 @@
+target.name.space=urn:sybase:bpel:testFaultInFaultHandlerProcessing
+port.type=testFaultInFaultHandlerPT3
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><id1>msg3</id1><id2>msg3</id2></testMessage>
+
Added: incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/testFaultInCompensationHandler.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/testFaultInCompensationHandler.bpel?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/testFaultInCompensationHandler.bpel (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/testFaultInCompensationHandler.bpel Tue Feb 28 08:02:48 2006
@@ -0,0 +1,90 @@
+<process name="testFaultInFaultHandlerProcess"
+ targetNamespace="urn:sybase:bpel:testFaultInFaultHandlerProcessing"
+ xmlns:tns="urn:sybase:bpel:testFaultInFaultHandlerProcessing"
+ suppressJoinFailure="yes"
+ xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+<!-- test fault thrown out of a fault handler and the fault is handled out side the scope of a fault handler-->
+
+ <partnerLinks>
+ <partnerLink name="request" partnerLinkType="testFaultInFaultHandlerRequest" myRole="testFaultInFaultHandlerService"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request"
+ messageType="tns:requestMessage"/>
+ <variable name="reply"
+ messageType="tns:replyMessage"/>
+ <variable name="reply2"
+ messageType="tns:replyMessage"/>
+ </variables>
+
+ <faultHandlers>
+ <catchAll>
+ <sequence>
+ <assign name="assign">
+ <copy>
+ <from expression="concat(getVariableData('reply2','replyText'),' -> RootScopeFaultHandler')"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+ <reply name="reply2" partnerLink="request" portType="tns:testFaultInFaultHandlerPT"
+ operation="request" variable="reply">
+ </reply>
+ </sequence>
+ </catchAll>
+ </faultHandlers>
+
+ <sequence>
+ <receive name="receive1" partnerLink="request"
+ portType="tns:testFaultInFaultHandlerPT"
+ operation="request" variable="request"
+ createInstance="yes">
+ </receive>
+ <scope name="ScopeOne">
+ <sequence>
+ <scope name="ScopeOneOne">
+ <sequence>
+ <scope name="ScopeOneTwo">
+ <variables>
+ <variable name="testvar"
+ messageType="tns:replyMessage"/>
+ </variables>
+ <faultHandlers>
+ <catchAll>
+ <sequence>
+ <assign name="assign">
+ <copy>
+ <from expression="'ScopeOneTwoFaultHandler'"/>
+ <to variable="reply2" part="replyText"/>
+ </copy>
+ </assign>
+ <assign name="assign2">
+ <copy>
+ <from expression="'ScopeOneTwoFaultHandler'"/>
+ <to variable="testvar" part="replyText"/>
+ </copy>
+ </assign>
+ <throw faultName="tns:fault"/>
+ </sequence>
+ </catchAll>
+ </faultHandlers>
+ <sequence>
+ <throw faultName="tns:fault"/>
+ </sequence>
+ </scope>
+ </sequence>
+ </scope>
+ </sequence>
+ </scope>
+ <assign name="assign">
+ <copy>
+ <from expression="'BAD'"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+ <reply name="reply" partnerLink="request" portType="tns:testFaultInFaultHandlerPT"
+ operation="request" variable="reply">
+ </reply>
+ </sequence>
+</process>
Added: incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/testFaultInCompensationHandler.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/testFaultInCompensationHandler.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/testFaultInCompensationHandler.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFaultInFaultHandler/testFaultInCompensationHandler.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,67 @@
+<!-- The public service interface for testFaultInFaultHandler.bpel -->
+
+<definitions
+ targetNamespace="urn:sybase:bpel:testFaultInFaultHandlerProcessing"
+ xmlns:tns="urn:sybase:bpel:testFaultInFaultHandlerProcessing"
+ xmlns:typens="urn:sybase:bpel:testFaultInFaultHandlerProcessing:types"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+ <!-- type defs -->
+ <types>
+ <xsd:schema
+ targetNamespace="urn:sybase:bpel:testFaultInFaultHandlerProcessing:types"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:complexType name="testMessage">
+ <xsd:sequence>
+ <xsd:element name="id1" type="xsd:string"/>
+ <xsd:element name="id2" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:schema>
+ </types>
+
+ <bpws:property name="id1" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:id1" messageType="tns:requestMessage" part="requestMessageData" query="/testMessage/id1"/>
+ <bpws:property name="id2" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:id2" messageType="tns:requestMessage" part="requestMessageData" query="/testMessage/id2"/>
+
+ <message name="requestMessage">
+ <part name="requestMessageData" type="typens:testMessage"/>
+ </message>
+
+ <message name="replyMessage">
+ <part name="replyText" type="xsd:string"/>
+ </message>
+
+ <portType name="testFaultInFaultHandlerPT">
+ <operation name="request">
+ <input message="requestMessage"/>
+ <output message="replyMessage"/>
+ </operation>
+ </portType>
+
+ <portType name="testFaultInFaultHandlerPT2">
+ <operation name="request">
+ <input message="requestMessage"/>
+ <output message="replyMessage"/>
+ </operation>
+ </portType>
+
+ <portType name="testFaultInFaultHandlerPT3">
+ <operation name="request">
+ <input message="requestMessage"/>
+ <output message="replyMessage"/>
+ </operation>
+ </portType>
+
+ <plnk:partnerLinkType name="testFaultInFaultHandlerRequest">
+ <plnk:role name="testFaultInFaultHandlerService">
+ <plnk:portType name="testFaultInFaultHandlerPT"/>
+ </plnk:role>
+ </plnk:partnerLinkType>
+
+</definitions>
Added: incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes.bpel?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes.bpel (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes.bpel Tue Feb 28 08:02:48 2006
@@ -0,0 +1,87 @@
+<process name="flowScopesProcess"
+ targetNamespace="urn:sybase:bpel:flowScopesProcessing"
+ xmlns:tns="urn:sybase:bpel:flowScopesProcessing"
+ suppressJoinFailure="yes"
+ xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+ <!-- test scopes and receives in flows
+ this test exposed a flaw in scoping where rec1->rec3->rec2->rec4 whould
+ return reply1 indicating that the fault thrown in ScopeFlow2 would be
+ handled by the fault handler in ScopeFlow1 which should never happen
+ -->
+
+ <partnerLinks>
+ <partnerLink name="request" partnerLinkType="flowScopesRequest" myRole="flowScopesService"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request"
+ messageType="tns:requestMessage"/>
+ <variable name="reply1"
+ messageType="tns:replyMessage"/>
+ </variables>
+ <sequence>
+ <receive name="receive1" partnerLink="request"
+ portType="tns:flowScopesPT"
+ operation="request" variable="request"
+ createInstance="yes">
+ </receive>
+ <scope name="ScopeOne">
+ <faultHandlers>
+ <catchAll>
+ <sequence>
+ <assign name="scope1assign2">
+ <copy>
+ <from expression="'handeled in ScopeOne'"/>
+ <to variable="reply1" part="replyText"/>
+ </copy>
+ </assign>
+ </sequence>
+ </catchAll>
+ </faultHandlers>
+ <flow>
+ <sequence>
+ <scope name="ScopeFlow1">
+ <faultHandlers>
+ <catchAll>
+ <sequence>
+ <assign name="scope1assign2">
+ <copy>
+ <from expression="'handeled in ScopeFlow1'"/>
+ <to variable="reply1" part="replyText"/>
+ </copy>
+ </assign>
+ </sequence>
+ </catchAll>
+ </faultHandlers>
+ <sequence>
+ <receive name="receive2" partnerLink="request"
+ portType="tns:flowScopesPT2"
+ operation="request" variable="request">
+ </receive>
+ </sequence>
+ </scope>
+ </sequence>
+ <sequence>
+ <scope name="ScopeFlow2">
+ <sequence>
+ <receive name="receive3" partnerLink="request"
+ portType="tns:flowScopesPT3"
+ operation="request" variable="request">
+ </receive>
+ <throw faultName="tns:testFault"/>
+ </sequence>
+ </scope>
+ </sequence>
+ </flow>
+ </scope>
+
+ <receive name="receive4" partnerLink="request"
+ portType="tns:flowScopesPT4"
+ operation="request" variable="request">
+ </receive>
+ <reply name="reply" partnerLink="request" portType="tns:flowScopesPT4"
+ operation="request" variable="reply1">
+ </reply>
+ </sequence>
+</process>
Added: incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,72 @@
+<!-- The public service interface for flowScopes.bpel -->
+
+<definitions
+ targetNamespace="urn:sybase:bpel:flowScopesProcessing"
+ xmlns:tns="urn:sybase:bpel:flowScopesProcessing"
+ xmlns:typens="urn:sybase:bpel:flowScopesProcessing:types"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+ <!-- type defs -->
+ <types>
+ <xsd:schema
+ targetNamespace="urn:sybase:bpel:flowScopesProcessing:types"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:complexType name="testMessage">
+ <xsd:sequence>
+ <xsd:element name="wait" type="xsd:string"/>
+ <xsd:element name="onAlarm" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:schema>
+ </types>
+
+ <bpws:property name="reply" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:wait" messageType="tns:replyMessage" part="requestMessageData"/>
+
+ <bpws:property name="wait" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:wait" messageType="tns:requestMessage" part="requestMessageData" query="/testMessage/wait"/>
+
+ <bpws:property name="onAlarm" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:onAlarm" messageType="tns:requestMessage" part="requestMessageData" query="/testMessage/onAlarm"/>
+
+ <message name="requestMessage">
+ <part name="requestMessageData" type="typens:testMessage"/>
+ </message>
+
+ <message name="replyMessage">
+ <part name="replyText" type="xsd:string"/>
+ </message>
+
+ <!-- portType supported by the process -->
+ <portType name="flowScopesPT">
+ <operation name="request">
+ <input message="requestMessage"/>
+ </operation>
+ </portType>
+ <portType name="flowScopesPT2">
+ <operation name="request">
+ <input message="requestMessage"/>
+ </operation>
+ </portType>
+ <portType name="flowScopesPT3">
+ <operation name="request">
+ <input message="requestMessage"/>
+ </operation>
+ </portType>
+ <portType name="flowScopesPT4">
+ <operation name="request">
+ <input message="requestMessage"/>
+ </operation>
+ </portType>
+
+ <plnk:partnerLinkType name="flowScopesRequest">
+ <plnk:role name="flowScopesService">
+ <plnk:portType name="flowScopesPT"/>
+ </plnk:role>
+ </plnk:partnerLinkType>
+
+</definitions>
Added: incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes1Data.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes1Data.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes1Data.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes1Data.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,7 @@
+target.name.space=urn:sybase:bpel:flowScopesProcessing
+port.type=flowScopesPT
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><wait>PT7S</wait><onAlarm>PT3S</onAlarm></testMessage>
Added: incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes2Data.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes2Data.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes2Data.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes2Data.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,7 @@
+target.name.space=urn:sybase:bpel:flowScopesProcessing
+port.type=flowScopesPT2
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><wait>PT7S</wait><onAlarm>PT3S</onAlarm></testMessage>
Added: incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes3Data.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes3Data.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes3Data.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes3Data.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,7 @@
+target.name.space=urn:sybase:bpel:flowScopesProcessing
+port.type=flowScopesPT3
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><wait>PT7S</wait><onAlarm>PT3S</onAlarm></testMessage>
Added: incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes4Data.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes4Data.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes4Data.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testFlowScopes/flowScopes4Data.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,7 @@
+target.name.space=urn:sybase:bpel:flowScopesProcessing
+port.type=flowScopesPT4
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><wait>PT7S</wait><onAlarm>PT3S</onAlarm></testMessage>
Added: incubator/ode/scratch/bpe/bpelTests/testGetVarData/getVarData.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testGetVarData/getVarData.bpel?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testGetVarData/getVarData.bpel (added)
+++ incubator/ode/scratch/bpe/bpelTests/testGetVarData/getVarData.bpel Tue Feb 28 08:02:48 2006
@@ -0,0 +1,66 @@
+<process name="getVarDataProcess"
+ targetNamespace="urn:sybase:bpel:getVarDataProcessing"
+ xmlns:tns="urn:sybase:bpel:getVarDataProcessing"
+ suppressJoinFailure="yes"
+ xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+ <!-- test getVariableData -->
+
+ <partnerLinks>
+ <partnerLink name="request" partnerLinkType="getVarDataRequest" myRole="getVarDataService"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request" messageType="tns:requestMessage"/>
+ <variable name="etestMessage" element="tns:etestMessage"/>
+ <variable name="ttestMessage" type="tns:testMessage"/>
+ <variable name="reply" messageType="tns:replyMessage"/>
+ <variable name="str1" type="xsd:string"/>
+ </variables>
+ <sequence>
+ <receive name="receive1" partnerLink="request"
+ portType="tns:getVarDataPT"
+ operation="request" variable="request"
+ createInstance="yes">
+ </receive>
+ <!-- copy from a wsdl message part with xpath to a variable -->
+ <assign>
+ <copy>
+ <from expression="getVariableData('request','requestMessageData','/testMessage/wait'"/>
+ <to variable="str1"/>
+ </copy>
+ </assign>
+ <!-- copy from a wsdl message part to a element variable -->
+ <assign>
+ <copy>
+ <from variable="request" part="requestMessageData"/>
+ <to variable="etestMessage"/>
+ </copy>
+ </assign>
+ <!-- copy from a wsdl message part to a variable type -->
+ <assign>
+ <copy>
+ <from variable="request" part="requestMessageData"/>
+ <to variable="etestMessage"/>
+ </copy>
+ </assign>
+ <!-- copy from getVariableData for type and element -->
+ <assign>
+ <copy>
+ <from expression="concat(getVariableData('etestMessage','/testMessage/wait'),getVariableData('ttestMessage','/testMessage/wait'))"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+ <!-- copy from a getVariableData wsld message part and simple type -->
+ <assign>
+ <copy>
+ <from expression="concat(getVariableData('reply','replyText'),getVariableData('str1'))"/>
+
+ <to variable="str1"/>
+ </copy>
+ </assign>
+ <reply name="reply" partnerLink="request" portType="tns:getVarDataPT2"
+ operation="request" variable="reply2">
+ </reply>
+ </sequence>
+</process>
Added: incubator/ode/scratch/bpe/bpelTests/testGetVarData/getVarData.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testGetVarData/getVarData.txt?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testGetVarData/getVarData.txt (added)
+++ incubator/ode/scratch/bpe/bpelTests/testGetVarData/getVarData.txt Tue Feb 28 08:02:48 2006
@@ -0,0 +1,7 @@
+target.name.space=urn:sybase:bpel:getVarDataProcessing
+port.type=getVarDataPT
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><wait>PT7S</wait><onAlarm>PT3S</onAlarm></testMessage>
Added: incubator/ode/scratch/bpe/bpelTests/testGetVarData/getVarData.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/bpe/bpelTests/testGetVarData/getVarData.wsdl?rev=381686&view=auto
==============================================================================
--- incubator/ode/scratch/bpe/bpelTests/testGetVarData/getVarData.wsdl (added)
+++ incubator/ode/scratch/bpe/bpelTests/testGetVarData/getVarData.wsdl Tue Feb 28 08:02:48 2006
@@ -0,0 +1,59 @@
+<!-- The public service interface for getVarData.bpel -->
+
+<definitions
+ targetNamespace="urn:sybase:bpel:getVarDataProcessing"
+ xmlns:tns="urn:sybase:bpel:getVarDataProcessing"
+ xmlns:typens="urn:sybase:bpel:getVarDataProcessing:types"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+ <!-- type defs -->
+ <types>
+ <xsd:schema
+ targetNamespace="urn:sybase:bpel:getVarDataProcessing:types"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:complexType name="testMessage">
+ <xsd:sequence>
+ <xsd:element name="wait" type="xsd:string"/>
+ <xsd:element name="onAlarm" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:schema>
+ </types>
+
+ <element name="testMsg" type="testMessage"/>
+
+ <bpws:property name="reply" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:wait" messageType="tns:replyMessage" part="requestMessageData"/>
+
+ <bpws:property name="wait" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:wait" messageType="tns:requestMessage" part="requestMessageData" query="/testMessage/wait"/>
+
+ <bpws:property name="onAlarm" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:onAlarm" messageType="tns:requestMessage" part="requestMessageData" query="/testMessage/onAlarm"/>
+
+ <message name="requestMessage">
+ <part name="requestMessageData" type="typens:testMessage"/>
+ </message>
+
+ <message name="replyMessage">
+ <part name="replyText" type="xsd:string"/>
+ </message>
+
+ <!-- portType supported by the process -->
+ <portType name="getVarDataPT">
+ <operation name="request">
+ <input message="requestMessage"/>
+ </operation>
+ </portType>
+
+ <plnk:partnerLinkType name="getVarDataRequest">
+ <plnk:role name="getVarDataService">
+ <plnk:portType name="getVarDataPT"/>
+ </plnk:role>
+ </plnk:partnerLinkType>
+
+</definitions>