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:35:26 UTC
svn commit: r381694 [7/38] - in /incubator/ode/scratch: bpe/ ode/
ode/bpelTests/ ode/bpelTests/probeService/ ode/bpelTests/test1/
ode/bpelTests/test10/ ode/bpelTests/test12/ ode/bpelTests/test13/
ode/bpelTests/test14/ ode/bpelTests/test15/ ode/bpelTest...
Added: incubator/ode/scratch/ode/bpelTests/testNestedSplits/NSBP.xml
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testNestedSplits/NSBP.xml?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testNestedSplits/NSBP.xml (added)
+++ incubator/ode/scratch/ode/bpelTests/testNestedSplits/NSBP.xml Tue Feb 28 08:31:48 2006
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="ASCII"?>
+<bpe:BPEBinding xmlns:bpe="http://apache.org/ode/binding/ode">
+ <bpe:ActionBindings/>
+ <bpe:ActivityBindings/>
+</bpe:BPEBinding>
Added: incubator/ode/scratch/ode/bpelTests/testNestedSplits/links.props
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testNestedSplits/links.props?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testNestedSplits/links.props (added)
+++ incubator/ode/scratch/ode/bpelTests/testNestedSplits/links.props Tue Feb 28 08:31:48 2006
@@ -0,0 +1,7 @@
+target.name.space=urn:mycompany:/NestedSplits/NSBP.svc_bpmn
+port.type=default
+operation=Receive1
+
+part1=str.InParam
+
+str.InParam=test
Added: incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData.bpel?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData.bpel (added)
+++ incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData.bpel Tue Feb 28 08:31:48 2006
@@ -0,0 +1,60 @@
+<process name="oOBDataProcess"
+ targetNamespace="urn:sybase:bpel:oOBDataProcessing"
+ xmlns:tns="urn:sybase:bpel:oOBDataProcessing"
+ xmlns:ts="urn:sybase:bpel:testOOBData"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ suppressJoinFailure="yes"
+ xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+ <!-- test out of band data -->
+
+ <partnerLinks>
+ <partnerLink name="testLink" partnerLinkType="oOBDataRequest" myRole="oOBDataService"/>
+ <partnerLink name="testLink2" partnerLinkType="oOBDataRequest" myRole="oOBDataService"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request"
+ messageType="tns:requestMessage"/>
+ <variable name="reply"
+ messageType="tns:replyMessage"/>
+ <variable name="testin"
+ messageType="ts:testMessage"/>
+ <variable name="testout"
+ messageType="ts:testMessage"/>
+ </variables>
+ <sequence>
+ <receive name="receive1" partnerLink="testLink"
+ portType="tns:oOBDataPT"
+ operation="request" variable="request"
+ createInstance="yes">
+ </receive>
+ <!-- another reaceive to make it stateful -->
+ <receive name="receive2" partnerLink="testLink2"
+ portType="tns:oOBDataPT2"
+ operation="request" variable="request">
+ </receive>
+ <!-- the test invoke -->
+ <assign name="BP112170670947414">
+ <copy>
+ <from expression="'A value here'"/>
+ <to part="testText" variable="testin"/>
+ </copy>
+ </assign>
+ <invoke name="test" partnerLink="testLink"
+ portType="ts:oOBDataMessagePT"
+ operation="test"
+ inputVariable="testin"
+ outputVariable="testout">
+ </invoke>
+ <assign name="assign">
+ <copy>
+ <from variable="testout" part="testText"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+ <reply name="reply" partnerLink="testLink2" portType="tns:oOBDataPT2"
+ operation="request" variable="reply">
+ </reply>
+ </sequence>
+</process>
Added: incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData.txt?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData.txt (added)
+++ incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData.txt Tue Feb 28 08:31:48 2006
@@ -0,0 +1,7 @@
+target.name.space=urn:sybase:bpel:oOBDataProcessing
+port.type=oOBDataPT
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><wait>PT7S</wait><onAlarm>PT3S</onAlarm></testMessage>
Added: incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData.wsdl?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData.wsdl (added)
+++ incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData.wsdl Tue Feb 28 08:31:48 2006
@@ -0,0 +1,68 @@
+<!-- The public service interface for oOBData.bpel -->
+
+<definitions
+ targetNamespace="urn:sybase:bpel:oOBDataProcessing"
+ xmlns:tns="urn:sybase:bpel:oOBDataProcessing"
+ xmlns:typens="urn:sybase:bpel:oOBDataProcessing: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:ts="urn:sybase:bpel:testOOBData"
+ xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+ <import namespace="urn:sybase:bpel:testOOBData"
+ location="bpelTests/testOOBdata/oobTestService.wsdl"/>
+
+ <!-- type defs -->
+ <types>
+ <xsd:schema
+ targetNamespace="urn:sybase:bpel:oOBDataProcessing: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="oOBDataPT">
+ <operation name="request">
+ <input message="requestMessage"/>
+ </operation>
+ </portType>
+
+ <portType name="oOBDataPT2">
+ <operation name="request">
+ <input message="requestMessage"/>
+ <output message="replyText"/>
+ </operation>
+ </portType>
+
+ <plnk:partnerLinkType name="oOBDataRequest">
+ <plnk:role name="oOBDataService">
+ <plnk:portType name="oOBDataPT"/>
+ </plnk:role>
+ </plnk:partnerLinkType>
+
+</definitions>
Added: incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData.xml
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData.xml?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData.xml (added)
+++ incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData.xml Tue Feb 28 08:31:48 2006
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<BPEBinding xmlns="http://apache.org/ode/binding/ode" xmlns:tod="urn:sybase:bpel:testOOBData">
+ <ActionBindings>
+ <binding name="BPEBinding1" nameSpace="urn:sybase:bpel:testOOBData" portType="oOBDataMessagePT">
+ <operation name="test">
+ <action implementation="org.apache.ode.action.external.OOBTestAction" tod:targetPart="testText"/>
+ </operation>
+ </binding>
+ </ActionBindings>
+</BPEBinding>
Added: incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData2.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData2.txt?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData2.txt (added)
+++ incubator/ode/scratch/ode/bpelTests/testOOBData/oOBData2.txt Tue Feb 28 08:31:48 2006
@@ -0,0 +1,7 @@
+target.name.space=urn:sybase:bpel:oOBDataProcessing
+port.type=oOBDataPT2
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><wait>PT7S</wait><onAlarm>PT3S</onAlarm></testMessage>
Added: incubator/ode/scratch/ode/bpelTests/testOOBData/oobTestService.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testOOBData/oobTestService.wsdl?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testOOBData/oobTestService.wsdl (added)
+++ incubator/ode/scratch/ode/bpelTests/testOOBData/oobTestService.wsdl Tue Feb 28 08:31:48 2006
@@ -0,0 +1,23 @@
+<?xml version="1.0" ?>
+
+<definitions targetNamespace="urn:sybase:bpel:testOOBData"
+ xmlns:tns="urn:sybase:bpel:testOOBData"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://schemas.xmlsoap.org/wsdl/">
+
+
+ <message name="testMessage">
+ <part name="testText" type="xsd:string"/>
+ </message>
+
+ <!-- port type declns -->
+ <portType name="oOBDataMessagePT">
+ <operation name="test">
+ <input name="in" message="tns:testMessage"/>
+ <output name="out" message="tns:testMessage"/>
+ </operation>
+
+ </portType>
+
+</definitions>
+
Added: incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/data.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/data.txt?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/data.txt (added)
+++ incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/data.txt Tue Feb 28 08:31:48 2006
@@ -0,0 +1,9 @@
+target.name.space=urn:sybase:bpel:partnerLinkAssignProcessing
+port.type=partnerLinkAssignPT
+operation=request
+
+part1=str.requestData
+part2=str.<OOB
+
+str.request=request
+str.<OOB=partnerLinkDataIn
Added: incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/oobTestService.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/oobTestService.wsdl?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/oobTestService.wsdl (added)
+++ incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/oobTestService.wsdl Tue Feb 28 08:31:48 2006
@@ -0,0 +1,23 @@
+<?xml version="1.0" ?>
+
+<definitions targetNamespace="urn:sybase:bpel:testOOBData"
+ xmlns:tns="urn:sybase:bpel:testOOBData"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://schemas.xmlsoap.org/wsdl/">
+
+
+ <message name="testMessage">
+ <part name="testText" type="xsd:string"/>
+ </message>
+
+ <!-- port type declns -->
+ <portType name="partnerLinkAssignMessagePT">
+ <operation name="test">
+ <input name="in" message="tns:testMessage"/>
+ <output name="out" message="tns:testMessage"/>
+ </operation>
+
+ </portType>
+
+</definitions>
+
Added: incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/partnerLinkAssign.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/partnerLinkAssign.bpel?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/partnerLinkAssign.bpel (added)
+++ incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/partnerLinkAssign.bpel Tue Feb 28 08:31:48 2006
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<process name="partnerLinkAssignProcess"
+ targetNamespace="urn:sybase:bpel:partnerLinkAssignProcessing"
+ xmlns:tns="urn:sybase:bpel:partnerLinkAssignProcessing"
+ xmlns:ts="urn:sybase:bpel:testOOBData"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ suppressJoinFailure="yes"
+ xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+ <partnerLinks>
+ <partnerLink name="testLink" partnerLinkType="partnerLinkAssignRequest" myRole="partnerLinkAssignService"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request"
+ messageType="tns:requestMessage"/>
+ <variable name="reply"
+ messageType="tns:replyMessage"/>
+ <variable name="testin"
+ messageType="ts:testMessage"/>
+ <variable name="testout"
+ messageType="ts:testMessage"/>
+ </variables>
+ <sequence>
+ <receive name="receive1" partnerLink="testLink"
+ portType="tns:partnerLinkAssignPT"
+ operation="request" variable="request"
+ createInstance="yes">
+ </receive>
+ <assign name="assign">
+ <!-- copy to variable -->
+ <copy>
+ <from partnerLink="testLink" endpointReference="partnerRole"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+ <assign name="assign2">
+ <!-- copy to partnerlink -->
+ <copy>
+ <from expression="'partnerLinkDataOut'"/>
+ <to partnerLink="testLink"/>
+ </copy>
+ </assign>
+ <assign name="BP112170670947414">
+ <copy>
+ <from expression="'A value here'"/>
+ <to part="testText" variable="testin"/>
+ </copy>
+ </assign>
+ <!-- the test invoke should return the 'test' from the assign -->
+ <invoke name="test" partnerLink="testLink"
+ portType="ts:partnerLinkAssignMessagePT"
+ operation="test"
+ inputVariable="testin"
+ outputVariable="testout">
+ </invoke>
+ <assign name="assign3">
+ <copy>
+ <from expression="concat(getVariableData('reply','replyText'),getVariableData('testout','testText'))"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+ <reply name="reply" partnerLink="testLink" portType="tns:partnerLinkAssignPT"
+ operation="request" variable="reply">
+ </reply>
+ </sequence>
+</process>
Added: incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/partnerLinkAssign.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/partnerLinkAssign.wsdl?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/partnerLinkAssign.wsdl (added)
+++ incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/partnerLinkAssign.wsdl Tue Feb 28 08:31:48 2006
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- The public service interface for partnerLinkAssign.bpel -->
+
+<definitions
+ targetNamespace="urn:sybase:bpel:partnerLinkAssignProcessing"
+ xmlns:tns="urn:sybase:bpel:partnerLinkAssignProcessing"
+ xmlns:typens="urn:sybase:bpel:partnerLinkAssignProcessing: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:ts="urn:sybase:bpel:testOOBData"
+ xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+ <import namespace="urn:sybase:bpel:testOOBData"
+ location="bpelTests/testPartnerLinkAssign/oobTestService.wsdl"/>
+
+ <message name="requestMessage">
+ <part name="requestData" type="xsd:string"/>
+ </message>
+
+ <message name="replyMessage">
+ <part name="replyText" type="xsd:string"/>
+ </message>
+
+ <!-- portType supported by the process -->
+ <portType name="partnerLinkAssignPT">
+ <operation name="request">
+ <input message="requestMessage"/>
+ <output message="replyText"/>
+ </operation>
+ </portType>
+
+ <plnk:partnerLinkType name="partnerLinkAssignRequest">
+ <plnk:role name="partnerLinkAssignService">
+ <plnk:portType name="partnerLinkAssignPT"/>
+ </plnk:role>
+ </plnk:partnerLinkType>
+
+</definitions>
Added: incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/partnerLinkAssign.xml
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/partnerLinkAssign.xml?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/partnerLinkAssign.xml (added)
+++ incubator/ode/scratch/ode/bpelTests/testPartnerLinkAssign/partnerLinkAssign.xml Tue Feb 28 08:31:48 2006
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<BPEBinding xmlns="http://apache.org/ode/binding/ode" xmlns:tod="urn:sybase:bpel:testOOBData">
+ <ActionBindings>
+ <binding name="BPEBinding1" nameSpace="urn:sybase:bpel:testOOBData" portType="partnerLinkAssignMessagePT">
+ <operation name="test">
+ <action implementation="org.apache.ode.action.external.OOBTestAction" tod:targetPart="testText"/>
+ </operation>
+ </binding>
+ </ActionBindings>
+</BPEBinding>
Added: incubator/ode/scratch/ode/bpelTests/testQts377278/CHBP.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testQts377278/CHBP.bpel?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testQts377278/CHBP.bpel (added)
+++ incubator/ode/scratch/ode/bpelTests/testQts377278/CHBP.bpel Tue Feb 28 08:31:48 2006
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="ASCII"?>
+<bpel:process xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns0="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:CompensationHandler/CHBP" name="BPName" targetNamespace="urn:CompensationHandler/CHBP">
+ <bpel:partnerLinks>
+ <bpel:partnerLink myRole="serviceProvider" name="BPNameReceive1PL" partnerLinkType="tns:BPNamePLType"/>
+ </bpel:partnerLinks>
+ <bpel:scope name="ID11060625926992">
+ <bpel:variables>
+ <bpel:variable messageType="tns:Receive1Request" name="Receive1Request"/>
+ <bpel:variable name="StringNum1" type="ns0:string"/>
+ <bpel:variable name="StringNum2" type="ns0:string"/>
+ <bpel:variable name="StringNum3" type="ns0:string"/>
+ <bpel:variable name="Holder" type="ns0:string"/>
+ <bpel:variable name="StringNum4" type="ns0:string"/>
+ </bpel:variables>
+ <bpel:faultHandlers>
+ <bpel:catch faultName="tns:TheFault">
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:assign name="BP11060631213393">
+ <bpel:copy>
+ <bpel:from variable="StringNum4"/>
+ <bpel:to variable="Holder"/>
+ </bpel:copy>
+ </bpel:assign>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:catch>
+ </bpel:faultHandlers>
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:assign>
+ <bpel:copy>
+ <bpel:from expression="'String number 1'"/>
+ <bpel:to variable="StringNum1"/>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from expression="'String number 2'"/>
+ <bpel:to variable="StringNum2"/>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from expression="'String number 3'"/>
+ <bpel:to variable="StringNum3"/>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from expression="'String number 4'"/>
+ <bpel:to variable="StringNum4"/>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:receive name="ID11060626355745" createInstance="yes" operation="Receive1" partnerLink="BPNameReceive1PL" portType="tns:default" variable="Receive1Request"/>
+ <bpel:scope name="ID110606283012124">
+ <bpel:compensationHandler>
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:assign name="BP11060628983551">
+ <bpel:copy>
+ <bpel:from variable="StringNum2"/>
+ <bpel:to variable="Holder"/>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:throw faultName="tns:badFault"/>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:compensationHandler>
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:assign name="BP11060628441990">
+ <bpel:copy>
+ <bpel:from variable="StringNum1"/>
+ <bpel:to variable="Holder"/>
+ </bpel:copy>
+ </bpel:assign>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:scope>
+ <bpel:assign name="BP11060629421212">
+ <bpel:copy>
+ <bpel:from variable="StringNum3"/>
+ <bpel:to variable="Holder"/>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:throw faultName="tns:TheFault"/>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:scope>
+</bpel:process>
Added: incubator/ode/scratch/ode/bpelTests/testQts377278/CHBP.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testQts377278/CHBP.wsdl?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testQts377278/CHBP.wsdl (added)
+++ incubator/ode/scratch/ode/bpelTests/testQts377278/CHBP.wsdl Tue Feb 28 08:31:48 2006
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name="" targetNamespace="urn:CompensationHandler/CHBP" xmlns:tns="urn:CompensationHandler/CHBP" xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/" xmlns:format="http://schemas.xmlsoap.org/wsdl/formatbinding/" xmlns="http://schemas.xmlsoap.org/wsdl/">
+ <message name="Receive1Request">
+ <part name="InParam" type="xsd:string"/>
+ </message>
+ <portType name="default">
+ <operation name="Receive1">
+ <input name="Receive1Request" message="tns:Receive1Request"/>
+ </operation>
+ </portType>
+ <binding name="/CompensationHandler/CHBP.bpmn" type="tns:default">
+ <sybbpe:binding xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/"/>
+ <operation name="Receive1">
+ <input name="Receive1Request">
+ </input>
+ </operation>
+ </binding>
+ <service name="CHBP">
+ <port name="/CompensationHandler/CHBP.bpmn" binding="tns:/CompensationHandler/CHBP.bpmn">
+ <sybres:address xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" resourceRef="/CompensationHandler/CHBP.bpmn.props"/>
+ </port>
+ </service>
+</definitions>
Added: incubator/ode/scratch/ode/bpelTests/testQts377278/data.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testQts377278/data.txt?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testQts377278/data.txt (added)
+++ incubator/ode/scratch/ode/bpelTests/testQts377278/data.txt Tue Feb 28 08:31:48 2006
@@ -0,0 +1,8 @@
+target.name.space=urn:CompensationHandler/CHBP
+port.type=default
+operation=Receive1
+
+part1=str.InParam
+
+str.InParam=test
+
Added: incubator/ode/scratch/ode/bpelTests/testReplyWithFault/dataReplyWithFault.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testReplyWithFault/dataReplyWithFault.txt?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testReplyWithFault/dataReplyWithFault.txt (added)
+++ incubator/ode/scratch/ode/bpelTests/testReplyWithFault/dataReplyWithFault.txt Tue Feb 28 08:31:48 2006
@@ -0,0 +1,19 @@
+# Test BPEL fault handlers with a faultVariable
+# Expected result = Event Start Test17.1 -> caught FaultMessage -> fault text one -> process complete
+
+# Note the prefix on the part name identifies the message type ( xml = xml data; str = string data )
+
+target.name.space=urn:sybase:bpel:testReplyWithFault
+port.type=testReplyWithFaultPT
+operation=request
+
+part1=str.requestID
+part2=str.requestText
+part3=str.faultIndicator1
+part4=str.faultIndicator2
+
+str.requestID=Start Test ReplyWithFault
+str.requestText=Event Start Test ReplyWithFault
+str.faultIndicator1=true
+str.faultIndicator2=true
+
Added: incubator/ode/scratch/ode/bpelTests/testReplyWithFault/faultService.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testReplyWithFault/faultService.wsdl?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testReplyWithFault/faultService.wsdl (added)
+++ incubator/ode/scratch/ode/bpelTests/testReplyWithFault/faultService.wsdl Tue Feb 28 08:31:48 2006
@@ -0,0 +1,34 @@
+<?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/ode/bpelTests/testReplyWithFault/testReplyWithFault.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testReplyWithFault/testReplyWithFault.bpel?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testReplyWithFault/testReplyWithFault.bpel (added)
+++ incubator/ode/scratch/ode/bpelTests/testReplyWithFault/testReplyWithFault.bpel Tue Feb 28 08:31:48 2006
@@ -0,0 +1,137 @@
+<process name="testReplyWithFault" targetNamespace="urn:sybase:bpel:testReplyWithFault" xmlns:tns="urn:sybase:bpel:testReplyWithFault" suppressJoinFailure="yes" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:prb="urn:sybase:bpel:testProbe" xmlns:flt="urn:sybase:bpel:testFault">
+ <!-- Unit test external fault handlers with variable input -->
+ <!-- throw -->
+ <!-- catch -->
+ <partnerLinks>
+ <partnerLink name="request" partnerLinkType="testReplyWithFaultRequest" myRole="testReplyWithFaultService"/>
+ <partnerLink name="probe" partnerLinkType="probeRequest" partnerRole="probeService"/>
+ <partnerLink name="fault" partnerLinkType="faultRequest" partnerRole="faultService"/>
+ </partnerLinks>
+ <variables>
+ <variable name="request" messageType="tns:requestMessage"/>
+ <variable name="probeInput" messageType="prb:probeMessage"/>
+ <variable name="reply" messageType="tns:replyMessage"/>
+ <variable name="fault" messageType="flt:faultMessage"/>
+ <variable name="replyFault" messageType="tns:faultMessage"/>
+ </variables>
+ <faultHandlers>
+ <catchAll>
+ <sequence>
+ <assign>
+ <copy>
+ <from expression="'caught fault with catchAll'"/>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+ <invoke name="allFaultProbe" partnerLink="probe" portType="prb:probeMessagePT" operation="probe" inputVariable="probeInput" outputVariable="probeInput"/>
+ <!-- copy internal accumulators to the reply message -->
+ <assign name="allFaultAssign">
+ <copy>
+ <from variable="probeInput" part="probeName"/>
+ <to variable="replyFault" part="faultID"/>
+ </copy>
+ <copy>
+ <from variable="probeInput" part="probeData"/>
+ <to variable="replyFault" part="faultText"/>
+ </copy>
+ </assign>
+ <reply name="allFaultReply" partnerLink="request" portType="tns:testReplyWithFaultPT" operation="request" variable="replyFault" faultName="testFault"/>
+ </sequence>
+ </catchAll>
+ </faultHandlers>
+ <sequence>
+ <receive name="receive1" partnerLink="request" portType="tns:testReplyWithFaultPT" operation="request" variable="request" createInstance="yes"/>
+ <!-- Copy input variables to internal accumulators -->
+ <assign name="assign1">
+ <copy>
+ <from variable="request" part="requestID"/>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ <copy>
+ <from variable="request" part="requestText"/>
+ <to variable="probeInput" part="probeData"/>
+ </copy>
+ </assign>
+ <scope name="scopeOne">
+ <faultHandlers>
+ <catch faultName="flt:FaultMessage1" faultVariable="testError">
+ <scope name="faultScope">
+ <sequence>
+ <assign>
+ <copy>
+ <from expression="'caught FaultMessage'"/>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+ <invoke name="testFaultProbe" partnerLink="probe" portType="prb:probeMessagePT" operation="probe" inputVariable="probeInput" outputVariable="probeInput"/>
+ <assign>
+ <copy>
+ <from variable="testError" part="errorText"/>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+ <invoke name="faultMessageProbe" partnerLink="probe" portType="prb:probeMessagePT" operation="probe" inputVariable="probeInput" outputVariable="probeInput"/>
+ <assign name="m1FaultAssign">
+ <copy>
+ <from variable="probeInput" part="probeName"/>
+ <to variable="replyFault" part="faultID"/>
+ </copy>
+ <copy>
+ <from variable="probeInput" part="probeData"/>
+ <to variable="replyFault" part="faultText"/>
+ </copy>
+ </assign>
+ <reply name="m1FaultReply" partnerLink="request" portType="tns:testReplyWithFaultPT" operation="request" variable="replyFault" faultName="testFault"/>
+ </sequence>
+ </scope>
+ </catch>
+ </faultHandlers>
+ <sequence>
+ <switch>
+ <case condition="getVariableData('request', 'faultIndicator1') = 'true'">
+ <sequence>
+ <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"/>
+ </sequence>
+ </case>
+ </switch>
+ </sequence>
+
+ </scope>
+ <switch>
+ <case condition="getVariableData('request', 'faultIndicator1') = 'false'">
+ <sequence>
+
+ <assign>
+ <copy>
+ <from expression="'process complete'"/>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+ <invoke name="probe2" partnerLink="probe" portType="prb:probeMessagePT" operation="probe" inputVariable="probeInput" outputVariable="probeInput"/>
+ <!-- copy internal accumulators to the reply message -->
+ <assign name="assign2">
+ <copy>
+ <from variable="probeInput" part="probeName"/>
+ <to variable="reply" part="replyID"/>
+ </copy>
+ <copy>
+ <from variable="probeInput" part="probeData"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+ <reply name="reply" partnerLink="request" portType="tns:testReplyWithFaultPT" operation="request" variable="reply"/>
+ </sequence>
+ </case>
+ </switch>
+ </sequence>
+</process>
Added: incubator/ode/scratch/ode/bpelTests/testReplyWithFault/testReplyWithFault.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testReplyWithFault/testReplyWithFault.wsdl?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testReplyWithFault/testReplyWithFault.wsdl (added)
+++ incubator/ode/scratch/ode/bpelTests/testReplyWithFault/testReplyWithFault.wsdl Tue Feb 28 08:31:48 2006
@@ -0,0 +1,44 @@
+<!-- The public service interface for testReplyWithFault.bpel -->
+<definitions targetNamespace="urn:sybase:bpel:testReplyWithFault" xmlns:tns="urn:sybase:bpel:testReplyWithFault" 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:prb="urn:sybase:bpel:testProbe" xmlns:flt="urn:sybase:bpel:testFault">
+ <import namespace="urn:sybase:bpel:testProbe" location="bpelTests/probeService/probeService.wsdl"/>
+ <import namespace="urn:sybase:bpel:testFault" location="bpelTests/testReplyWithFault/faultService.wsdl"/>
+
+ <message name="requestMessage">
+ <part name="requestID" type="xsd:string"/>
+ <part name="requestText" type="xsd:string"/>
+ <part name="faultIndicator1" type="xsd:boolean"/>
+ <part name="faultIndicator2" type="xsd:boolean"/>
+ </message>
+ <message name="replyMessage">
+ <part name="replyID" type="xsd:string"/>
+ <part name="replyText" type="xsd:string"/>
+ </message>
+ <message name="faultMessage">
+ <part name="faultID" type="xsd:string"/>
+ <part name="faultText" type="xsd:string"/>
+ </message>
+
+ <!-- portType supported by the test2 process -->
+ <portType name="testReplyWithFaultPT">
+ <operation name="request">
+ <input message="tns:requestMessage"/>
+ <output message="tns:replyMessage"/>
+ <fault name="faultTest" message="tns:faultMessage"/>
+ </operation>
+ </portType>
+ <plnk:partnerLinkType name="testReplyWithFaultRequest">
+ <plnk:role name="testReplyWithFaultService">
+ <plnk:portType name="testReplyWithFaultPT"/>
+ </plnk:role>
+ </plnk:partnerLinkType>
+ <plnk:partnerLinkType name="probeRequest">
+ <plnk:role name="probeService">
+ <plnk:portType name="prb:probeMessagePT"/>
+ </plnk:role>
+ </plnk:partnerLinkType>
+ <plnk:partnerLinkType name="faultRequest">
+ <plnk:role name="faultService">
+ <plnk:portType name="flt:faultMessagePT"/>
+ </plnk:role>
+ </plnk:partnerLinkType>
+</definitions>
Added: incubator/ode/scratch/ode/bpelTests/testReplyWithFault/testReplyWithFault.xml
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testReplyWithFault/testReplyWithFault.xml?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testReplyWithFault/testReplyWithFault.xml (added)
+++ incubator/ode/scratch/ode/bpelTests/testReplyWithFault/testReplyWithFault.xml Tue Feb 28 08:31:48 2006
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<BPEBinding xmlns="http://apache.org/ode/binding/ode" xmlns:prb="urn:sybase:bpel:testProbe" >
+ <ActionBindings>
+ <binding name="BPEBinding1" nameSpace="urn:sybase:bpel:testProbe" portType="probeMessagePT">
+ <operation name="probe">
+ <action implementation="org.apache.ode.action.external.ProbeAction" prb:rootSourcePart="probeName" prb:targetPart="probeData"/>
+ </operation>
+ </binding>
+
+ <binding name="BPEBinding2" nameSpace="urn:sybase:bpel:testFault" portType="faultMessagePT">
+ <operation name="throwFault">
+ <action implementation="org.apache.ode.action.external.FaultAction"/>
+ </operation>
+ </binding>
+
+ </ActionBindings>
+</BPEBinding>
Added: incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/data1.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/data1.txt?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/data1.txt (added)
+++ incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/data1.txt Tue Feb 28 08:31:48 2006
@@ -0,0 +1,8 @@
+target.name.space=urn:sybase:bpel:testScopedCorrelationSetsProcessing
+port.type=testScopedCorrelationSetsPT
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><id1>testCorrl</id1><id2>corrl1</id2></testMessage>
+
Added: incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/data2.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/data2.txt?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/data2.txt (added)
+++ incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/data2.txt Tue Feb 28 08:31:48 2006
@@ -0,0 +1,8 @@
+target.name.space=urn:sybase:bpel:testScopedCorrelationSetsProcessing
+port.type=testScopedCorrelationSetsPT
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><id1>testCorrl</id1><id2>corrl2</id2></testMessage>
+
Added: incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/data3.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/data3.txt?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/data3.txt (added)
+++ incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/data3.txt Tue Feb 28 08:31:48 2006
@@ -0,0 +1,8 @@
+target.name.space=urn:sybase:bpel:testScopedCorrelationSetsProcessing
+port.type=testScopedCorrelationSetsPT
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><id1>testCorrl</id1><id2>corrl2</id2></testMessage>
+
Added: incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/testScopedCorrelationSets.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/testScopedCorrelationSets.bpel?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/testScopedCorrelationSets.bpel (added)
+++ incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/testScopedCorrelationSets.bpel Tue Feb 28 08:31:48 2006
@@ -0,0 +1,71 @@
+<process name="testScopedCorrelationSetsProcess"
+ targetNamespace="urn:sybase:bpel:testScopedCorrelationSetsProcessing"
+ xmlns:tns="urn:sybase:bpel:testScopedCorrelationSetsProcessing"
+ suppressJoinFailure="yes"
+ xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+<!-- test scoped correlated receive -->
+
+ <partnerLinks>
+ <partnerLink name="request" partnerLinkType="testScopedCorrelationSetsRequest" myRole="testScopedCorrelationSetsService"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request"
+ messageType="tns:requestMessage"/>
+ <variable name="reply"
+ messageType="tns:replyMessage"/>
+ </variables>
+
+ <correlationSets>
+ <correlationSet name="testCorr1" properties="tns:id1"/>
+ <correlationSet name="testCorr2" properties="tns:id2"/>
+ </correlationSets>
+
+ <sequence>
+
+ <receive name="receive1" partnerLink="request"
+ portType="tns:testScopedCorrelationSetsPT"
+ operation="request" variable="request"
+ createInstance="yes">
+ <correlations>
+ <correlation set="testCorr1" initiate="yes"/>
+ <correlation set="testCorr2" initiate="yes"/>
+ </correlations>
+ </receive>
+
+ <scope name="ScopeOne">
+ <correlationSets>
+ <correlationSet name="testCorr2" properties="tns:id2"/>
+ </correlationSets>
+ <sequence>
+ <receive name="receive2" partnerLink="request"
+ portType="tns:testScopedCorrelationSetsPT"
+ operation="request" variable="request">
+ <correlations>
+ <correlation set="testCorr1"/>
+ <correlation set="testCorr2" initiate="yes"/>
+ </correlations>
+ </receive>
+ <receive name="receive3" partnerLink="request"
+ portType="tns:testScopedCorrelationSetsPT"
+ operation="request" variable="request">
+ <correlations>
+ <correlation set="testCorr2"/>
+ </correlations>
+ </receive>
+ <assign name="assign">
+ <copy>
+ <from variable="request" property="tns:id2"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+ </sequence>
+ </scope>
+
+ <reply name="reply" partnerLink="request" portType="tns:testScopedCorrelationSetsPT"
+ operation="request" variable="reply">
+ </reply>
+
+ </sequence>
+</process>
Added: incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/testScopedCorrelationSets.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/testScopedCorrelationSets.wsdl?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/testScopedCorrelationSets.wsdl (added)
+++ incubator/ode/scratch/ode/bpelTests/testScopedCorrelationSets/testScopedCorrelationSets.wsdl Tue Feb 28 08:31:48 2006
@@ -0,0 +1,53 @@
+<!-- The public service interface for testScopedCorrelationSets.bpel -->
+
+<definitions
+ targetNamespace="urn:sybase:bpel:testScopedCorrelationSetsProcessing"
+ xmlns:tns="urn:sybase:bpel:testScopedCorrelationSetsProcessing"
+ xmlns:typens="urn:sybase:bpel:testScopedCorrelationSetsProcessing: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:testScopedCorrelationSetsProcessing: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="testScopedCorrelationSetsPT">
+ <operation name="request">
+ <input message="requestMessage"/>
+ <output message="replyMessage"/>
+ </operation>
+ </portType>
+
+ <plnk:partnerLinkType name="testScopedCorrelationSetsRequest">
+ <plnk:role name="testScopedCorrelationSetsService">
+ <plnk:portType name="testScopedCorrelationSetsPT"/>
+ </plnk:role>
+ </plnk:partnerLinkType>
+
+</definitions>
Added: incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/BPService.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/BPService.bpel?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/BPService.bpel (added)
+++ incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/BPService.bpel Tue Feb 28 08:31:48 2006
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpel:process xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns0="urn:mycompany:/singleruleincompensate/BPService1" xmlns:ns1="test.sybase.com" xmlns:tns="urn:mycompany:/singleruleincompensate/BPService" name="testsingleruleincomphandler" targetNamespace="urn:mycompany:/singleruleincompensate/BPService">
+ <bpel:partnerLinks>
+ <bpel:partnerLink name="BPServiceReceive1PL" partnerLinkType="tns:BPServicePLType"/>
+ <bpel:partnerLink name="BPService1PL" partnerLinkType="tns:BPServicePLType"/>
+ </bpel:partnerLinks>
+ <bpel:scope name="ID112604080897091">
+ <bpel:variables>
+ <bpel:variable messageType="tns:operation1Request" name="BP11260408089859"/>
+ <bpel:variable messageType="tns:operation1Response" name="BP112604094653310"/>
+ <bpel:variable messageType="ns0:startRequest" name="BP112604109436213"/>
+ <bpel:variable messageType="ns0:endResponse" name="BP112604188496116"/>
+ <bpel:variable messageType="ns0:endRequest" name="BP112604188496117"/>
+ </bpel:variables>
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:receive name="ID112604080898594" createInstance="yes" operation="operation1" partnerLink="BPServiceReceive1PL" portType="tns:BPService" variable="BP11260408089859"/>
+ <bpel:scope name="ID1126040992377103">
+ <bpel:faultHandlers>
+ <bpel:catchAll xsi:type="bpel:tCatch">
+ <bpel:compensate name="ID1126041816164174" scope="ID1126041005768105"/>
+ </bpel:catchAll>
+ </bpel:faultHandlers>
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:scope name="ID1126041005768105">
+ <bpel:compensationHandler>
+ <bpel:flow>
+ <bpel:links>
+ <bpel:link name="CompensationHandler-To-XorSplit-Link1"/>
+ <bpel:link name="XorSplit-To-Join-Link2"/>
+ <bpel:link name="XorSplit-To-Join-Link3"/>
+ </bpel:links>
+ <bpel:sequence>
+ <bpel:source linkName="CompensationHandler-To-XorSplit-Link1"/>
+ <bpel:empty/>
+ </bpel:sequence>
+ <bpel:switch>
+ <bpel:target linkName="CompensationHandler-To-XorSplit-Link1"/>
+ <bpel:case condition="getVariableData('BP11260408089859', 'newParameter1', '/ns1:simpleString') = 'true'">
+ <bpel:sequence>
+ <bpel:source linkName="XorSplit-To-Join-Link2"/>
+ <bpel:assign name="BP112604107912811">
+ <bpel:copy>
+ <bpel:from expression="'true'"/>
+ <bpel:to part="newParameter1" query="/ns1:simpleString" variable="BP112604109436213"/>
+ </bpel:copy>
+ </bpel:assign>
+ </bpel:sequence>
+ </bpel:case>
+ <bpel:otherwise>
+ <bpel:sequence>
+ <bpel:source linkName="XorSplit-To-Join-Link3"/>
+ <bpel:assign name="BP112604108079912">
+ <bpel:copy>
+ <bpel:from expression="'false'"/>
+ <bpel:to part="newParameter1" query="/ns1:simpleString" variable="BP112604109436213"/>
+ </bpel:copy>
+ </bpel:assign>
+ </bpel:sequence>
+ </bpel:otherwise>
+ </bpel:switch>
+ <bpel:sequence>
+ <bpel:target linkName="XorSplit-To-Join-Link2"/>
+ <bpel:target linkName="XorSplit-To-Join-Link3"/>
+ <bpel:invoke name="ID1126041096753122" inputVariable="BP112604109436213" operation="start" partnerLink="BPService1PL" portType="ns0:BPService1"/>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:compensationHandler>
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:assign name="BP112604173322615">
+ <bpel:copy>
+ <bpel:from expression="'test'"/>
+ <bpel:to part="newParameter1" query="/ns1:simpleString" variable="BP112604188496117"/>
+ </bpel:copy>
+ </bpel:assign>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:scope>
+ <bpel:throw faultName="tns:Exception"/>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:scope>
+ <bpel:invoke name="ID1126041884961181" inputVariable="BP112604188496117" operation="end" outputVariable="BP112604188496116" partnerLink="BPService1PL" portType="ns0:BPService1"/>
+ <bpel:assign name="BP112604189460220">
+ <bpel:copy>
+ <bpel:from part="newParameter2" variable="BP112604188496116"/>
+ <bpel:to part="newParameter2" variable="BP112604094653310"/>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:reply name="ID112604094651799" operation="operation1" partnerLink="BPServiceReceive1PL" portType="tns:BPService" variable="BP112604094653310"/>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:scope>
+</bpel:process>
Added: incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/BPService.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/BPService.wsdl?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/BPService.wsdl (added)
+++ incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/BPService.wsdl Tue Feb 28 08:31:48 2006
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="" targetNamespace="urn:mycompany:/singleruleincompensate/BPService" xmlns:tns="urn:mycompany:/singleruleincompensate/BPService" xmlns:ns0="urn:mycompany:/singleruleincompensate/BPService1" xmlns:ns1="urn:mycompany:/singleruleincompensate/BPService1" 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:import namespace="urn:mycompany:/singleruleincompensate/BPService1" location="bpelTests/testSingleRuleInCompHandler/BPService1.wsdl"/>
+ <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="/singleruleincompensate/.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="/singleruleincompensate/.BPService.bpmn" binding="tns:/singleruleincompensate/.BPService.bpmn">
+ <sybres:address xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" resourceRef="/singleruleincompensate/.BPService.bpmn.props"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added: incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/BPService1.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/BPService1.bpel?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/BPService1.bpel (added)
+++ incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/BPService1.bpel Tue Feb 28 08:31:48 2006
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpel:process xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:tns="urn:mycompany:/singleruleincompensate/BPService1" name="testsingleruleincomphandlerBP1" targetNamespace="urn:mycompany:/singleruleincompensate/BPService1">
+ <bpel:partnerLinks>
+ <bpel:partnerLink name="BPService1Receive1PL" partnerLinkType="tns:BPService1PLType"/>
+ <bpel:partnerLink name="BPService1Receive2PL" partnerLinkType="tns:BPService1PLType"/>
+ </bpel:partnerLinks>
+ <bpel:scope name="ID112602725707015">
+ <bpel:variables>
+ <bpel:variable messageType="tns:startRequest" name="BP11260272570702"/>
+ <bpel:variable messageType="tns:endRequest" name="BP11260272821484"/>
+ <bpel:variable messageType="tns:endResponse" name="BP11260273156955"/>
+ </bpel:variables>
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:receive name="ID112602725707018" createInstance="yes" operation="start" partnerLink="BPService1Receive1PL" portType="tns:BPService1" variable="BP11260272570702"/>
+ <bpel:receive name="ID112602728214824" createInstance="no" operation="end" partnerLink="BPService1Receive2PL" portType="tns:BPService1" variable="BP11260272821484"/>
+ <bpel:assign name="BP11260273956026">
+ <bpel:copy>
+ <bpel:from part="newParameter1" variable="BP11260272570702"/>
+ <bpel:to part="newParameter2" variable="BP11260273156955"/>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:reply name="ID112602731569525" operation="end" partnerLink="BPService1Receive2PL" portType="tns:BPService1" variable="BP11260273156955"/>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:scope>
+</bpel:process>
Added: incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/BPService1.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/BPService1.wsdl?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/BPService1.wsdl (added)
+++ incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/BPService1.wsdl Tue Feb 28 08:31:48 2006
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="" targetNamespace="urn:mycompany:/singleruleincompensate/BPService1" xmlns:tns="urn:mycompany:/singleruleincompensate/BPService1" 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/" xmlns:bpe="urn:sybase:bpe">
+ <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="startRequest">
+ <wsdl:part name="newParameter1" element="tns1:simpleString"/>
+ </wsdl:message>
+ <wsdl:message name="endRequest">
+ <wsdl:part name="newParameter1" element="tns1:simpleString"/>
+ </wsdl:message>
+ <wsdl:message name="endResponse">
+ <wsdl:part name="newParameter2" element="tns1:simpleString"/>
+ </wsdl:message>
+ <wsdl:portType name="BPService1">
+ <wsdl:operation name="start">
+ <wsdl:input name="start" message="tns:startRequest"/>
+ </wsdl:operation>
+ <wsdl:operation name="end">
+ <wsdl:input name="endRequest" message="tns:endRequest"/>
+ <wsdl:output name="endResponse" message="tns:endResponse"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="/singleruleincompensate/.BPService1.bpmn" type="tns:BPService1">
+ <sybbpe:binding xmlns:sybbpe="http://schemas.sybase.com/services/bpe/V1.0/"/>
+ <wsdl:operation name="start">
+ <bpe:action implementation="org.apache.ode.action.external.BusinessProcessInvocationAction" OperationName="start" PortTypeName="BPService1" PortName="BPService1Port" PortTypeNameSpace="urn:mycompany:/singleruleincompensate/BPService1"/>
+ <wsdl:input name="start">
+ </wsdl:input>
+ </wsdl:operation>
+ <wsdl:operation name="end">
+ <bpe:action implementation="org.apache.ode.action.external.BusinessProcessInvocationAction" OperationName="end" PortTypeName="BPService1" PortName="BPService1Port" PortTypeNameSpace="urn:mycompany:/singleruleincompensate/BPService1"/>
+ <wsdl:input name="endRequest">
+ </wsdl:input>
+ <wsdl:output name="endResponse">
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="BPService1">
+ <wsdl:port name="/singleruleincompensate/.BPService1.bpmn" binding="tns:/singleruleincompensate/.BPService1.bpmn">
+ <sybres:address xmlns:sybres="http://schemas.sybase.com/resources/V1.1/" resourceRef="/singleruleincompensate/.BPService1.bpmn.props"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added: incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/msg1.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/msg1.txt?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/msg1.txt (added)
+++ incubator/ode/scratch/ode/bpelTests/testSingleRuleInCompHandler/msg1.txt Tue Feb 28 08:31:48 2006
@@ -0,0 +1,8 @@
+
+target.name.space=urn:mycompany:/singleruleincompensate/BPService
+port.type=BPService
+operation=operation1
+
+part1=xml.newParameter1
+
+xml.newParameter1=<?xml version="1.0" encoding="UTF-8"?><ns1:simpleString xmlns:ns1="test.sybase.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">true</ns1:simpleString>
Added: incubator/ode/scratch/ode/bpelTests/testTerminate/terminate1.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testTerminate/terminate1.bpel?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testTerminate/terminate1.bpel (added)
+++ incubator/ode/scratch/ode/bpelTests/testTerminate/terminate1.bpel Tue Feb 28 08:31:48 2006
@@ -0,0 +1,38 @@
+<process name="terminate1Process"
+ targetNamespace="urn:sybase:bpel:terminate1Processing"
+ xmlns:tns="urn:sybase:bpel:terminate1Processing"
+ suppressJoinFailure="yes"
+ xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
+
+ <!-- test onAlarm and wait -->
+
+ <partnerLinks>
+ <partnerLink name="request" partnerLinkType="terminate1Request" myRole="terminate1Service"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request"
+ messageType="tns:requestMessage"/>
+ <variable name="reply1"
+ messageType="tns:replyMessage"/>
+ <variable name="reply2"
+ messageType="tns:replyMessage"/>
+ </variables>
+ <sequence>
+ <receive name="receive1" partnerLink="request"
+ portType="tns:terminate1PT"
+ operation="request" variable="request"
+ createInstance="yes">
+ </receive>
+ <assign name="assignWait">
+ <copy>
+ <from expression="'TEST'"/>
+ <to variable="reply2" part="replyText"/>
+ </copy>
+ </assign>
+ <terminate/>
+ <reply name="reply" partnerLink="request" portType="tns:terminate1PT2"
+ operation="request" variable="reply2">
+ </reply>
+ </sequence>
+</process>
Added: incubator/ode/scratch/ode/bpelTests/testTerminate/terminate1.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testTerminate/terminate1.wsdl?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testTerminate/terminate1.wsdl (added)
+++ incubator/ode/scratch/ode/bpelTests/testTerminate/terminate1.wsdl Tue Feb 28 08:31:48 2006
@@ -0,0 +1,57 @@
+<!-- The public service interface for terminate1.bpel -->
+
+<definitions
+ targetNamespace="urn:sybase:bpel:terminate1Processing"
+ xmlns:tns="urn:sybase:bpel:terminate1Processing"
+ xmlns:typens="urn:sybase:bpel:terminate1Processing: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:terminate1Processing: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="terminate1PT">
+ <operation name="request">
+ <input message="requestMessage"/>
+ </operation>
+ </portType>
+
+ <plnk:partnerLinkType name="terminate1Request">
+ <plnk:role name="terminate1Service">
+ <plnk:portType name="terminate1PT"/>
+ </plnk:role>
+ </plnk:partnerLinkType>
+
+</definitions>
Added: incubator/ode/scratch/ode/bpelTests/testTerminate/terminate1Data.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testTerminate/terminate1Data.txt?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testTerminate/terminate1Data.txt (added)
+++ incubator/ode/scratch/ode/bpelTests/testTerminate/terminate1Data.txt Tue Feb 28 08:31:48 2006
@@ -0,0 +1,7 @@
+target.name.space=urn:sybase:bpel:terminate1Processing
+port.type=terminate1PT
+operation=request
+
+part1=xml.requestMessageData
+
+xml.requestMessageData=<testMessage><wait>PT7S</wait><onAlarm>PT3S</onAlarm></testMessage>
Added: incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/datatfo_1.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/datatfo_1.txt?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/datatfo_1.txt (added)
+++ incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/datatfo_1.txt Tue Feb 28 08:31:48 2006
@@ -0,0 +1,20 @@
+# Test BPEL fault handlers
+# Thow named fault - fault indicator one is positive.
+# Expected result = Event Start Testtfo.1 -> throw testFault -> caught testFault -> process complete
+
+# Note the prefix on the part name identifies the message type ( xml = xml data; str = string data )
+
+target.name.space=urn:sybase:bpel:testtfoProcessing
+port.type=testtfoPT
+operation=request
+
+part1=str.requestID
+part2=str.requestText
+part3=str.faultIndicator1
+part4=str.faultIndicator2
+
+str.requestID=Start Testtfo.1
+str.requestText=Event Start Testtfo.1
+str.faultIndicator1=no
+str.faultIndicator2=no
+
Added: incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/faultService.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/faultService.wsdl?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/faultService.wsdl (added)
+++ incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/faultService.wsdl Tue Feb 28 08:31: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/ode/bpelTests/testThrowFaultOutsideOfBP/testtfo.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/testtfo.bpel?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/testtfo.bpel (added)
+++ incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/testtfo.bpel Tue Feb 28 08:31:48 2006
@@ -0,0 +1,29 @@
+<process name="testtfoProcess" targetNamespace="urn:sybase:bpel:testtfoProcessing" xmlns:tns="urn:sybase:bpel:testtfoProcessing" suppressJoinFailure="yes" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:prb="urn:sybase:bpel:testProbe" xmlns:flt="urn:sybase:bpel:testFault">
+ <!-- Unit test throwing fault outside of business process -->
+ <!-- throw -->
+ <partnerLinks>
+ <partnerLink name="request" partnerLinkType="tns:testtfoRequest" myRole="testtfoService"/>
+ <partnerLink name="fault" partnerLinkType="faultRequest" partnerRole="faultService"/>
+ </partnerLinks>
+ <variables>
+ <variable name="request" messageType="tns:requestMessage"/>
+ <variable name="reply" messageType="tns:replyMessage"/>
+ <variable name="fault" messageType="flt:faultMessage"/>
+
+ </variables>
+ <sequence>
+ <receive name="receive1" partnerLink="request" portType="tns:testtfoPT" operation="request" variable="request" createInstance="yes"/>
+ <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"/>
+ <reply name="reply" partnerLink="request" portType="tns:testtfoPT" operation="request" variable="reply"/>
+ </sequence>
+</process>
Added: incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/testtfo.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/testtfo.wsdl?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/testtfo.wsdl (added)
+++ incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/testtfo.wsdl Tue Feb 28 08:31:48 2006
@@ -0,0 +1,32 @@
+<!-- The public service interface for test2.bpel -->
+<definitions targetNamespace="urn:sybase:bpel:testtfoProcessing" xmlns:tns="urn:sybase:bpel:testtfoProcessing" xmlns:typens="urn:sybase:bpel:testtfoProcessing: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:prb="urn:sybase:bpel:testProbe">
+ <import namespace="urn:sybase:bpel:testtfoProcessing" location="bpelTests/testThrowFaultOutsideOfBP/testtfodefinitions.wsdl"/>
+ <import namespace="urn:sybase:bpel:testFault" location="bpelTests/testThrowFaultOutsideOfBP/faultService.wsdl"/>
+ <message name="requestMessage">
+ <part name="requestID" type="xsd:string"/>
+ <part name="requestText" type="xsd:string"/>
+ <part name="faultIndicator1" type="xsd:boolean"/>
+ <part name="faultIndicator2" type="xsd:boolean"/>
+ </message>
+ <message name="replyMessage">
+ <part name="replyID" type="xsd:string"/>
+ <part name="replyText" type="xsd:string"/>
+ </message>
+ <!-- portType supported by the test2 process -->
+ <portType name="testtfoPT">
+ <operation name="request">
+ <input message="requestMessage"/>
+ <output message="replyMessage"/>
+ </operation>
+ </portType>
+ <plnk:partnerLinkType name="testtfoRequest">
+ <plnk:role name="testtfoService">
+ <plnk:portType name="testtfoPT"/>
+ </plnk:role>
+ </plnk:partnerLinkType>
+ <plnk:partnerLinkType name="probeRequest">
+ <plnk:role name="probeService">
+ <plnk:portType name="prb:probeMessagePT"/>
+ </plnk:role>
+ </plnk:partnerLinkType>
+</definitions>
Added: incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/testtfo.xml
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/testtfo.xml?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/testtfo.xml (added)
+++ incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/testtfo.xml Tue Feb 28 08:31:48 2006
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<BPEBinding xmlns="http://apache.org/ode/binding/ode">
+ <ActionBindings>
+ <binding name="BPEBinding2" nameSpace="urn:sybase:bpel:testFault" portType="faultMessagePT">
+ <operation name="throwFault">
+ <action implementation="org.apache.ode.action.external.FaultAction"/>
+ </operation>
+ </binding>
+ </ActionBindings>
+</BPEBinding>
Added: incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/testtfodefinitions.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/testtfodefinitions.wsdl?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/testtfodefinitions.wsdl (added)
+++ incubator/ode/scratch/ode/bpelTests/testThrowFaultOutsideOfBP/testtfodefinitions.wsdl Tue Feb 28 08:31:48 2006
@@ -0,0 +1,8 @@
+<!-- The WSDL contains message definitions that are internal to the business -->
+<!-- process. ( i.e. counters, accumulators, bpe deployment mappings, etc ... ) -->
+<definitions targetNamespace="urn:sybase:bpel:testtfoProcessing" xmlns:tns="urn:sybase:bpel:testtfoProcessing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/">
+ <message name="processInternal">
+ <part name="var1" type="xsd:string"/>
+ <part name="var2" type="xsd:string"/>
+ </message>
+</definitions>
Added: incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler/BPService.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler/BPService.bpel?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler/BPService.bpel (added)
+++ incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler/BPService.bpel Tue Feb 28 08:31:48 2006
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpel:process xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns0="test.sybase.com" xmlns:tns="urn:mycompany:/myFaultHasNoFaults/BPService3" name="testthrowinscopeinfaulthandler" targetNamespace="urn:mycompany:/myFaultHasNoFaults/BPService3">
+ <bpel:partnerLinks>
+ <bpel:partnerLink name="BPServiceReceive1PL" partnerLinkType="tns:BPServicePLType"/>
+ </bpel:partnerLinks>
+ <bpel:scope name="ID1127336036600153">
+ <bpel:variables>
+ <bpel:variable messageType="tns:operation1Request" name="BP112733603660012"/>
+ <bpel:variable messageType="tns:operation1Response" name="BP112733616006913"/>
+ </bpel:variables>
+ <bpel:faultHandlers>
+ <bpel:catchAll xsi:type="bpel:tCatch">
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:assign name="ID1127336402868200-1">
+ <bpel:copy>
+ <bpel:from expression="'doesn&apos;t work'"/>
+ <bpel:to part="newParameter2" query="/ns0:simpleString" variable="BP112733616006913"/>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:reply name="ID1127336407008201" operation="operation1" partnerLink="BPServiceReceive1PL" portType="tns:BPService" variable="BP112733616006913"/>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:catchAll>
+ </bpel:faultHandlers>
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:receive name="ID1127336036600156" createInstance="yes" operation="operation1" partnerLink="BPServiceReceive1PL" portType="tns:BPService" variable="BP112733603660012"/>
+ <bpel:scope name="ID1127336181272165">
+ <bpel:faultHandlers>
+ <bpel:catch faultName="tns:Exception1">
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:scope name="ID1127336251523176">
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:throw faultName="tns:Exception2"/>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:scope>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:catch>
+ </bpel:faultHandlers>
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:throw faultName="tns:Exception1"/>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:scope>
+ <bpel:reply name="ID1127336160069161" operation="operation1" partnerLink="BPServiceReceive1PL" portType="tns:BPService" variable="BP112733616006913"/>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:scope>
+</bpel:process>
Added: incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler/BPService.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler/BPService.wsdl?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler/BPService.wsdl (added)
+++ incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler/BPService.wsdl Tue Feb 28 08:31:48 2006
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="" targetNamespace="urn:mycompany:/myFaultHasNoFaults/BPService3" xmlns:tns="urn:mycompany:/myFaultHasNoFaults/BPService3" 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/ode/bpelTests/testThrowInScopeInFaultHandler/msg.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler/msg.txt?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler/msg.txt (added)
+++ incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler/msg.txt Tue Feb 28 08:31:48 2006
@@ -0,0 +1,9 @@
+
+target.name.space=urn:mycompany:/myFaultHasNoFaults/BPService3
+port.type=BPService
+operation=operation1
+
+part1=xml.newParameter1
+
+xml.newParameter1=<?xml version="1.0" encoding="UTF-8"?><tns:operation1 xmlns:tns="urn:mycompany:/myFaultHasNoFaults/BPService3" 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/ode/bpelTests/testThrowInScopeInFaultHandler2/BPService.bpel
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler2/BPService.bpel?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler2/BPService.bpel (added)
+++ incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler2/BPService.bpel Tue Feb 28 08:31:48 2006
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpel:process xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns0="test.sybase.com" xmlns:tns="urn:mycompany:/myFaultHasNoFaults/BPService4" name="testthrowinscopeinfaulthandler2" targetNamespace="urn:mycompany:/myFaultHasNoFaults/BPService4">
+ <bpel:partnerLinks>
+ <bpel:partnerLink name="BPServiceReceive1PL" partnerLinkType="tns:BPServicePLType"/>
+ </bpel:partnerLinks>
+ <bpel:scope name="ID1127336036600153">
+ <bpel:variables>
+ <bpel:variable messageType="tns:operation1Request" name="BP112733603660012"/>
+ <bpel:variable messageType="tns:operation1Response" name="BP112733616006913"/>
+ </bpel:variables>
+ <bpel:faultHandlers>
+ <bpel:catchAll xsi:type="bpel:tCatch">
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:assign name="ID1127336402868200-1">
+ <bpel:copy>
+ <bpel:from expression="'doesn&apos;t work'"/>
+ <bpel:to part="newParameter2" query="/ns0:simpleString" variable="BP112733616006913"/>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:reply name="ID1127336407008201" operation="operation1" partnerLink="BPServiceReceive1PL" portType="tns:BPService" variable="BP112733616006913"/>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:catchAll>
+ </bpel:faultHandlers>
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:receive name="ID1127336036600156" createInstance="yes" operation="operation1" partnerLink="BPServiceReceive1PL" portType="tns:BPService" variable="BP112733603660012"/>
+ <bpel:scope name="ID1127336181272165">
+ <bpel:faultHandlers>
+ <bpel:catch faultName="tns:Exception1">
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:scope name="ID1127336251523176">
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:scope name="ID112784054942781">
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:throw faultName="tns:Exception2"/>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:scope>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:scope>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:catch>
+ </bpel:faultHandlers>
+ <bpel:flow>
+ <bpel:sequence>
+ <bpel:throw faultName="tns:Exception1"/>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:scope>
+ <bpel:reply name="ID1127336160069161" operation="operation1" partnerLink="BPServiceReceive1PL" portType="tns:BPService" variable="BP112733616006913"/>
+ </bpel:sequence>
+ </bpel:flow>
+ </bpel:scope>
+</bpel:process>
Added: incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler2/BPService.wsdl
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler2/BPService.wsdl?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler2/BPService.wsdl (added)
+++ incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler2/BPService.wsdl Tue Feb 28 08:31:48 2006
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="" targetNamespace="urn:mycompany:/myFaultHasNoFaults/BPService4" xmlns:tns="urn:mycompany:/myFaultHasNoFaults/BPService4" 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/ode/bpelTests/testThrowInScopeInFaultHandler2/msg.txt
URL: http://svn.apache.org/viewcvs/incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler2/msg.txt?rev=381694&view=auto
==============================================================================
--- incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler2/msg.txt (added)
+++ incubator/ode/scratch/ode/bpelTests/testThrowInScopeInFaultHandler2/msg.txt Tue Feb 28 08:31:48 2006
@@ -0,0 +1,9 @@
+
+target.name.space=urn:mycompany:/myFaultHasNoFaults/BPService4
+port.type=BPService
+operation=operation1
+
+part1=xml.newParameter1
+
+xml.newParameter1=<?xml version="1.0" encoding="UTF-8"?><tns:operation1 xmlns:tns="urn:mycompany:/myFaultHasNoFaults/BPService4" 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>
+