ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph M. Pflügler" <christoph.pflueg...@heigl-service.de>
Subject Re: Problem in while construct with message saved in DB
Date Sat, 13 Sep 2008 13:26:06 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Matthieu,

did you already find time to have a look at the problems? As I have to
hand in my thesis at a given point in time, it would be nice to have
some statement regarding these problems.

If I can assist you somehow, please let me know!

Regards,
Christoph

Christoph M. Pflügler schrieb:
> Hi Matthieu,
> 
> I attached my two interacting BPEL processes at the end of the mail. The
> while loop I'm talking about (as the process contains several) is:
> 
> <while>
> <condition>
> $processState_internal != 'empty_before_FAILURE' and
> $processState_internal != 'empty_before_SUCCESS'				</condition>
> 	<sequence>
> 		<assign>
> 	...
> 
> Line 785 when auto-formatted with eclipse (Buyer.bpel) or Line 770
> (Seller.bpel).
> 
> The while loop contains a pick activity. The error happens when
> executing the onMessage for operation
> "drop_BTA_3A4_RequestPurchaseOrder_Request" a first time and terminate
> it by throwing a "BusinessFailure". This loops back (by means of the
> aforementioned while) to the pick activity the onMessage is contained
> in. When executing the operation
> "drop_BTA_3A4_RequestPurchaseOrder_Request" again, the previously
> described error happens.
> 
> Furthermore I faced another error in the same while loop after executing
> operation "drop_BTA_3A5_QueryOrderStatusInContract_Request". The error
> immediately occurs after executing the operation in the very first while
> iteration (and terminates the process). Nevertheless it seems that the
> loopback to the pick acitivity is performed - the invoke preceding the
> pick is executed before terminating.
> 
> The error is:
> 2008-09-02 21:03:13,577 :: ERROR - GeronimoLog.error(104) |
> org.apache.ode.bpel.common.FaultException: {Selector
> plinkInstnace={PartnerLinkInstance
> partnerLinkDecl=OPartnerLink#103,scopeInstanceId=19367},ckey={CorrelationKey
> setId=97,
> values=[71]},opName=drop_BTA_3A10_StopOrderProcess_Request,oneWay=no,mexId=<null>,idx=0}
> 
> Thanks for your interest in the problem(s)!!
> 
> Greets,
> Christoph
> 
> ######
> Buyer.bpel
> ######
> 
> <?xml version="1.0" encoding="UTF-8"?><process
> xmlns:this="de:uniba:wiai:lspi:da:cpfluegler:Buyer:bpel"
> xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
> xmlns:wsdl="de:uniba:wiai:lspi:da:cpfluegler:Buyer"
> xmlns:wsdlDoc="de:uniba:wiai:lspi:da:cpfluegler:Buyer:docs"
> xmlns:state_msg_doc="de:uniba:wiai:lspi:da:cpfluegler:stateReceiver:states:docs"
> xmlns:state_msg="de:uniba:wiai:lspi:da:cpfluegler:stateReceiver:states"
> xmlns:UseCaseState="de:uniba:wiai:lspi:da:cpfluegler:stateReceiver:Buyer"
> xmlns:BTA_3A5_QueryOrderStatusInContract_common_msg="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A5_QueryOrderStatusInContract_common_msg"
> xmlns:BTA_3A5_QueryOrderStatusInContract_common="de:uniba:wiai:lspi:da:cpfluegler:Buyer:backend:BTA_3A5_QueryOrderStatusInContract_common"
> xmlns:BTA_3A5_QueryOrderStatusInContract_common_msg_docs="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A5_QueryOrderStatusInContract_common_msg:docs"
> xmlns:BTA_3A10_StopOrderProcess_common_msg="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A10_StopOrderProcess_common_msg"
> xmlns:BTA_3A10_StopOrderProcess_common="de:uniba:wiai:lspi:da:cpfluegler:Buyer:backend:BTA_3A10_StopOrderProcess_common"
> xmlns:BTA_3A10_StopOrderProcess_common_msg_docs="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A10_StopOrderProcess_common_msg:docs"
> xmlns:BTA_3A4_RequestPurchaseOrder_common_msg="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A4_RequestPurchaseOrder_common_msg"
> xmlns:BTA_3A4_RequestPurchaseOrder_common="de:uniba:wiai:lspi:da:cpfluegler:Buyer:backend:BTA_3A4_RequestPurchaseOrder_common"
> xmlns:BTA_3A4_RequestPurchaseOrder_common_msg_docs="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A4_RequestPurchaseOrder_common_msg:docs"
> xmlns:BTA_3A1_RequestQuote_common_msg="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A1_RequestQuote_common_msg"
> xmlns:BTA_3A1_RequestQuote_common="de:uniba:wiai:lspi:da:cpfluegler:Buyer:backend:BTA_3A1_RequestQuote_common"
> xmlns:BTA_3A1_RequestQuote_common_msg_docs="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A1_RequestQuote_common_msg:docs"
> xmlns:UseCase_nonRepudiation="de:uniba:wiai:lspi:da:cpfluegler:nonRepudiationService:Buyer"
> name="UseCase"
> targetNamespace="de:uniba:wiai:lspi:da:cpfluegler:Buyer:bpel"><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:Buyer"
> location="Buyer.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:stateReceiver:states"
> location="common_msg_state.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:stateReceiver:Buyer"
> location="stateReceiver.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A5_QueryOrderStatusInContract_common_msg"
> location="common_msg_BTA_3A5_QueryOrderStatusInContract.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:Buyer:backend:BTA_3A5_QueryOrderStatusInContract_common"
> location="Buyer_common_BTA_3A5_QueryOrderStatusInContract.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A10_StopOrderProcess_common_msg"
> location="common_msg_BTA_3A10_StopOrderProcess.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:Buyer:backend:BTA_3A10_StopOrderProcess_common"
> location="Buyer_common_BTA_3A10_StopOrderProcess.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A4_RequestPurchaseOrder_common_msg"
> location="common_msg_BTA_3A4_RequestPurchaseOrder.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:Buyer:backend:BTA_3A4_RequestPurchaseOrder_common"
> location="Buyer_common_BTA_3A4_RequestPurchaseOrder.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A1_RequestQuote_common_msg"
> location="common_msg_BTA_3A1_RequestQuote.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:Buyer:backend:BTA_3A1_RequestQuote_common"
> location="Buyer_common_BTA_3A1_RequestQuote.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:nonRepudiationService:Buyer"
> location="nonRepudiationService.wsdl"></import><partnerLinks><partnerLink
> name="UseCase_nonRepudiationLink"
> partnerLinkType="UseCase_nonRepudiation:nonRepudiationLT"
> partnerRole="nonRepudiationServiceRole"></partnerLink><partnerLink
> partnerRole="BTA_3A1_RequestQuote_provider"
> partnerLinkType="BTA_3A1_RequestQuote_common:BTA_3A1_RequestQuote_LT"
> name="BTA_3A1_RequestQuoteLink"></partnerLink><partnerLink
> partnerRole="BTA_3A4_RequestPurchaseOrder_provider"
> partnerLinkType="BTA_3A4_RequestPurchaseOrder_common:BTA_3A4_RequestPurchaseOrder_LT"
> name="BTA_3A4_RequestPurchaseOrderLink"></partnerLink><partnerLink
> partnerRole="BTA_3A10_StopOrderProcess_provider"
> partnerLinkType="BTA_3A10_StopOrderProcess_common:BTA_3A10_StopOrderProcess_LT"
> name="BTA_3A10_StopOrderProcessLink"></partnerLink><partnerLink
> partnerLinkType="wsdl:Buyer_backendLT" name="backend"
> myRole="backend"></partnerLink><partnerLink
> partnerRole="BTA_3A5_QueryOrderStatusInContract_provider"
> partnerLinkType="BTA_3A5_QueryOrderStatusInContract_common:BTA_3A5_QueryOrderStatusInContract_LT"
> name="BTA_3A5_QueryOrderStatusInContractLink"></partnerLink><partnerLink
> partnerRole="Seller" partnerLinkType="wsdl:partnerLT" name="partner"
> myRole="Buyer"></partnerLink><partnerLink partnerRole="stateReceiver"
> partnerLinkType="UseCaseState:stateReceiverLT"
> name="UseCaseState"></partnerLink></partnerLinks><variables><variable
> name="processState_external"
> messageType="state_msg:processStateResponseMSG"></variable><variable
> element="wsdlDoc:state_InternalType"
> name="processState_internal"></variable></variables><correlationSets><correlationSet
> name="collaboration"
> properties="wsdl:correlationProp"></correlationSet></correlationSets><scope
> name="UseCase"><eventHandlers><onAlarm><for>'P10D'</for><scope><throw
> faultName="CollaborationTimeout"></throw></scope></onAlarm></eventHandlers><sequence><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_before_StartWith3A1</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign><while><condition>'true'</condition><sequence><if><condition>$processState_internal
> =
> 'empty_before_StartWith3A1'</condition><assign><copy><from><literal><wsdlDoc:state_InternalType>fork_StartWith3A1</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></if><if><condition>$processState_internal
> = 'fork_StartWith3A1'</condition><scope
> name="StartWith3A1_Scope"><variables><variable
> name="request_BTA_3A1_RequestQuote_Var_tmp"
> messageType="BTA_3A1_RequestQuote_common_msg:BTA_3A1_RequestQuote_Request_MSG"></variable></variables><while><condition>$processState_internal
> != 'empty_before_AcceptableQuote' and $processState_internal !=
> 'empty_before_FAILURE'</condition><sequence><assign><copy><from><literal><state_msg_doc:stateType>StartWith3A1</state_msg_doc:stateType></literal></from><to>$processState_external.state</to></copy></assign><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><pick
> createInstance="yes"><onMessage
> variable="request_BTA_3A1_RequestQuote_Var_tmp"
> portType="wsdl:Buyer_backendPT"
> operation="drop_BTA_3A1_RequestQuote_Request"
> partnerLink="backend"><correlations><correlation initiate="yes"
> set="collaboration"></correlation></correlations><scope
> name="BTA_3A1_RequestQuote_Scope"><variables><variable
> name="request_BTA_3A1_RequestQuote_Var"
> messageType="BTA_3A1_RequestQuote_common_msg:BTA_3A1_RequestQuote_Request_MSG"></variable><variable
> name="RA_request_Var"
> messageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_request_Var"
> messageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="RA_request_Var_tmp"
> messageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_request_Var_tmp"
> messageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="RAVal_request_Var"
> messageType="BTA_3A1_RequestQuote_common_msg:ValidationMSG"></variable><variable
> element="wsdlDoc:retryCountType"
> name="retryCount_request_Var"></variable><variable name="response_Var"
> messageType="BTA_3A1_RequestQuote_common_msg:BTA_3A1_RequestQuote_Response_MSG"></variable><variable
> name="response_Var_tmp"
> messageType="BTA_3A1_RequestQuote_common_msg:BTA_3A1_RequestQuote_Response_MSG"></variable><variable
> name="RA_response_Var"
> messageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_response_Var"
> messageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="RA_response_Var_tmp"
> messageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_response_Var_tmp"
> messageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="cgv_state"
> messageType="BTA_3A1_RequestQuote_common_msg:ValidationMSG"></variable></variables><faultHandlers><catch
> faultName="RequestReceiptFailure"><sequence><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><exit></exit></sequence></catch><catch
> faultName="ResponseReceiptFailure"><sequence><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><exit></exit></sequence></catch><catch
> faultName="BusinessFailure"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_before_FAILURE</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catch
> faultName="AnyProtocolFailure"><sequence><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><exit></exit></sequence></catch><catch
> faultName="SignalTimout"><sequence><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><exit></exit></sequence></catch><catch
> faultName="ResponseTimeout"><sequence><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><exit></exit></sequence></catch><catchAll><sequence><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><exit></exit></sequence></catchAll></faultHandlers><scope
> name="BTA_3A1_RequestQuote_Timeout"><eventHandlers><onAlarm><for>'PT24H'</for><scope><throw
> faultName="ResponseTimeout"></throw></scope></onAlarm></eventHandlers><sequence><scope
> name="ReqBAScope"><sequence><sequence><assign><copy><from><literal><BTA_3A1_RequestQuote_common_msg_docs:BooleanValidationType><BTA_3A1_RequestQuote_common_msg_docs:isValid>false</BTA_3A1_RequestQuote_common_msg_docs:isValid></BTA_3A1_RequestQuote_common_msg_docs:BooleanValidationType></literal></from><to
> variable="RAVal_request_Var"
> part="val"></to></copy></assign><assign><copy><from><literal><wsdlDoc:retryCountType><wsdlDoc:retryCount>0</wsdlDoc:retryCount></wsdlDoc:retryCountType></literal></from><to>$retryCount_request_Var</to></copy></assign><scope
> name="RAScope"><eventHandlers><onAlarm><for>'PT2H'</for><scope><throw
> faultName="SignalTimeout"></throw></scope></onAlarm></eventHandlers><while><condition>$RAVal_request_Var.val/BTA_3A1_RequestQuote_common_msg_docs:isValid
> = 'false'</condition><scope
> name="RAScope_Internal"><faultHandlers><catch
> faultMessageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementExceptionMSG"
> faultVariable="RAE_request_Var_tmp"><sequence><assign><copy><from
> variable="RAE_request_Var_tmp" part="signal"></from><to
> variable="RAE_request_Var" part="signal"></to></copy></assign><invoke
> portType="UseCase_nonRepudiation:nonRepudiationPT"
> operation="save_BTA_3A1_RequestQuote_Request_RAE"
> inputVariable="RAE_request_Var"
> partnerLink="UseCase_nonRepudiationLink"></invoke><invoke
> outputVariable="RAVal_request_Var"
> portType="BTA_3A1_RequestQuote_common:BTA_3A1_RequestQuote_PT"
> operation="checkRAESignalValidity" inputVariable="RAE_request_Var"
> partnerLink="BTA_3A1_RequestQuoteLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><if><condition>$RAVal_request_Var.val/BTA_3A1_RequestQuote_common_msg_docs:isValid
> = 'false' and $retryCount_request_Var/wsdlDoc:retryCount =
> 3</condition><throw
> faultName="AnyProtocolFailure"></throw></if><if><condition>$RAVal_request_Var.val/BTA_3A1_RequestQuote_common_msg_docs:isValid
> = 'true'</condition><throw
> faultName="RequestReceiptFailure"></throw></if></sequence></catch><catchAll><if><condition>$retryCount_request_Var/wsdlDoc:retryCount
> =
> 3</condition><rethrow></rethrow></if></catchAll></faultHandlers><sequence><assign><copy><from>$retryCount_request_Var/wsdlDoc:retryCount
> +
> 1</from><to>$retryCount_request_Var/wsdlDoc:retryCount</to></copy></assign><if><condition>$retryCount_request_Var/wsdlDoc:retryCount
> = 4</condition><throw
> faultName="AnyProtocolFailure"></throw></if><assign><copy><from
> variable="request_BTA_3A1_RequestQuote_Var_tmp" part="req"></from><to
> variable="request_BTA_3A1_RequestQuote_Var"
> part="req"></to></copy></assign><invoke
> portType="UseCase_nonRepudiation:nonRepudiationPT"
> operation="save_BTA_3A1_RequestQuote_Request_BD"
> inputVariable="request_BTA_3A1_RequestQuote_Var"
> partnerLink="UseCase_nonRepudiationLink"></invoke><invoke
> outputVariable="RA_request_Var_tmp" portType="wsdl:SellerPT"
> operation="drop_BTA_3A1_RequestQuote_Request"
> inputVariable="request_BTA_3A1_RequestQuote_Var"
> partnerLink="partner"><correlations><correlation initiate="no"
> set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><assign><copy><from
> variable="RA_request_Var_tmp" part="signal"></from><to
> variable="RA_request_Var" part="signal"></to></copy></assign><invoke
> portType="UseCase_nonRepudiation:nonRepudiationPT"
> operation="save_BTA_3A1_RequestQuote_Request_RA"
> inputVariable="RA_request_Var"
> partnerLink="UseCase_nonRepudiationLink"></invoke><invoke
> outputVariable="RAVal_request_Var"
> portType="BTA_3A1_RequestQuote_common:BTA_3A1_RequestQuote_PT"
> operation="checkRASignalValidity" inputVariable="RA_request_Var"
> partnerLink="BTA_3A1_RequestQuoteLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke></sequence></scope></while></scope></sequence></sequence></scope><scope
> name="RespBAScope"><sequence><receive variable="response_Var_tmp"
> portType="wsdl:BuyerPT"
> operation="deliver_BTA_3A1_RequestQuote_Response"
> partnerLink="partner"><correlations><correlation initiate="no"
> set="collaboration"></correlation></correlations></receive><assign><copy><from
> variable="response_Var_tmp" part="resp"></from><to
> variable="response_Var"
> part="resp"></to></copy></assign><sequence><scope
> name="RAScope"><faultHandlers><catch
> faultMessageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementExceptionMSG"
> faultVariable="RAE_response_Var_tmp"><sequence><assign><copy><from
> variable="RAE_response_Var_tmp" part="signal"></from><to
> variable="RAE_response_Var" part="signal"></to></copy></assign><reply
> faultName="wsdl:RAException" variable="RAE_response_Var"
> portType="wsdl:BuyerPT"
> operation="deliver_BTA_3A1_RequestQuote_Response"
> partnerLink="partner"></reply><throw
> faultName="ResponseReceiptFailure"></throw></sequence></catch></faultHandlers><eventHandlers><onAlarm><for>'PT2H'</for><scope><throw
> faultName="SignalTimeout"></throw></scope></onAlarm></eventHandlers><sequence><invoke
> outputVariable="RA_response_Var_tmp"
> portType="BTA_3A1_RequestQuote_common:BTA_3A1_RequestQuote_PT"
> operation="deliver_BTA_3A1_RequestQuote_Response"
> inputVariable="response_Var"
> partnerLink="BTA_3A1_RequestQuoteLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><assign><copy><from
> variable="RA_response_Var_tmp" part="signal"></from><to
> variable="RA_response_Var" part="signal"></to></copy></assign><reply
> variable="RA_response_Var" portType="wsdl:BuyerPT"
> operation="deliver_BTA_3A1_RequestQuote_Response"
> partnerLink="partner"></reply></sequence></scope></sequence></sequence></scope><invoke
> outputVariable="cgv_state"
> portType="BTA_3A1_RequestQuote_common:BTA_3A1_RequestQuote_PT"
> operation="computeBusinessState" inputVariable="response_Var"
> partnerLink="BTA_3A1_RequestQuoteLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><if><condition>$cgv_state.val/BTA_3A1_RequestQuote_common_msg_docs:isValid
> = 'false'</condition><throw
> faultName="BusinessFailure"></throw></if><if><condition>$cgv_state.val/BTA_3A1_RequestQuote_common_msg_docs:isValid
> =
> 'true'</condition><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_before_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></if></sequence></scope></scope></onMessage></pick></sequence></while></scope></if><if><condition>$processState_internal
> =
> 'empty_before_AcceptableQuote'</condition><assign><copy><from><literal><wsdlDoc:state_InternalType>fork_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></if><if><condition>$processState_internal
> = 'fork_AcceptableQuote'</condition><scope
> name="AcceptableQuote_Scope"><variables><variable
> name="request_BTA_3A4_RequestPurchaseOrder_Var_tmp"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:BTA_3A4_RequestPurchaseOrder_Request_MSG"></variable><variable
> name="request_BTA_3A10_StopOrderProcess_Var_tmp"
> messageType="BTA_3A10_StopOrderProcess_common_msg:BTA_3A10_StopOrderProcess_Request_MSG"></variable><variable
> name="request_BTA_3A5_QueryOrderStatusInContract_Var_tmp"
> messageType="BTA_3A5_QueryOrderStatusInContract_common_msg:BTA_3A5_QueryOrderStatusInContract_Request_MSG"></variable></variables><while><condition>$processState_internal
> != 'empty_before_FAILURE' and $processState_internal !=
> 'empty_before_SUCCESS'</condition><sequence><assign><copy><from><literal><state_msg_doc:stateType>AcceptableQuote</state_msg_doc:stateType></literal></from><to>$processState_external.state</to></copy></assign><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><pick><onMessage
> variable="request_BTA_3A10_StopOrderProcess_Var_tmp"
> portType="wsdl:Buyer_backendPT"
> operation="drop_BTA_3A10_StopOrderProcess_Request"
> partnerLink="backend"><correlations><correlation initiate="no"
> set="collaboration"></correlation></correlations><scope
> name="BTA_3A10_StopOrderProcess_Scope"><variables><variable
> name="request_BTA_3A10_StopOrderProcess_Var"
> messageType="BTA_3A10_StopOrderProcess_common_msg:BTA_3A10_StopOrderProcess_Request_MSG"></variable><variable
> name="RA_request_Var"
> messageType="BTA_3A10_StopOrderProcess_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_request_Var"
> messageType="BTA_3A10_StopOrderProcess_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="RA_request_Var_tmp"
> messageType="BTA_3A10_StopOrderProcess_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_request_Var_tmp"
> messageType="BTA_3A10_StopOrderProcess_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="RAVal_request_Var"
> messageType="BTA_3A10_StopOrderProcess_common_msg:ValidationMSG"></variable><variable
> element="wsdlDoc:retryCountType"
> name="retryCount_request_Var"></variable><variable name="cgv_state"
> messageType="BTA_3A10_StopOrderProcess_common_msg:ValidationMSG"></variable></variables><faultHandlers><catch
> faultName="RequestReceiptFailure"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catch
> faultName="BusinessFailure"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_before_FAILURE</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catch
> faultName="AnyProtocolFailure"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catch
> faultName="SignalTimout"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catchAll><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catchAll></faultHandlers><scope
> name="BTA_3A10_StopOrderProcess_Timeout"><eventHandlers><onAlarm><for>'PT24H'</for><scope><throw
> faultName="ResponseTimeout"></throw></scope></onAlarm></eventHandlers><sequence><scope
> name="ReqBAScope"><sequence><sequence><assign><copy><from><literal><BTA_3A10_StopOrderProcess_common_msg_docs:BooleanValidationType><BTA_3A10_StopOrderProcess_common_msg_docs:isValid>false</BTA_3A10_StopOrderProcess_common_msg_docs:isValid></BTA_3A10_StopOrderProcess_common_msg_docs:BooleanValidationType></literal></from><to
> variable="RAVal_request_Var"
> part="val"></to></copy></assign><assign><copy><from><literal><wsdlDoc:retryCountType><wsdlDoc:retryCount>0</wsdlDoc:retryCount></wsdlDoc:retryCountType></literal></from><to>$retryCount_request_Var</to></copy></assign><scope
> name="RAScope"><eventHandlers><onAlarm><for>'PT2H'</for><scope><throw
> faultName="SignalTimeout"></throw></scope></onAlarm></eventHandlers><while><condition>$RAVal_request_Var.val/BTA_3A10_StopOrderProcess_common_msg_docs:isValid
> = 'false'</condition><scope
> name="RAScope_Internal"><faultHandlers><catch
> faultMessageType="BTA_3A10_StopOrderProcess_common_msg:ReceiptAcknowlegdementExceptionMSG"
> faultVariable="RAE_request_Var_tmp"><sequence><assign><copy><from
> variable="RAE_request_Var_tmp" part="signal"></from><to
> variable="RAE_request_Var" part="signal"></to></copy></assign><invoke
> portType="UseCase_nonRepudiation:nonRepudiationPT"
> operation="save_BTA_3A10_StopOrderProcess_Request_RAE"
> inputVariable="RAE_request_Var"
> partnerLink="UseCase_nonRepudiationLink"></invoke><invoke
> outputVariable="RAVal_request_Var"
> portType="BTA_3A10_StopOrderProcess_common:BTA_3A10_StopOrderProcess_PT"
> operation="checkRAESignalValidity" inputVariable="RAE_request_Var"
> partnerLink="BTA_3A10_StopOrderProcessLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><if><condition>$RAVal_request_Var.val/BTA_3A10_StopOrderProcess_common_msg_docs:isValid
> = 'false' and $retryCount_request_Var/wsdlDoc:retryCount =
> 3</condition><throw
> faultName="AnyProtocolFailure"></throw></if><if><condition>$RAVal_request_Var.val/BTA_3A10_StopOrderProcess_common_msg_docs:isValid
> = 'true'</condition><throw
> faultName="RequestReceiptFailure"></throw></if></sequence></catch><catchAll><if><condition>$retryCount_request_Var/wsdlDoc:retryCount
> =
> 3</condition><rethrow></rethrow></if></catchAll></faultHandlers><sequence><assign><copy><from>$retryCount_request_Var/wsdlDoc:retryCount
> +
> 1</from><to>$retryCount_request_Var/wsdlDoc:retryCount</to></copy></assign><if><condition>$retryCount_request_Var/wsdlDoc:retryCount
> = 4</condition><throw
> faultName="AnyProtocolFailure"></throw></if><assign><copy><from
> variable="request_BTA_3A10_StopOrderProcess_Var_tmp"
> part="req"></from><to variable="request_BTA_3A10_StopOrderProcess_Var"
> part="req"></to></copy></assign><invoke
> portType="UseCase_nonRepudiation:nonRepudiationPT"
> operation="save_BTA_3A10_StopOrderProcess_Request_BD"
> inputVariable="request_BTA_3A10_StopOrderProcess_Var"
> partnerLink="UseCase_nonRepudiationLink"></invoke><invoke
> outputVariable="RA_request_Var_tmp" portType="wsdl:SellerPT"
> operation="drop_BTA_3A10_StopOrderProcess_Request"
> inputVariable="request_BTA_3A10_StopOrderProcess_Var"
> partnerLink="partner"><correlations><correlation initiate="no"
> set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><assign><copy><from
> variable="RA_request_Var_tmp" part="signal"></from><to
> variable="RA_request_Var" part="signal"></to></copy></assign><invoke
> portType="UseCase_nonRepudiation:nonRepudiationPT"
> operation="save_BTA_3A10_StopOrderProcess_Request_RA"
> inputVariable="RA_request_Var"
> partnerLink="UseCase_nonRepudiationLink"></invoke><invoke
> outputVariable="RAVal_request_Var"
> portType="BTA_3A10_StopOrderProcess_common:BTA_3A10_StopOrderProcess_PT"
> operation="checkRASignalValidity" inputVariable="RA_request_Var"
> partnerLink="BTA_3A10_StopOrderProcessLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke></sequence></scope></while></scope></sequence></sequence></scope><invoke
> outputVariable="cgv_state"
> portType="BTA_3A10_StopOrderProcess_common:BTA_3A10_StopOrderProcess_PT"
> operation="computeBusinessState"
> inputVariable="request_BTA_3A10_StopOrderProcess_Var"
> partnerLink="BTA_3A10_StopOrderProcessLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><if><condition>$cgv_state.val/BTA_3A10_StopOrderProcess_common_msg_docs:isValid
> = 'false'</condition><throw
> faultName="BusinessFailure"></throw></if><if><condition>$cgv_state.val/BTA_3A10_StopOrderProcess_common_msg_docs:isValid
> =
> 'true'</condition><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_before_FAILURE</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></if></sequence></scope></scope></onMessage><onMessage
> variable="request_BTA_3A5_QueryOrderStatusInContract_Var_tmp"
> portType="wsdl:Buyer_backendPT"
> operation="drop_BTA_3A5_QueryOrderStatusInContract_Request"
> partnerLink="backend"><correlations><correlation initiate="no"
> set="collaboration"></correlation></correlations><scope
> name="BTA_3A5_QueryOrderStatusInContract_Scope"><variables><variable
> name="request_BTA_3A5_QueryOrderStatusInContract_Var"
> messageType="BTA_3A5_QueryOrderStatusInContract_common_msg:BTA_3A5_QueryOrderStatusInContract_Request_MSG"></variable><variable
> element="wsdlDoc:retryCountType"
> name="retryCount_request_Var"></variable><variable name="response_Var"
> messageType="BTA_3A5_QueryOrderStatusInContract_common_msg:BTA_3A5_QueryOrderStatusInContract_Response_MSG"></variable><variable
> name="response_Var_tmp"
> messageType="BTA_3A5_QueryOrderStatusInContract_common_msg:BTA_3A5_QueryOrderStatusInContract_Response_MSG"></variable></variables><faultHandlers><catch
> faultName="AnyProtocolFailure"><empty></empty></catch><catch
> faultName="SignalTimout"><empty></empty></catch><catch
> faultName="ResponseTimeout"><empty></empty></catch><catchAll><empty></empty></catchAll></faultHandlers><scope
> name="BTA_3A5_QueryOrderStatusInContract_Timeout"><eventHandlers><onAlarm><for>'PT4H'</for><scope><throw
> faultName="ResponseTimeout"></throw></scope></onAlarm></eventHandlers><sequence><scope
> name="ReqBAScope"><sequence><sequence><assign><copy><from
> variable="request_BTA_3A5_QueryOrderStatusInContract_Var_tmp"
> part="req"></from><to
> variable="request_BTA_3A5_QueryOrderStatusInContract_Var"
> part="req"></to></copy></assign><invoke portType="wsdl:SellerPT"
> operation="drop_BTA_3A5_QueryOrderStatusInContract_Request"
> inputVariable="request_BTA_3A5_QueryOrderStatusInContract_Var"
> partnerLink="partner"><correlations><correlation initiate="no"
> set="collaboration"></correlation></correlations></invoke></sequence></sequence></scope><scope
> name="RespBAScope"><sequence><receive variable="response_Var_tmp"
> portType="wsdl:BuyerPT"
> operation="deliver_BTA_3A5_QueryOrderStatusInContract_Response"
> partnerLink="partner"><correlations><correlation initiate="no"
> set="collaboration"></correlation></correlations></receive><assign><copy><from
> variable="response_Var_tmp" part="resp"></from><to
> variable="response_Var"
> part="resp"></to></copy></assign><sequence><invoke
> portType="BTA_3A5_QueryOrderStatusInContract_common:BTA_3A5_QueryOrderStatusInContract_PT"
> operation="deliver_BTA_3A5_QueryOrderStatusInContract_Response"
> inputVariable="response_Var"
> partnerLink="BTA_3A5_QueryOrderStatusInContractLink"><correlations><correlation
> initiate="no"
> set="collaboration"></correlation></correlations></invoke></sequence></sequence></scope><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></sequence></scope></scope></onMessage><onMessage
> variable="request_BTA_3A4_RequestPurchaseOrder_Var_tmp"
> portType="wsdl:Buyer_backendPT"
> operation="drop_BTA_3A4_RequestPurchaseOrder_Request"
> partnerLink="backend"><correlations><correlation initiate="no"
> set="collaboration"></correlation></correlations><scope
> name="BTA_3A4_RequestPurchaseOrder_Scope"><variables><variable
> name="request_BTA_3A4_RequestPurchaseOrder_Var"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:BTA_3A4_RequestPurchaseOrder_Request_MSG"></variable><variable
> name="RA_request_Var"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_request_Var"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="RA_request_Var_tmp"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_request_Var_tmp"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="RAVal_request_Var"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ValidationMSG"></variable><variable
> element="wsdlDoc:retryCountType"
> name="retryCount_request_Var"></variable><variable name="response_Var"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:BTA_3A4_RequestPurchaseOrder_Response_MSG"></variable><variable
> name="response_Var_tmp"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:BTA_3A4_RequestPurchaseOrder_Response_MSG"></variable><variable
> name="RA_response_Var"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_response_Var"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="RA_response_Var_tmp"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_response_Var_tmp"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="de_state"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:documentEnvelopeDecisionMSG"></variable><variable
> name="cgv_state"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ValidationMSG"></variable></variables><faultHandlers><catch
> faultName="RequestReceiptFailure"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catch
> faultName="ResponseReceiptFailure"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catch
> faultName="BusinessFailure"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catch
> faultName="AnyProtocolFailure"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catch
> faultName="SignalTimout"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catch
> faultName="ResponseTimeout"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catchAll><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catchAll></faultHandlers><scope
> name="BTA_3A4_RequestPurchaseOrder_Timeout"><eventHandlers><onAlarm><for>'PT24H'</for><scope><throw
> faultName="ResponseTimeout"></throw></scope></onAlarm></eventHandlers><sequence><scope
> name="ReqBAScope"><sequence><sequence><assign><copy><from><literal><BTA_3A4_RequestPurchaseOrder_common_msg_docs:BooleanValidationType><BTA_3A4_RequestPurchaseOrder_common_msg_docs:isValid>false</BTA_3A4_RequestPurchaseOrder_common_msg_docs:isValid></BTA_3A4_RequestPurchaseOrder_common_msg_docs:BooleanValidationType></literal></from><to
> variable="RAVal_request_Var"
> part="val"></to></copy></assign><assign><copy><from><literal><wsdlDoc:retryCountType><wsdlDoc:retryCount>0</wsdlDoc:retryCount></wsdlDoc:retryCountType></literal></from><to>$retryCount_request_Var</to></copy></assign><scope
> name="RAScope"><eventHandlers><onAlarm><for>'PT2H'</for><scope><throw
> faultName="SignalTimeout"></throw></scope></onAlarm></eventHandlers><while><condition>$RAVal_request_Var.val/BTA_3A4_RequestPurchaseOrder_common_msg_docs:isValid
> = 'false'</condition><scope
> name="RAScope_Internal"><faultHandlers><catch
> faultMessageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementExceptionMSG"
> faultVariable="RAE_request_Var_tmp"><sequence><assign><copy><from
> variable="RAE_request_Var_tmp" part="signal"></from><to
> variable="RAE_request_Var" part="signal"></to></copy></assign><invoke
> portType="UseCase_nonRepudiation:nonRepudiationPT"
> operation="save_BTA_3A4_RequestPurchaseOrder_Request_RAE"
> inputVariable="RAE_request_Var"
> partnerLink="UseCase_nonRepudiationLink"></invoke><invoke
> outputVariable="RAVal_request_Var"
> portType="BTA_3A4_RequestPurchaseOrder_common:BTA_3A4_RequestPurchaseOrder_PT"
> operation="checkRAESignalValidity" inputVariable="RAE_request_Var"
> partnerLink="BTA_3A4_RequestPurchaseOrderLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><if><condition>$RAVal_request_Var.val/BTA_3A4_RequestPurchaseOrder_common_msg_docs:isValid
> = 'false' and $retryCount_request_Var/wsdlDoc:retryCount =
> 3</condition><throw
> faultName="AnyProtocolFailure"></throw></if><if><condition>$RAVal_request_Var.val/BTA_3A4_RequestPurchaseOrder_common_msg_docs:isValid
> = 'true'</condition><throw
> faultName="RequestReceiptFailure"></throw></if></sequence></catch><catchAll><if><condition>$retryCount_request_Var/wsdlDoc:retryCount
> =
> 3</condition><rethrow></rethrow></if></catchAll></faultHandlers><sequence><assign><copy><from>$retryCount_request_Var/wsdlDoc:retryCount
> +
> 1</from><to>$retryCount_request_Var/wsdlDoc:retryCount</to></copy></assign><if><condition>$retryCount_request_Var/wsdlDoc:retryCount
> = 4</condition><throw
> faultName="AnyProtocolFailure"></throw></if><assign><copy><from
> variable="request_BTA_3A4_RequestPurchaseOrder_Var_tmp"
> part="req"></from><to
> variable="request_BTA_3A4_RequestPurchaseOrder_Var"
> part="req"></to></copy></assign><invoke
> portType="UseCase_nonRepudiation:nonRepudiationPT"
> operation="save_BTA_3A4_RequestPurchaseOrder_Request_BD"
> inputVariable="request_BTA_3A4_RequestPurchaseOrder_Var"
> partnerLink="UseCase_nonRepudiationLink"></invoke><invoke
> outputVariable="RA_request_Var_tmp" portType="wsdl:SellerPT"
> operation="drop_BTA_3A4_RequestPurchaseOrder_Request"
> inputVariable="request_BTA_3A4_RequestPurchaseOrder_Var"
> partnerLink="partner"><correlations><correlation initiate="no"
> set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><assign><copy><from
> variable="RA_request_Var_tmp" part="signal"></from><to
> variable="RA_request_Var" part="signal"></to></copy></assign><invoke
> portType="UseCase_nonRepudiation:nonRepudiationPT"
> operation="save_BTA_3A4_RequestPurchaseOrder_Request_RA"
> inputVariable="RA_request_Var"
> partnerLink="UseCase_nonRepudiationLink"></invoke><invoke
> outputVariable="RAVal_request_Var"
> portType="BTA_3A4_RequestPurchaseOrder_common:BTA_3A4_RequestPurchaseOrder_PT"
> operation="checkRASignalValidity" inputVariable="RA_request_Var"
> partnerLink="BTA_3A4_RequestPurchaseOrderLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke></sequence></scope></while></scope></sequence></sequence></scope><scope
> name="RespBAScope"><sequence><receive variable="response_Var_tmp"
> portType="wsdl:BuyerPT"
> operation="deliver_BTA_3A4_RequestPurchaseOrder_Response"
> partnerLink="partner"><correlations><correlation initiate="no"
> set="collaboration"></correlation></correlations></receive><assign><copy><from
> variable="response_Var_tmp" part="resp"></from><to
> variable="response_Var"
> part="resp"></to></copy></assign><sequence><scope
> name="RAScope"><faultHandlers><catch
> faultMessageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementExceptionMSG"
> faultVariable="RAE_response_Var_tmp"><sequence><assign><copy><from
> variable="RAE_response_Var_tmp" part="signal"></from><to
> variable="RAE_response_Var" part="signal"></to></copy></assign><reply
> faultName="wsdl:RAException" variable="RAE_response_Var"
> portType="wsdl:BuyerPT"
> operation="deliver_BTA_3A4_RequestPurchaseOrder_Response"
> partnerLink="partner"></reply><throw
> faultName="ResponseReceiptFailure"></throw></sequence></catch></faultHandlers><eventHandlers><onAlarm><for>'PT2H'</for><scope><throw
> faultName="SignalTimeout"></throw></scope></onAlarm></eventHandlers><sequence><invoke
> outputVariable="RA_response_Var_tmp"
> portType="BTA_3A4_RequestPurchaseOrder_common:BTA_3A4_RequestPurchaseOrder_PT"
> operation="deliver_BTA_3A4_RequestPurchaseOrder_Response"
> inputVariable="response_Var"
> partnerLink="BTA_3A4_RequestPurchaseOrderLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><assign><copy><from
> variable="RA_response_Var_tmp" part="signal"></from><to
> variable="RA_response_Var" part="signal"></to></copy></assign><reply
> variable="RA_response_Var" portType="wsdl:BuyerPT"
> operation="deliver_BTA_3A4_RequestPurchaseOrder_Response"
> partnerLink="partner"></reply></sequence></scope></sequence></sequence></scope><invoke
> outputVariable="cgv_state"
> portType="BTA_3A4_RequestPurchaseOrder_common:BTA_3A4_RequestPurchaseOrder_PT"
> operation="computeBusinessState" inputVariable="response_Var"
> partnerLink="BTA_3A4_RequestPurchaseOrderLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><if><condition>$cgv_state.val/BTA_3A4_RequestPurchaseOrder_common_msg_docs:isValid
> = 'false'</condition><throw
> faultName="BusinessFailure"></throw></if><invoke
> outputVariable="de_state"
> portType="BTA_3A4_RequestPurchaseOrder_common:BTA_3A4_RequestPurchaseOrder_PT"
> operation="getDocumentEnvelopeValue" inputVariable="response_Var"
> partnerLink="BTA_3A4_RequestPurchaseOrderLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><if><condition>$de_state.deDec/BTA_3A4_RequestPurchaseOrder_common_msg_docs:documentEnvelopeDecision
> =
> 'DE_3A4_Accepted'</condition><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_before_SUCCESS</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></if><if><condition>$de_state.deDec/BTA_3A4_RequestPurchaseOrder_common_msg_docs:documentEnvelopeDecision
> =
> 'DE_3A4_Pending'</condition><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_before_FAILURE</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></if></sequence></scope></scope></onMessage></pick></sequence></while></scope></if><if><condition>$processState_internal
> =
> 'empty_before_FAILURE'</condition><sequence><assign><copy><from><literal><state_msg_doc:stateType>Collaboration_FAILURE</state_msg_doc:stateType></literal></from><to>$processState_external.state</to></copy></assign><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><exit></exit></sequence></if><if><condition>$processState_internal
> =
> 'empty_before_SUCCESS'</condition><sequence><assign><copy><from><literal><state_msg_doc:stateType>Collaboration_SUCCESS</state_msg_doc:stateType></literal></from><to>$processState_external.state</to></copy></assign><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><exit></exit></sequence></if></sequence></while></sequence></scope></process>
> 
> 
> ####
> Seller.bpel
> ####
> 
> <?xml version="1.0" encoding="UTF-8"?><process
> xmlns:this="de:uniba:wiai:lspi:da:cpfluegler:Seller:bpel"
> xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
> xmlns:wsdl="de:uniba:wiai:lspi:da:cpfluegler:Seller"
> xmlns:wsdlDoc="de:uniba:wiai:lspi:da:cpfluegler:Seller:docs"
> xmlns:state_msg_doc="de:uniba:wiai:lspi:da:cpfluegler:stateReceiver:states:docs"
> xmlns:state_msg="de:uniba:wiai:lspi:da:cpfluegler:stateReceiver:states"
> xmlns:UseCaseState="de:uniba:wiai:lspi:da:cpfluegler:stateReceiver:Seller"
> xmlns:BTA_3A5_QueryOrderStatusInContract_common_msg="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A5_QueryOrderStatusInContract_common_msg"
> xmlns:BTA_3A5_QueryOrderStatusInContract_common="de:uniba:wiai:lspi:da:cpfluegler:Seller:backend:BTA_3A5_QueryOrderStatusInContract_common"
> xmlns:BTA_3A5_QueryOrderStatusInContract_common_msg_docs="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A5_QueryOrderStatusInContract_common_msg:docs"
> xmlns:BTA_3A10_StopOrderProcess_common_msg="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A10_StopOrderProcess_common_msg"
> xmlns:BTA_3A10_StopOrderProcess_common="de:uniba:wiai:lspi:da:cpfluegler:Seller:backend:BTA_3A10_StopOrderProcess_common"
> xmlns:BTA_3A10_StopOrderProcess_common_msg_docs="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A10_StopOrderProcess_common_msg:docs"
> xmlns:BTA_3A4_RequestPurchaseOrder_common_msg="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A4_RequestPurchaseOrder_common_msg"
> xmlns:BTA_3A4_RequestPurchaseOrder_common="de:uniba:wiai:lspi:da:cpfluegler:Seller:backend:BTA_3A4_RequestPurchaseOrder_common"
> xmlns:BTA_3A4_RequestPurchaseOrder_common_msg_docs="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A4_RequestPurchaseOrder_common_msg:docs"
> xmlns:BTA_3A1_RequestQuote_common_msg="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A1_RequestQuote_common_msg"
> xmlns:BTA_3A1_RequestQuote_common="de:uniba:wiai:lspi:da:cpfluegler:Seller:backend:BTA_3A1_RequestQuote_common"
> xmlns:BTA_3A1_RequestQuote_common_msg_docs="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A1_RequestQuote_common_msg:docs"
> xmlns:UseCase_nonRepudiation="de:uniba:wiai:lspi:da:cpfluegler:nonRepudiationService:Seller"
> name="UseCase"
> targetNamespace="de:uniba:wiai:lspi:da:cpfluegler:Seller:bpel"><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:Seller"
> location="Seller.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:stateReceiver:states"
> location="common_msg_state.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:stateReceiver:Seller"
> location="stateReceiver.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A5_QueryOrderStatusInContract_common_msg"
> location="common_msg_BTA_3A5_QueryOrderStatusInContract.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:Seller:backend:BTA_3A5_QueryOrderStatusInContract_common"
> location="Seller_common_BTA_3A5_QueryOrderStatusInContract.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A10_StopOrderProcess_common_msg"
> location="common_msg_BTA_3A10_StopOrderProcess.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:Seller:backend:BTA_3A10_StopOrderProcess_common"
> location="Seller_common_BTA_3A10_StopOrderProcess.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A4_RequestPurchaseOrder_common_msg"
> location="common_msg_BTA_3A4_RequestPurchaseOrder.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:Seller:backend:BTA_3A4_RequestPurchaseOrder_common"
> location="Seller_common_BTA_3A4_RequestPurchaseOrder.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:BTA_3A1_RequestQuote_common_msg"
> location="common_msg_BTA_3A1_RequestQuote.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:Seller:backend:BTA_3A1_RequestQuote_common"
> location="Seller_common_BTA_3A1_RequestQuote.wsdl"></import><import
> importType="http://schemas.xmlsoap.org/wsdl/"
> namespace="de:uniba:wiai:lspi:da:cpfluegler:nonRepudiationService:Seller"
> location="nonRepudiationService.wsdl"></import><partnerLinks><partnerLink
> name="UseCase_nonRepudiationLink"
> partnerLinkType="UseCase_nonRepudiation:nonRepudiationLT"
> partnerRole="nonRepudiationServiceRole"></partnerLink><partnerLink
> partnerRole="BTA_3A1_RequestQuote_provider"
> partnerLinkType="BTA_3A1_RequestQuote_common:BTA_3A1_RequestQuote_LT"
> name="BTA_3A1_RequestQuoteLink"></partnerLink><partnerLink
> partnerRole="BTA_3A4_RequestPurchaseOrder_provider"
> partnerLinkType="BTA_3A4_RequestPurchaseOrder_common:BTA_3A4_RequestPurchaseOrder_LT"
> name="BTA_3A4_RequestPurchaseOrderLink"></partnerLink><partnerLink
> partnerRole="BTA_3A10_StopOrderProcess_provider"
> partnerLinkType="BTA_3A10_StopOrderProcess_common:BTA_3A10_StopOrderProcess_LT"
> name="BTA_3A10_StopOrderProcessLink"></partnerLink><partnerLink
> partnerRole="BTA_3A5_QueryOrderStatusInContract_provider"
> partnerLinkType="BTA_3A5_QueryOrderStatusInContract_common:BTA_3A5_QueryOrderStatusInContract_LT"
> name="BTA_3A5_QueryOrderStatusInContractLink"></partnerLink><partnerLink
> partnerRole="Buyer" partnerLinkType="wsdl:partnerLT" name="partner"
> myRole="Seller"></partnerLink><partnerLink partnerRole="stateReceiver"
> partnerLinkType="UseCaseState:stateReceiverLT"
> name="UseCaseState"></partnerLink></partnerLinks><variables><variable
> name="processState_external"
> messageType="state_msg:processStateResponseMSG"></variable><variable
> element="wsdlDoc:state_InternalType"
> name="processState_internal"></variable></variables><correlationSets><correlationSet
> name="collaboration"
> properties="wsdl:correlationProp"></correlationSet></correlationSets><scope
> name="UseCase"><eventHandlers><onAlarm><for>'P10D'</for><scope><throw
> faultName="CollaborationTimeout"></throw></scope></onAlarm></eventHandlers><sequence><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_before_StartWith3A1</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign><while><condition>'true'</condition><sequence><if><condition>$processState_internal
> =
> 'empty_before_StartWith3A1'</condition><assign><copy><from><literal><wsdlDoc:state_InternalType>fork_StartWith3A1</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></if><if><condition>$processState_internal
> = 'fork_StartWith3A1'</condition><scope
> name="StartWith3A1_Scope"><variables><variable
> name="request_BTA_3A1_RequestQuote_Var_tmp"
> messageType="BTA_3A1_RequestQuote_common_msg:BTA_3A1_RequestQuote_Request_MSG"></variable></variables><while><condition>$processState_internal
> != 'empty_before_AcceptableQuote' and $processState_internal !=
> 'empty_before_FAILURE'</condition><sequence><assign><copy><from><literal><state_msg_doc:stateType>StartWith3A1</state_msg_doc:stateType></literal></from><to>$processState_external.state</to></copy></assign><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><pick
> createInstance="yes"><onMessage
> variable="request_BTA_3A1_RequestQuote_Var_tmp" portType="wsdl:SellerPT"
> operation="drop_BTA_3A1_RequestQuote_Request"
> partnerLink="partner"><correlations><correlation initiate="yes"
> set="collaboration"></correlation></correlations><scope
> name="BTA_3A1_RequestQuote_Scope"><variables><variable
> name="request_BTA_3A1_RequestQuote_Var"
> messageType="BTA_3A1_RequestQuote_common_msg:BTA_3A1_RequestQuote_Request_MSG"></variable><variable
> name="RA_request_Var"
> messageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_request_Var"
> messageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="RA_request_Var_tmp"
> messageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_request_Var_tmp"
> messageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="response_Var"
> messageType="BTA_3A1_RequestQuote_common_msg:BTA_3A1_RequestQuote_Response_MSG"></variable><variable
> name="response_Var_tmp"
> messageType="BTA_3A1_RequestQuote_common_msg:BTA_3A1_RequestQuote_Response_MSG"></variable><variable
> name="RA_response_Var"
> messageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_response_Var"
> messageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="RA_response_Var_tmp"
> messageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_response_Var_tmp"
> messageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="RAVal_response_Var"
> messageType="BTA_3A1_RequestQuote_common_msg:ValidationMSG"></variable><variable
> element="wsdlDoc:retryCountType"
> name="retryCount_response_Var"></variable><variable name="cgv_state"
> messageType="BTA_3A1_RequestQuote_common_msg:ValidationMSG"></variable></variables><faultHandlers><catch
> faultName="RequestReceiptFailure"><sequence><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><exit></exit></sequence></catch><catch
> faultName="ResponseReceiptFailure"><sequence><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><exit></exit></sequence></catch><catch
> faultName="BusinessFailure"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_before_FAILURE</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catch
> faultName="AnyProtocolFailure"><sequence><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><exit></exit></sequence></catch><catch
> faultName="SignalTimout"><sequence><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><exit></exit></sequence></catch><catch
> faultName="ResponseTimeout"><sequence><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><exit></exit></sequence></catch><catchAll><sequence><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><exit></exit></sequence></catchAll></faultHandlers><scope
> name="BTA_3A1_RequestQuote_Timeout"><eventHandlers><onAlarm><for>'PT24H'</for><scope><throw
> faultName="ResponseTimeout"></throw></scope></onAlarm></eventHandlers><sequence><scope
> name="ReqBAScope"><sequence><assign><copy><from
> variable="request_BTA_3A1_RequestQuote_Var_tmp" part="req"></from><to
> variable="request_BTA_3A1_RequestQuote_Var"
> part="req"></to></copy></assign><scope
> name="RAScope"><faultHandlers><catch
> faultMessageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementExceptionMSG"
> faultVariable="RAE_request_Var_tmp"><sequence><assign><copy><from
> variable="RAE_request_Var_tmp" part="signal"></from><to
> variable="RAE_request_Var" part="signal"></to></copy></assign><reply
> faultName="wsdl:RAException" variable="RAE_request_Var"
> portType="wsdl:SellerPT" operation="drop_BTA_3A1_RequestQuote_Request"
> partnerLink="partner"></reply><throw
> faultName="ResponseReceiptFailure"></throw></sequence></catch></faultHandlers><eventHandlers><onAlarm><for>'PT2H'</for><scope><throw
> faultName="SignalTimeout"></throw></scope></onAlarm></eventHandlers><sequence><invoke
> outputVariable="RA_request_Var_tmp"
> portType="BTA_3A1_RequestQuote_common:BTA_3A1_RequestQuote_PT"
> operation="drop_BTA_3A1_RequestQuote_Request"
> inputVariable="request_BTA_3A1_RequestQuote_Var"
> partnerLink="BTA_3A1_RequestQuoteLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><assign><copy><from
> variable="RA_request_Var_tmp" part="signal"></from><to
> variable="RA_request_Var" part="signal"></to></copy></assign><reply
> variable="RA_request_Var" portType="wsdl:SellerPT"
> operation="drop_BTA_3A1_RequestQuote_Request"
> partnerLink="partner"></reply></sequence></scope></sequence></scope><scope
> name="RespBAScope"><sequence><invoke outputVariable="response_Var_tmp"
> portType="BTA_3A1_RequestQuote_common:BTA_3A1_RequestQuote_PT"
> operation="get_BTA_3A1_RequestQuote_Response"
> inputVariable="request_BTA_3A1_RequestQuote_Var"
> partnerLink="BTA_3A1_RequestQuoteLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><assign><copy><from
> variable="response_Var_tmp" part="resp"></from><to
> variable="response_Var"
> part="resp"></to></copy></assign><sequence><assign><copy><from><literal><BTA_3A1_RequestQuote_common_msg_docs:BooleanValidationType><BTA_3A1_RequestQuote_common_msg_docs:isValid>false</BTA_3A1_RequestQuote_common_msg_docs:isValid></BTA_3A1_RequestQuote_common_msg_docs:BooleanValidationType></literal></from><to
> variable="RAVal_response_Var"
> part="val"></to></copy></assign><assign><copy><from><literal><wsdlDoc:retryCountType><wsdlDoc:retryCount>0</wsdlDoc:retryCount></wsdlDoc:retryCountType></literal></from><to>$retryCount_response_Var</to></copy></assign><scope
> name="RAScope"><eventHandlers><onAlarm><for>'PT2H'</for><scope><throw
> faultName="SignalTimeout"></throw></scope></onAlarm></eventHandlers><while><condition>$RAVal_response_Var.val/BTA_3A1_RequestQuote_common_msg_docs:isValid
> = 'false'</condition><scope
> name="RAScope_Internal"><faultHandlers><catch
> faultMessageType="BTA_3A1_RequestQuote_common_msg:ReceiptAcknowlegdementExceptionMSG"
> faultVariable="RAE_response_Var_tmp"><sequence><assign><copy><from
> variable="RAE_response_Var_tmp" part="signal"></from><to
> variable="RAE_response_Var" part="signal"></to></copy></assign><invoke
> outputVariable="RAVal_response_Var"
> portType="BTA_3A1_RequestQuote_common:BTA_3A1_RequestQuote_PT"
> operation="checkRAESignalValidity" inputVariable="RAE_response_Var"
> partnerLink="BTA_3A1_RequestQuoteLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><if><condition>$RAVal_response_Var.val/BTA_3A1_RequestQuote_common_msg_docs:isValid
> = 'false' and $retryCount_response_Var/wsdlDoc:retryCount =
> 3</condition><throw
> faultName="AnyProtocolFailure"></throw></if><if><condition>$RAVal_response_Var.val/BTA_3A1_RequestQuote_common_msg_docs:isValid
> = 'true'</condition><throw
> faultName="RequestReceiptFailure"></throw></if></sequence></catch><catchAll><if><condition>$retryCount_response_Var/wsdlDoc:retryCount
> =
> 3</condition><rethrow></rethrow></if></catchAll></faultHandlers><sequence><assign><copy><from>$retryCount_response_Var/wsdlDoc:retryCount
> +
> 1</from><to>$retryCount_response_Var/wsdlDoc:retryCount</to></copy></assign><if><condition>$retryCount_response_Var/wsdlDoc:retryCount
> = 4</condition><throw
> faultName="AnyProtocolFailure"></throw></if><invoke
> portType="UseCase_nonRepudiation:nonRepudiationPT"
> operation="save_BTA_3A1_RequestQuote_Response_BD"
> inputVariable="response_Var"
> partnerLink="UseCase_nonRepudiationLink"></invoke><invoke
> outputVariable="RA_response_Var_tmp" portType="wsdl:BuyerPT"
> operation="deliver_BTA_3A1_RequestQuote_Response"
> inputVariable="response_Var"
> partnerLink="partner"><correlations><correlation initiate="no"
> set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><assign><copy><from
> variable="RA_response_Var_tmp" part="signal"></from><to
> variable="RA_response_Var" part="signal"></to></copy></assign><invoke
> outputVariable="RAVal_response_Var"
> portType="BTA_3A1_RequestQuote_common:BTA_3A1_RequestQuote_PT"
> operation="checkRASignalValidity" inputVariable="RA_response_Var"
> partnerLink="BTA_3A1_RequestQuoteLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke></sequence></scope></while></scope></sequence></sequence></scope><invoke
> outputVariable="cgv_state"
> portType="BTA_3A1_RequestQuote_common:BTA_3A1_RequestQuote_PT"
> operation="computeBusinessState" inputVariable="response_Var"
> partnerLink="BTA_3A1_RequestQuoteLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><if><condition>$cgv_state.val/BTA_3A1_RequestQuote_common_msg_docs:isValid
> = 'false'</condition><throw
> faultName="BusinessFailure"></throw></if><if><condition>$cgv_state.val/BTA_3A1_RequestQuote_common_msg_docs:isValid
> =
> 'true'</condition><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_before_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></if></sequence></scope></scope></onMessage></pick></sequence></while></scope></if><if><condition>$processState_internal
> =
> 'empty_before_AcceptableQuote'</condition><assign><copy><from><literal><wsdlDoc:state_InternalType>fork_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></if><if><condition>$processState_internal
> = 'fork_AcceptableQuote'</condition><scope
> name="AcceptableQuote_Scope"><variables><variable
> name="request_BTA_3A4_RequestPurchaseOrder_Var_tmp"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:BTA_3A4_RequestPurchaseOrder_Request_MSG"></variable><variable
> name="request_BTA_3A10_StopOrderProcess_Var_tmp"
> messageType="BTA_3A10_StopOrderProcess_common_msg:BTA_3A10_StopOrderProcess_Request_MSG"></variable><variable
> name="request_BTA_3A5_QueryOrderStatusInContract_Var_tmp"
> messageType="BTA_3A5_QueryOrderStatusInContract_common_msg:BTA_3A5_QueryOrderStatusInContract_Request_MSG"></variable></variables><while><condition>$processState_internal
> != 'empty_before_FAILURE' and $processState_internal !=
> 'empty_before_SUCCESS'</condition><sequence><assign><copy><from><literal><state_msg_doc:stateType>AcceptableQuote</state_msg_doc:stateType></literal></from><to>$processState_external.state</to></copy></assign><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><pick><onMessage
> variable="request_BTA_3A10_StopOrderProcess_Var_tmp"
> portType="wsdl:SellerPT"
> operation="drop_BTA_3A10_StopOrderProcess_Request"
> partnerLink="partner"><correlations><correlation initiate="no"
> set="collaboration"></correlation></correlations><scope
> name="BTA_3A10_StopOrderProcess_Scope"><variables><variable
> name="request_BTA_3A10_StopOrderProcess_Var"
> messageType="BTA_3A10_StopOrderProcess_common_msg:BTA_3A10_StopOrderProcess_Request_MSG"></variable><variable
> name="RA_request_Var"
> messageType="BTA_3A10_StopOrderProcess_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_request_Var"
> messageType="BTA_3A10_StopOrderProcess_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="RA_request_Var_tmp"
> messageType="BTA_3A10_StopOrderProcess_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_request_Var_tmp"
> messageType="BTA_3A10_StopOrderProcess_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="cgv_state"
> messageType="BTA_3A10_StopOrderProcess_common_msg:ValidationMSG"></variable></variables><faultHandlers><catch
> faultName="RequestReceiptFailure"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catch
> faultName="BusinessFailure"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_before_FAILURE</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catch
> faultName="AnyProtocolFailure"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catch
> faultName="SignalTimout"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catchAll><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catchAll></faultHandlers><scope
> name="BTA_3A10_StopOrderProcess_Timeout"><eventHandlers><onAlarm><for>'PT24H'</for><scope><throw
> faultName="ResponseTimeout"></throw></scope></onAlarm></eventHandlers><sequence><scope
> name="ReqBAScope"><sequence><assign><copy><from
> variable="request_BTA_3A10_StopOrderProcess_Var_tmp"
> part="req"></from><to variable="request_BTA_3A10_StopOrderProcess_Var"
> part="req"></to></copy></assign><scope
> name="RAScope"><faultHandlers><catch
> faultMessageType="BTA_3A10_StopOrderProcess_common_msg:ReceiptAcknowlegdementExceptionMSG"
> faultVariable="RAE_request_Var_tmp"><sequence><assign><copy><from
> variable="RAE_request_Var_tmp" part="signal"></from><to
> variable="RAE_request_Var" part="signal"></to></copy></assign><reply
> faultName="wsdl:RAException" variable="RAE_request_Var"
> portType="wsdl:SellerPT"
> operation="drop_BTA_3A10_StopOrderProcess_Request"
> partnerLink="partner"></reply><throw
> faultName="ResponseReceiptFailure"></throw></sequence></catch></faultHandlers><eventHandlers><onAlarm><for>'PT2H'</for><scope><throw
> faultName="SignalTimeout"></throw></scope></onAlarm></eventHandlers><sequence><invoke
> outputVariable="RA_request_Var_tmp"
> portType="BTA_3A10_StopOrderProcess_common:BTA_3A10_StopOrderProcess_PT"
> operation="drop_BTA_3A10_StopOrderProcess_Request"
> inputVariable="request_BTA_3A10_StopOrderProcess_Var"
> partnerLink="BTA_3A10_StopOrderProcessLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><assign><copy><from
> variable="RA_request_Var_tmp" part="signal"></from><to
> variable="RA_request_Var" part="signal"></to></copy></assign><reply
> variable="RA_request_Var" portType="wsdl:SellerPT"
> operation="drop_BTA_3A10_StopOrderProcess_Request"
> partnerLink="partner"></reply></sequence></scope></sequence></scope><invoke
> outputVariable="cgv_state"
> portType="BTA_3A10_StopOrderProcess_common:BTA_3A10_StopOrderProcess_PT"
> operation="computeBusinessState"
> inputVariable="request_BTA_3A10_StopOrderProcess_Var"
> partnerLink="BTA_3A10_StopOrderProcessLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><if><condition>$cgv_state.val/BTA_3A10_StopOrderProcess_common_msg_docs:isValid
> = 'false'</condition><throw
> faultName="BusinessFailure"></throw></if><if><condition>$cgv_state.val/BTA_3A10_StopOrderProcess_common_msg_docs:isValid
> =
> 'true'</condition><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_before_FAILURE</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></if></sequence></scope></scope></onMessage><onMessage
> variable="request_BTA_3A5_QueryOrderStatusInContract_Var_tmp"
> portType="wsdl:SellerPT"
> operation="drop_BTA_3A5_QueryOrderStatusInContract_Request"
> partnerLink="partner"><correlations><correlation initiate="no"
> set="collaboration"></correlation></correlations><scope
> name="BTA_3A5_QueryOrderStatusInContract_Scope"><variables><variable
> name="request_BTA_3A5_QueryOrderStatusInContract_Var"
> messageType="BTA_3A5_QueryOrderStatusInContract_common_msg:BTA_3A5_QueryOrderStatusInContract_Request_MSG"></variable><variable
> name="response_Var"
> messageType="BTA_3A5_QueryOrderStatusInContract_common_msg:BTA_3A5_QueryOrderStatusInContract_Response_MSG"></variable><variable
> name="response_Var_tmp"
> messageType="BTA_3A5_QueryOrderStatusInContract_common_msg:BTA_3A5_QueryOrderStatusInContract_Response_MSG"></variable><variable
> element="wsdlDoc:retryCountType"
> name="retryCount_response_Var"></variable></variables><faultHandlers><catch
> faultName="AnyProtocolFailure"><empty></empty></catch><catch
> faultName="SignalTimout"><empty></empty></catch><catch
> faultName="ResponseTimeout"><empty></empty></catch><catchAll><empty></empty></catchAll></faultHandlers><scope
> name="BTA_3A5_QueryOrderStatusInContract_Timeout"><eventHandlers><onAlarm><for>'PT4H'</for><scope><throw
> faultName="ResponseTimeout"></throw></scope></onAlarm></eventHandlers><sequence><scope
> name="ReqBAScope"><sequence><assign><copy><from
> variable="request_BTA_3A5_QueryOrderStatusInContract_Var_tmp"
> part="req"></from><to
> variable="request_BTA_3A5_QueryOrderStatusInContract_Var"
> part="req"></to></copy></assign><assign><copy><from
> variable="request_BTA_3A5_QueryOrderStatusInContract_Var_tmp"
> part="req"></from><to
> variable="request_BTA_3A5_QueryOrderStatusInContract_Var"
> part="req"></to></copy></assign><invoke
> portType="BTA_3A5_QueryOrderStatusInContract_common:BTA_3A5_QueryOrderStatusInContract_PT"
> operation="drop_BTA_3A5_QueryOrderStatusInContract_Request"
> inputVariable="request_BTA_3A5_QueryOrderStatusInContract_Var"
> partnerLink="BTA_3A5_QueryOrderStatusInContractLink"><correlations><correlation
> initiate="no"
> set="collaboration"></correlation></correlations></invoke></sequence></scope><scope
> name="RespBAScope"><sequence><invoke outputVariable="response_Var_tmp"
> portType="BTA_3A5_QueryOrderStatusInContract_common:BTA_3A5_QueryOrderStatusInContract_PT"
> operation="get_BTA_3A5_QueryOrderStatusInContract_Response"
> inputVariable="request_BTA_3A5_QueryOrderStatusInContract_Var"
> partnerLink="BTA_3A5_QueryOrderStatusInContractLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><assign><copy><from
> variable="response_Var_tmp" part="resp"></from><to
> variable="response_Var"
> part="resp"></to></copy></assign><sequence><invoke
> portType="wsdl:BuyerPT"
> operation="deliver_BTA_3A5_QueryOrderStatusInContract_Response"
> inputVariable="response_Var"
> partnerLink="partner"><correlations><correlation initiate="no"
> set="collaboration"></correlation></correlations></invoke></sequence></sequence></scope><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></sequence></scope></scope></onMessage><onMessage
> variable="request_BTA_3A4_RequestPurchaseOrder_Var_tmp"
> portType="wsdl:SellerPT"
> operation="drop_BTA_3A4_RequestPurchaseOrder_Request"
> partnerLink="partner"><correlations><correlation initiate="no"
> set="collaboration"></correlation></correlations><scope
> name="BTA_3A4_RequestPurchaseOrder_Scope"><variables><variable
> name="request_BTA_3A4_RequestPurchaseOrder_Var"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:BTA_3A4_RequestPurchaseOrder_Request_MSG"></variable><variable
> name="RA_request_Var"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_request_Var"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="RA_request_Var_tmp"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_request_Var_tmp"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="response_Var"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:BTA_3A4_RequestPurchaseOrder_Response_MSG"></variable><variable
> name="response_Var_tmp"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:BTA_3A4_RequestPurchaseOrder_Response_MSG"></variable><variable
> name="RA_response_Var"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_response_Var"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="RA_response_Var_tmp"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementMSG"></variable><variable
> name="RAE_response_Var_tmp"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementExceptionMSG"></variable><variable
> name="RAVal_response_Var"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ValidationMSG"></variable><variable
> element="wsdlDoc:retryCountType"
> name="retryCount_response_Var"></variable><variable name="de_state"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:documentEnvelopeDecisionMSG"></variable><variable
> name="cgv_state"
> messageType="BTA_3A4_RequestPurchaseOrder_common_msg:ValidationMSG"></variable></variables><faultHandlers><catch
> faultName="RequestReceiptFailure"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catch
> faultName="ResponseReceiptFailure"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catch
> faultName="BusinessFailure"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catch
> faultName="AnyProtocolFailure"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catch
> faultName="SignalTimout"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catch
> faultName="ResponseTimeout"><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catch><catchAll><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_in_AcceptableQuote</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></catchAll></faultHandlers><scope
> name="BTA_3A4_RequestPurchaseOrder_Timeout"><eventHandlers><onAlarm><for>'PT24H'</for><scope><throw
> faultName="ResponseTimeout"></throw></scope></onAlarm></eventHandlers><sequence><scope
> name="ReqBAScope"><sequence><assign><copy><from
> variable="request_BTA_3A4_RequestPurchaseOrder_Var_tmp"
> part="req"></from><to
> variable="request_BTA_3A4_RequestPurchaseOrder_Var"
> part="req"></to></copy></assign><scope
> name="RAScope"><faultHandlers><catch
> faultMessageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementExceptionMSG"
> faultVariable="RAE_request_Var_tmp"><sequence><assign><copy><from
> variable="RAE_request_Var_tmp" part="signal"></from><to
> variable="RAE_request_Var" part="signal"></to></copy></assign><reply
> faultName="wsdl:RAException" variable="RAE_request_Var"
> portType="wsdl:SellerPT"
> operation="drop_BTA_3A4_RequestPurchaseOrder_Request"
> partnerLink="partner"></reply><throw
> faultName="ResponseReceiptFailure"></throw></sequence></catch></faultHandlers><eventHandlers><onAlarm><for>'PT2H'</for><scope><throw
> faultName="SignalTimeout"></throw></scope></onAlarm></eventHandlers><sequence><invoke
> outputVariable="RA_request_Var_tmp"
> portType="BTA_3A4_RequestPurchaseOrder_common:BTA_3A4_RequestPurchaseOrder_PT"
> operation="drop_BTA_3A4_RequestPurchaseOrder_Request"
> inputVariable="request_BTA_3A4_RequestPurchaseOrder_Var"
> partnerLink="BTA_3A4_RequestPurchaseOrderLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><assign><copy><from
> variable="RA_request_Var_tmp" part="signal"></from><to
> variable="RA_request_Var" part="signal"></to></copy></assign><reply
> variable="RA_request_Var" portType="wsdl:SellerPT"
> operation="drop_BTA_3A4_RequestPurchaseOrder_Request"
> partnerLink="partner"></reply></sequence></scope></sequence></scope><scope
> name="RespBAScope"><sequence><invoke outputVariable="response_Var_tmp"
> portType="BTA_3A4_RequestPurchaseOrder_common:BTA_3A4_RequestPurchaseOrder_PT"
> operation="get_BTA_3A4_RequestPurchaseOrder_Response"
> inputVariable="request_BTA_3A4_RequestPurchaseOrder_Var"
> partnerLink="BTA_3A4_RequestPurchaseOrderLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><assign><copy><from
> variable="response_Var_tmp" part="resp"></from><to
> variable="response_Var"
> part="resp"></to></copy></assign><sequence><assign><copy><from><literal><BTA_3A4_RequestPurchaseOrder_common_msg_docs:BooleanValidationType><BTA_3A4_RequestPurchaseOrder_common_msg_docs:isValid>false</BTA_3A4_RequestPurchaseOrder_common_msg_docs:isValid></BTA_3A4_RequestPurchaseOrder_common_msg_docs:BooleanValidationType></literal></from><to
> variable="RAVal_response_Var"
> part="val"></to></copy></assign><assign><copy><from><literal><wsdlDoc:retryCountType><wsdlDoc:retryCount>0</wsdlDoc:retryCount></wsdlDoc:retryCountType></literal></from><to>$retryCount_response_Var</to></copy></assign><scope
> name="RAScope"><eventHandlers><onAlarm><for>'PT2H'</for><scope><throw
> faultName="SignalTimeout"></throw></scope></onAlarm></eventHandlers><while><condition>$RAVal_response_Var.val/BTA_3A4_RequestPurchaseOrder_common_msg_docs:isValid
> = 'false'</condition><scope
> name="RAScope_Internal"><faultHandlers><catch
> faultMessageType="BTA_3A4_RequestPurchaseOrder_common_msg:ReceiptAcknowlegdementExceptionMSG"
> faultVariable="RAE_response_Var_tmp"><sequence><assign><copy><from
> variable="RAE_response_Var_tmp" part="signal"></from><to
> variable="RAE_response_Var" part="signal"></to></copy></assign><invoke
> outputVariable="RAVal_response_Var"
> portType="BTA_3A4_RequestPurchaseOrder_common:BTA_3A4_RequestPurchaseOrder_PT"
> operation="checkRAESignalValidity" inputVariable="RAE_response_Var"
> partnerLink="BTA_3A4_RequestPurchaseOrderLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><if><condition>$RAVal_response_Var.val/BTA_3A4_RequestPurchaseOrder_common_msg_docs:isValid
> = 'false' and $retryCount_response_Var/wsdlDoc:retryCount =
> 3</condition><throw
> faultName="AnyProtocolFailure"></throw></if><if><condition>$RAVal_response_Var.val/BTA_3A4_RequestPurchaseOrder_common_msg_docs:isValid
> = 'true'</condition><throw
> faultName="RequestReceiptFailure"></throw></if></sequence></catch><catchAll><if><condition>$retryCount_response_Var/wsdlDoc:retryCount
> =
> 3</condition><rethrow></rethrow></if></catchAll></faultHandlers><sequence><assign><copy><from>$retryCount_response_Var/wsdlDoc:retryCount
> +
> 1</from><to>$retryCount_response_Var/wsdlDoc:retryCount</to></copy></assign><if><condition>$retryCount_response_Var/wsdlDoc:retryCount
> = 4</condition><throw
> faultName="AnyProtocolFailure"></throw></if><invoke
> portType="UseCase_nonRepudiation:nonRepudiationPT"
> operation="save_BTA_3A4_RequestPurchaseOrder_Response_BD"
> inputVariable="response_Var"
> partnerLink="UseCase_nonRepudiationLink"></invoke><invoke
> outputVariable="RA_response_Var_tmp" portType="wsdl:BuyerPT"
> operation="deliver_BTA_3A4_RequestPurchaseOrder_Response"
> inputVariable="response_Var"
> partnerLink="partner"><correlations><correlation initiate="no"
> set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><assign><copy><from
> variable="RA_response_Var_tmp" part="signal"></from><to
> variable="RA_response_Var" part="signal"></to></copy></assign><invoke
> outputVariable="RAVal_response_Var"
> portType="BTA_3A4_RequestPurchaseOrder_common:BTA_3A4_RequestPurchaseOrder_PT"
> operation="checkRASignalValidity" inputVariable="RA_response_Var"
> partnerLink="BTA_3A4_RequestPurchaseOrderLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke></sequence></scope></while></scope></sequence></sequence></scope><invoke
> outputVariable="cgv_state"
> portType="BTA_3A4_RequestPurchaseOrder_common:BTA_3A4_RequestPurchaseOrder_PT"
> operation="computeBusinessState" inputVariable="response_Var"
> partnerLink="BTA_3A4_RequestPurchaseOrderLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><if><condition>$cgv_state.val/BTA_3A4_RequestPurchaseOrder_common_msg_docs:isValid
> = 'false'</condition><throw
> faultName="BusinessFailure"></throw></if><invoke
> outputVariable="de_state"
> portType="BTA_3A4_RequestPurchaseOrder_common:BTA_3A4_RequestPurchaseOrder_PT"
> operation="getDocumentEnvelopeValue" inputVariable="response_Var"
> partnerLink="BTA_3A4_RequestPurchaseOrderLink"><correlations><correlation
> initiate="no" set="collaboration"
> pattern="request-response"></correlation></correlations></invoke><if><condition>$de_state.deDec/BTA_3A4_RequestPurchaseOrder_common_msg_docs:documentEnvelopeDecision
> =
> 'DE_3A4_Accepted'</condition><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_before_SUCCESS</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></if><if><condition>$de_state.deDec/BTA_3A4_RequestPurchaseOrder_common_msg_docs:documentEnvelopeDecision
> =
> 'DE_3A4_Pending'</condition><assign><copy><from><literal><wsdlDoc:state_InternalType>empty_before_FAILURE</wsdlDoc:state_InternalType></literal></from><to>$processState_internal</to></copy></assign></if></sequence></scope></scope></onMessage></pick></sequence></while></scope></if><if><condition>$processState_internal
> =
> 'empty_before_FAILURE'</condition><sequence><assign><copy><from><literal><state_msg_doc:stateType>Collaboration_FAILURE</state_msg_doc:stateType></literal></from><to>$processState_external.state</to></copy></assign><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><exit></exit></sequence></if><if><condition>$processState_internal
> =
> 'empty_before_SUCCESS'</condition><sequence><assign><copy><from><literal><state_msg_doc:stateType>Collaboration_SUCCESS</state_msg_doc:stateType></literal></from><to>$processState_external.state</to></copy></assign><invoke
> portType="UseCaseState:stateReceiverPT" operation="dropProcessState"
> inputVariable="processState_external"
> partnerLink="UseCaseState"></invoke><exit></exit></sequence></if></sequence></while></sequence></scope></process>
> 
> Matthieu Riou schrieb:
>> On Mon, Sep 1, 2008 at 5:13 AM, "Christoph M. Pflügler" <
>> christoph.pfluegler@heigl-service.de> wrote:
> 
>> Update:
> 
>> The error also occurs when using implicit (automatic) correlation. If I
>> would really miss a reply on a request/response interaction as the log
>> suggests, the error would have to happen during the first while
>> iteration as well, correct?
> 
> 
>>> Normally yes but it mostly depends on your process. Could you post your BPEL
>>> process?
>>> Thanks,
>>> Matthieu
> 
>> Please help!
> 
>> Regards,
>> Christoph
> 
>> Christoph M. Pflügler schrieb:
>>>>> Hi,
>>>>>
>>>>> I have the following problem:
>>>>>
>>>>> I get the error message below when running through a while containing a
>>>>> pick (and in a corresponding onMessage another receive). I'm using
>>>>> explicit correlation.
>>>>> In the first run of the while loop everything happens as expected. In
>>>>> the second one, I get the error below. It seems that ODE saved the
>>>>> message of the first run, detects the "duplicate" in the second run  and
>>>>> therefore prevents me from executing this (second) while loop run
>>>>> (because it supposes that my message exchange is in an inconsistent
>>>>> state). Is that correct?
>>>>>
>>>>> If so, is there a possibility to disable this feature?
>>>>>
>>>>> Does anybody have an idea about that or what could be done to avoid this
>>>>> problem?
>>>>>
>>>>> Any help is appreciated!
>>>>>
>>>>> Thanks,
>>>>> Christoph
>>>>>
>>>>> Matcher event for iid 3677
>>>>> 2008-08-31 22:00:15,366 :: DEBUG - GeronimoLog.debug(66) | MatcherEvent
>>>>> handling:
>>>>>
>>>>> correlatorId=114.deliver_BTA_3A4_RequestPurchaseOrder_Response,
>>>>> ckey={CorrelationKey setId=107, values=[39]}
>>>>>
>>>>> 2008-08-31 22:00:15,376 :: DEBUG - GeronimoLog.debug(66) | MatcherEvent
>>>>> handling: found matching message in DB (i.e. message arrived before
>>>>> <receive>)
>>>>>
>>>>> 2008-08-31 22:00:15,377 :: DEBUG - GeronimoLog.debug(66) | SELECT: 703:
>>>>> matched to MESSAGE org.apache.ode.dao.jpa.MessageExchangeDAOImpl@a888d
>>>>> on CKEY {CorrelationKey setId=107, values=[39]}
>>>>>
>>>>> 2008-08-31 22:00:15,378 :: FATAL - GeronimoLog.fatal(116) | Engine
>>>>> requested response while the message exchange hqejbhcnphr3k0vanale3r was
>>>>> in the state RESPONSE
>>>>>
>>>>> 2008-08-31 22:00:15,378 :: ERROR - GeronimoLog.error(104) | The message
>>>>> exchange seems to be in an unconsistent state, you're probably missing a
>>>>> reply on a request/response interaction.
>>>>>
>>>>> 2008-08-31 22:00:15,379 :: DEBUG - GeronimoLog.debug(66) | initializing
>>>>> partner {PartnerLinkInstance
>>>>> partnerLinkDecl=OPartnerLink#114,scopeInstanceId=20507}  sessionId to
>>>>> hqejbhcnphr3k0vanale08
>>>>>
>>>>> 2008-08-31 22:00:15,380 :: INFO - GeronimoLog.info(79) |
>>>>> ActivityRecovery: Registering activity 390, failure reason:
>>>>> org.apache.ode.bpel.iapi.BpelEngineException: Engine requested response
>>>>> while the message exchange
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIy79t0Do4wUHmzBsRAjcBAJ4pQybpnbZGXSy66CQBeKBemcH5VACfciwk
tx66Gqi0JH+8oRwrehHzX/Y=
=dYaD
-----END PGP SIGNATURE-----

Mime
View raw message