scope
Element information
Namespace: http://docs.oasis-open.org/wsbpel/2.0/process/executable
Schema document: ws-bpel_executable.xsd
Type: tScope
Properties: Global, Qualified
Content
- Sequence [1..1]
- documentation [0..*]
- Any element [0..*] Namespace: ##other, Process Contents: lax
- partnerLinks [0..1]
- messageExchanges [0..1]
- variables [0..1]
- correlationSets [0..1]
- faultHandlers [0..1]
- compensationHandler [0..1] This element can contain all activities including the activities compensate and compensateScope.
- terminationHandler [0..1] This element can contain all activities including the activities compensate and compensateScope.
- eventHandlers [0..1]
from type tExtensibleElements
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
Any attribute | [0..*] | Namespace: ##other, Process Contents: lax | from type tExtensibleElements | |
name | [0..1] | xsd:NCName | from type tActivity | |
suppressJoinFailure | [0..1] | tBoolean | from type tActivity | |
isolated | [0..1] | tBoolean | Default value is "no". | |
exitOnStandardFault | [0..1] | tBoolean |
Used in
- Group activity
- Type tForEach (Element forEach)
- Type tOnAlarmEvent (Element onAlarm)
- Type tOnEvent (Element onEvent)
- Type tCatch via reference to activity (Element catch)
- Type tElseif via reference to activity (Element elseif)
- Type tFlow via reference to activity (Element flow)
- Type tIf via reference to activity (Element if)
- Type tOnAlarmPick via reference to activity (Element onAlarm)
- Type tOnMessage via reference to activity (Element onMessage)
- Type tProcess via reference to activity (Element process)
- Type tRepeatUntil via reference to activity (Element repeatUntil)
- Type tScope via reference to activity (Element scope)
- Type tSequence via reference to activity (Element sequence)
- Type tWhile via reference to activity (Element while)
- Type tActivityContainer via reference to activity (Elements catchAll, else, compensationHandler, terminationHandler)
Sample instance
<scope name="purchase" suppressJoinFailure="yes"> <targets> <target linkName="linkA"/> </targets> <sources> <source linkName="linkB"/> </sources> <faultHandlers> <catch faultName="SP:rejectPO">...</catch> </faultHandlers> <compensationHandler> <invoke partnerLink="Seller" portType="SP:Purchasing" operation="CancelPurchase" inputVariable="getResponse" outputVariable="getConfirmation"/> </compensationHandler> <invoke name="purchase" partnerLink="Seller" portType="SP:Purchasing" operation="Purchase" inputVariable="sendPO" outputVariable="getResponse"/> </scope>